|
SUMO - Simulation of Urban MObility
|
#include <config.h>#include <cmath>#include "Position.h"#include "PositionVector.h"#include <utils/common/UtilExceptions.h>
Go to the source code of this file.
Data Structures | |
| class | GeomHelper |
| Some static methods performing geometrical operations. More... | |
Macros | |
| #define | DEG2RAD(x) static_cast<SUMOReal>((x) * M_PI / 180.) |
| #define | M_PI 3.1415926535897932384626433832795 |
| #define | RAD2DEG(x) static_cast<SUMOReal>((x) * 180. / M_PI) |
Definition in file GeomHelper.h.
Definition at line 45 of file GeomHelper.h.
Referenced by NBEdge::checkGeometry(), NBNetBuilder::compute(), NBNodeShapeComputer::computeNodeShapeDefault(), NBEdge::cutAtIntersection(), NIVissimEdge::dict_checkEdges2Join(), GLHelper::drawFilledCircle(), GLHelper::drawOutlineCircle(), NGFrame::fillOptions(), MSVehicle::getAngle(), NIVissimConnectionCluster::isWeakDistrictConnRealisation(), NBNodeShapeComputer::joinSameDirectionEdges(), MSCFModel_KraussPS::maxNextSpeed(), and GeoConvHelper::x2cartesian_const().
| #define M_PI 3.1415926535897932384626433832795 |
Definition at line 42 of file GeomHelper.h.
Definition at line 46 of file GeomHelper.h.
Referenced by NBEdge::checkGeometry(), GUIPerson::drawAction_drawAsImage(), GUIContainer::drawAction_drawAsPoly(), GUIPerson::drawAction_drawAsTriangle(), GUILane::drawArrows(), GLHelper::drawBoxLines(), GUIBaseVehicle::drawGL(), GUILane::drawLinkRule(), GUILane::drawTextAtEnd(), GUILane::GUILane(), GeomHelper::legacyDegree(), TrajectoriesHandler::myStartElement(), GeomHelper::naviDegree(), and PositionVector::slopeDegreeAtOffset().