22 #ifndef NBNodeShapeComputer_h
23 #define NBNodeShapeComputer_h
96 std::map<NBEdge*, PositionVector>& geomsCCW,
97 std::map<NBEdge*, PositionVector>& geomsCW);
107 const std::map<NBEdge*, EdgeVector >& same,
108 std::map<NBEdge*, PositionVector>& geomsCCW,
109 std::map<NBEdge*, PositionVector>& geomsCW,
110 std::map<NBEdge*, NBEdge*>& ccwBoundary,
111 std::map<NBEdge*, NBEdge*>& cwBoundary);
PositionVector computeContinuationNodeShape(bool simpleContinuation)
NBNodeShapeComputer & operator=(const NBNodeShapeComputer &s)
Invalidated assignment operator.
This class computes shapes of junctions.
The representation of a single edge during network building.
const NBNode & myNode
The node to compute the geometry for.
NBNodeShapeComputer(const NBNode &node)
Constructor.
void replaceLastChecking(PositionVector &g, bool decenter, PositionVector counter, size_t counterLanes, SUMOReal counterDist, int laneDiff)
PositionVector compute(bool leftHand)
Computes the shape of the assigned junction.
void replaceFirstChecking(PositionVector &g, bool decenter, PositionVector counter, size_t counterLanes, SUMOReal counterDist, int laneDiff)
void joinSameDirectionEdges(std::map< NBEdge *, EdgeVector > &same, std::map< NBEdge *, PositionVector > &geomsCCW, std::map< NBEdge *, PositionVector > &geomsCW)
Joins edges and computes ccw/cw boundaries.
~NBNodeShapeComputer()
Destructor.
PositionVector computeNodeShapeByCrosses()
Computes the node geometry using normals.
std::vector< NBEdge * > EdgeVector
Represents a single node (junction) during network building.
EdgeVector computeUniqueDirectionList(const std::map< NBEdge *, EdgeVector > &same, std::map< NBEdge *, PositionVector > &geomsCCW, std::map< NBEdge *, PositionVector > &geomsCW, std::map< NBEdge *, NBEdge * > &ccwBoundary, std::map< NBEdge *, NBEdge * > &cwBoundary)
Joins edges and computes ccw/cw boundaries.