![]() |
SUMO - Simulation of Urban MObility
|
#include <stdio.h>
#include <math.h>
Go to the source code of this file.
Macros | |
#define | M_PI 3.1415926535897932384626433832795 |
Functions | |
static void | fresnel (double xxa, double *ssa, double *cca) |
void | odrSpiral (double s, double cDot, double *x, double *y, double *t) |
static double | p1evl (double x, double *coef, int n) |
static double | polevl (double x, double *coef, int n) |
Variables | |
static double | cd [7] |
static double | cn [6] |
static double | fd [10] |
static double | fn [10] |
static double | gd [11] |
static double | gn [11] |
static double | sd [6] |
static double | sn [6] |
#define M_PI 3.1415926535897932384626433832795 |
Definition at line 40 of file odrSpiral.cpp.
Referenced by GeomHelper::angleDiff(), PositionVector::around(), NBNode::bezierControlPoints(), GNEAdditional::AdditionalGeometry::calculateMultiShapeRotationsAndLengths(), GNEAdditional::AdditionalGeometry::calculateShapeRotationsAndLengths(), NBEdge::checkGeometry(), MSDevice_SSM::classifyEncounter(), HelpersHBEFA::compute(), NGRandomNetBuilder::createNewNode(), NGNet::createSpiderWeb(), GUIPerson::drawAction_drawAsImage(), GUIContainer::drawAction_drawAsPoly(), GUIPerson::drawAction_drawAsTriangle(), GUIVehicle::drawAction_drawRailCarriages(), GNELane::drawArrows(), GNEViewNet::drawLaneCandidates(), GUIBaseVehicle::drawOnPos(), MSVehicle::enterLaneAtInsertion(), NBEdgeCont::formFactor(), fresnel(), GeomHelper::fromNaviDegree(), MSPModel_NonInteracting::PState::getAngle(), CState::getAngle(), MSPModel_Striping::PState::getAngle(), MSTransportable::Stage_Waiting::getAngle(), MSTransportable::Stage_Driving::getAngle(), PHEMlightdll::CEP::GetDecelCoast(), NBNodeShapeComputer::getDefaultRadius(), MSParkingArea::getVehicleAngle(), GNEInternalLane::GNEInternalLane(), GUIBusStop::GUIBusStop(), GUIChargingStation::GUIChargingStation(), GUIContainerStop::GUIContainerStop(), GUIParkingArea::GUIParkingArea(), NBNodeShapeComputer::initNeighbors(), GeomHelper::legacyDegree(), MSParkingArea::MSParkingArea(), GUIE2Collector::MyWrapper::MyWrapper(), GeomHelper::naviDegree(), odrSpiral(), MSLane::by_connections_to_sorter::operator()(), GUIBaseVehicle::setFunctionalColor(), GNEConnection::updateGeometry(), GNECrossing::updateGeometry(), and GNELane::updateGeometry().
|
static |
void odrSpiral | ( | double | s, |
double | cDot, | ||
double * | x, | ||
double * | y, | ||
double * | t | ||
) |
compute the actual "standard" spiral, starting with curvature 0
s | run-length along spiral |
cDot | first derivative of curvature [1/m2] |
x | resulting x-coordinate in spirals local co-ordinate system [m] |
y | resulting y-coordinate in spirals local co-ordinate system [m] |
t | tangent direction at s [rad] |
Definition at line 231 of file odrSpiral.cpp.
References fresnel(), and M_PI.
Referenced by NIImporter_OpenDrive::geomFromSpiral().
|
static |
Definition at line 156 of file odrSpiral.cpp.
Referenced by fresnel().
|
static |
Definition at line 138 of file odrSpiral.cpp.
Referenced by fresnel().
|
static |
Definition at line 71 of file odrSpiral.cpp.
Referenced by fresnel().
|
static |
Definition at line 63 of file odrSpiral.cpp.
Referenced by NIImporter_OpenDrive::buildConnectionsToOuter(), and fresnel().
|
static |
Definition at line 94 of file odrSpiral.cpp.
Referenced by RODFDetectorFlows::addFlow(), RODFNet::buildEdgeFlowMap(), fresnel(), and RODFDetFlowLoader::read().
|
static |
Definition at line 82 of file odrSpiral.cpp.
Referenced by MSDevice_ToC::cleanup(), MSDevice_SSM::cleanup(), and fresnel().
|
static |
Definition at line 122 of file odrSpiral.cpp.
Referenced by fresnel().
|
static |
Definition at line 109 of file odrSpiral.cpp.
Referenced by fresnel().
|
static |
Definition at line 52 of file odrSpiral.cpp.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::enterRange(), and fresnel().
|
static |
Definition at line 44 of file odrSpiral.cpp.
Referenced by fresnel(), and MSMeanData_Harmonoise::MSLaneMeanDataValues::notifyMoveInternal().