Mostly, yes. However, edges with the same angle are grouped and thus there may be less points in the shape vector. Note, that you can declare custom node shapes and freely define them in Netedit: ( http://sumo.dlr.de/wiki/Networks/Building_Networks_from_own_XML-descriptions#Node_Descriptions, attribute shape) http://sumo.dlr.de/wiki/NETEDIT#Junction
regards, Jakob 2016-04-16 2:26 GMT+02:00 Yifeng Zeng <[email protected]>: > Hi All, > I'm new to the SUMO and have a question about the Junction shape vector. > Is it always true that the junction shape vector information myPoly[] > always corresponds to the myAllEdges[] information, in the clockwise order? > E.g. I have a 4-leg intersection attached. > gneJ6 has myPoly[]: > + [0] {myX=27.776691366879319 myY=64.815683253696932 > myZ=0.00000000000000000 } Position+ [1] > {myX=27.881282924069154 myY=58.316524800007372 myZ=0.00000000000000000 } > Position+ [2] {myX=26.396169209436358 > myY=56.792460240963649 myZ=0.00000000000000000 } Position+ > [3] {myX=19.896481010770131 myY=56.728794550682863 > myZ=0.00000000000000000 } Position+ [4] > {myX=17.817629875222266 myY=58.462324909907935 myZ=0.00000000000000000 } > Position+ [5] {myX=18.094585931508277 > myY=64.956421871217216 myZ=0.00000000000000000 } Position+ > [6] {myX=19.484118555429102 myY=66.388535696013193 > myZ=0.00000000000000000 } Position+ [7] > {myX=25.966901185831048 myY=66.861324620332340 myZ=0.00000000000000000 } > Position > And gneJ6 has myAllEdges[]:[0] Named {myID="gneE6" }[1] > Named {myID="gneE7" }[2] Named {myID="gneE9" }[3] > Named {myID="gneE8" }[4] Named {myID="gneE4" > }[5] Named {myID="gneE5" }[6] Named > {myID="gneE11" }[7] Named {myID="gneE10" } > Is it always true that myPoly[0] maps to myAllEdges[0] and goes clockwise, > at last myPoly[7] maps to myAllEdges[7]? > Sorry for my poor English and cheers. > Thanks, > Zeng > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > sumo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-devel > > ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ sumo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-devel
