Hello All,
I was trying to model the left turn pocket. And I use NBEdgeCont::splitAt()
function to split an edge near the junction/intersection:
myTestEdgeCont.splitAt(dc, MyTestEdge,
distance_to_split_from_usn, n3, "e_first_"+std::to_string(edge_id),
"e_second_"+std::to_string(edge_id), 3, 4, -1, 1);
I specified 1 lane that is added on the left side of the edge (changedLeft =
1), but as shown in the "LeftTurnPocket.PNG" picture, the lane added is still
on the right side of the edge.
Am I doing anything wrong? Would you please let me know how I can get the left
turn pocket as shown in the "LeftTurnPocketDesired.PNG" picture?
Thanks,
Yifeng
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
sumo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-devel