![]() |
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 NBNode::bezierControlPoints(), NBEdge::checkGeometry(), NBNetBuilder::compute(), MSVehicle::computeAngle(), NBNodeShapeComputer::computeNodeShapeDefault(), NBEdge::cutAtIntersection(), NIVissimEdge::dict_checkEdges2Join(), GLHelper::drawFilledCircle(), GLHelper::drawOutlineCircle(), NGFrame::fillOptions(), NIVissimConnectionCluster::isWeakDistrictConnRealisation(), NBNodeShapeComputer::joinSameDirectionEdges(), MSCFModel_KraussPS::maxNextSpeed(), MSVehicle::Influencer::postProcessVTD(), NWWriter_OpenDrive::writeGeomSmooth(), 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 NBNode::bezierControlPoints(), NBEdge::checkGeometry(), GUIPerson::drawAction_drawAsImage(), GUIContainer::drawAction_drawAsPoly(), GUIPerson::drawAction_drawAsTriangle(), GUILane::drawArrows(), GLHelper::drawBoxLines(), GUIBusStop::drawGL(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUILane::drawTextAtEnd(), GUILane::GUILane(), GeomHelper::legacyDegree(), TrajectoriesHandler::myStartElement(), GeomHelper::naviDegree(), PositionVector::slopeDegreeAtOffset(), and NWWriter_OpenDrive::writeGeomSmooth().