43 #ifdef CHECK_MEMORY_LEAKS
45 #endif // CHECK_MEMORY_LEAKS
65 angle2 = (360 - angle2) * -1;
67 while (angle2 < -180) {
68 angle2 = 360 + angle2;
87 std::stringstream strm1(
id);
90 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)