44 #ifdef CHECK_MEMORY_LEAKS
46 #endif // CHECK_MEMORY_LEAKS
66 angle2 = (360 - angle2) * -1;
68 while (angle2 < -180) {
69 angle2 = 360 + angle2;
88 std::stringstream strm1(
id);
91 std::stringstream strm2;
static SUMOReal normRelAngle(SUMOReal angle1, SUMOReal angle2)
ensure that reverse relAngles (>=179.999) always count as turnarounds (-180)
SUMOReal distanceTo(const Position &p2) const
returns the euclidean distance in 3 dimension
static std::string normalIDRepresentation(const std::string &id)
const Position & getPosition() const
Returns the position of this node.
static SUMOReal angle(SUMOReal x1, SUMOReal y1, SUMOReal x2, SUMOReal y2)
Represents a single node (junction) during network building.
static SUMOReal relAngle(SUMOReal angle1, SUMOReal angle2)
static SUMOReal distance(NBNode *node1, NBNode *node2)