![]() |
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<double>((x) * M_PI / 180.) |
#define | M_PI 3.1415926535897932384626433832795 |
#define | RAD2DEG(x) static_cast<double>((x) * 180. / M_PI) |
#define DEG2RAD | ( | x | ) | static_cast<double>((x) * M_PI / 180.) |
Definition at line 44 of file GeomHelper.h.
Referenced by GeoConvHelper::cartesian2geo(), NBEdge::checkGeometry(), HelpersEnergy::compute(), NBNetBuilder::compute(), MSVehicle::computeAngle(), NBNodeShapeComputer::computeNodeShapeDefault(), NBEdge::cutAtIntersection(), NIVissimEdge::dict_checkEdges2Join(), GLHelper::drawFilledCircle(), GLHelper::drawOutlineCircle(), NGFrame::fillOptions(), GeomHelper::fromNaviDegree(), PositionVector::getOrthogonal(), NBNode::hasCustomShape(), NIVissimConnectionCluster::isWeakDistrictConnRealisation(), NBNodeShapeComputer::joinSameDirectionEdges(), MSCFModel_Rail::maxNextSpeed(), MSCFModel_KraussPS::maxNextSpeed(), MSCFModel_Rail::minNextSpeed(), MSVehicle::Influencer::postProcessRemoteControl(), GNEEdge::smoothShape(), NWWriter_OpenDrive::writeNetwork(), and GeoConvHelper::x2cartesian_const().
#define M_PI 3.1415926535897932384626433832795 |
Definition at line 41 of file GeomHelper.h.
#define RAD2DEG | ( | x | ) | static_cast<double>((x) * 180. / M_PI) |
Definition at line 45 of file GeomHelper.h.
Referenced by NBNode::bezierControlPoints(), NBEdge::checkGeometry(), MSVehicle::computeAngle(), NBNodeShapeComputer::computeNodeShapeDefault(), GUIPerson::drawAction_drawAsImage(), GUIContainer::drawAction_drawAsPoly(), GUIPerson::drawAction_drawAsTriangle(), GUILane::drawArrows(), GLHelper::drawBoxLines(), GUIBusStop::drawGL(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GLHelper::drawTextAtEnd(), GUILane::GUILane(), GeomHelper::legacyDegree(), TrajectoriesHandler::myStartElement(), GeomHelper::naviDegree(), PositionVector::slopeDegreeAtOffset(), MSLaneChangerSublane::startChangeSublane(), and NWWriter_OpenDrive::writeGeomSmooth().