Examine the principles of traffic engineering and their application in urban transportation planning. How do civil engineers analyze traffic flow patterns, optimize road networks, and enhance traffic safety and efficiency through the use of modeling techniques and intelligent transportation systems?