![]() |
SUMO - Simulation of Urban MObility
|
#include "StdDefs.h"
Go to the source code of this file.
Functions | |
double | roundBits (double x, int fractionBits) |
round to the given number of mantissa bits beyond the given number More... | |
double | truncate (double x, int fractionBits) |
discrds mantissa bits beyond the given number More... | |
Variables | |
bool | gDebugFlag1 = false |
global utility flags for debugging More... | |
bool | gDebugFlag2 = false |
bool | gDebugFlag3 = false |
bool | gDebugFlag4 = false |
int | gPrecision = 2 |
the precision for floating point outputs More... | |
int | gPrecisionGeo = 6 |
double roundBits | ( | double | x, |
int | fractionBits | ||
) |
round to the given number of mantissa bits beyond the given number
Definition at line 41 of file StdDefs.cpp.
Referenced by ISNAN().
double truncate | ( | double | x, |
int | fractionBits | ||
) |
discrds mantissa bits beyond the given number
Definition at line 37 of file StdDefs.cpp.
Referenced by ISNAN().
bool gDebugFlag1 = false |
global utility flags for debugging
Definition at line 32 of file StdDefs.cpp.
Referenced by MSLink::blockedAtTime(), MSLink::blockedByFoe(), NBNode::buildCrossings(), NIImporter_OpenDrive::OpenDriveLaneSection::buildSpeedChanges(), NBNode::buildWalkingAreas(), NBNode::checkCrossing(), MSVehicle::executeMove(), NIImporter_OpenDrive::findWidthSplit(), NBEdge::getCrossingAngle(), NBNode::getEdgesSortedByAngleAtNodeCenter(), MSLane::getLastVehicleInformation(), MSLink::getLeaderInfo(), NBNode::guessCrossings(), ISNAN(), MSPModel_Striping::PState::mergeObstacles(), MSPModel_Striping::moveInDirectionOnLane(), MSLink::opened(), MSVehicle::processLinkAproaches(), NIImporter_OpenDrive::recomputeWidths(), NIImporter_OpenDrive::revisitLaneSections(), NBEdge::setNodeBorder(), and NIImporter_OpenDrive::splitMinWidths().
bool gDebugFlag2 = false |
Definition at line 33 of file StdDefs.cpp.
Referenced by MSLCM_SL2015::_patchSpeed(), MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::checkBlocking(), MSLCM_SL2015::checkBlockingVehicles(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLCM_SL2015::commitFollowSpeed(), MSLCM_SL2015::commitManoeuvre(), MSCFModel::followSpeedTransient(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_SL2015::informLeader(), ISNAN(), MSLCM_SL2015::keepLatGap(), MSLCM_SL2015::patchSpeed(), MSLCM_SL2015::saveBlockerLength(), MSLCM_SL2015::slowDownForBlocked(), MSLCM_SL2015::updateCFRelated(), MSLCM_SL2015::updateGaps(), and MSLCM_SL2015::wantsChangeSublane().
bool gDebugFlag3 = false |
Definition at line 34 of file StdDefs.cpp.
Referenced by ISNAN().
bool gDebugFlag4 = false |
Definition at line 35 of file StdDefs.cpp.
Referenced by ISNAN().
int gPrecision = 2 |
the precision for floating point outputs
Definition at line 29 of file StdDefs.cpp.
Referenced by SystemFrame::checkOptions(), ISNAN(), NIImporter_OpenDrive::myStartElement(), MSNet::postSimStepOutput(), MSDevice_Tripinfo::printStatistics(), time2string(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSEmissionExport::write(), MSXMLRawOut::write(), NWWriter_OpenDrive::writeInternalEdge(), NWWriter_OpenDrive::writeNormalEdge(), and MSDevice_SSM::writeOutConflict().
int gPrecisionGeo = 6 |
Definition at line 30 of file StdDefs.cpp.
Referenced by SystemFrame::checkOptions(), MSVTypeProbe::execute(), ISNAN(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), PCPolyContainer::save(), GUISUMOAbstractView::updatePositionInformation(), MSFCDExport::write(), NWWriter_XML::writeEdgesAndConnections(), GeoConvHelper::writeLocation(), NWWriter_XML::writeNodes(), MSDevice_SSM::writeOutConflict(), and MSFCDExport::writeTransportable().