From: Yifeng Z. <ze...@li...> - 2016-06-20 16:33:17
|
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 |