Eclipse SUMO - Simulation of Urban MObility
PointOfInterest Class Reference

A point-of-interest. More...

#include <PointOfInterest.h>

Inheritance diagram for PointOfInterest:
Collaboration diagram for PointOfInterest:

Public Member Functions

void add (const Position &pos)
 Adds the given position to this one. More...
 
void add (double dx, double dy)
 Adds the given position to this one. More...
 
void add (double dx, double dy, double dz)
 Adds the given position to this one. More...
 
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
bool almostSame (const Position &p2, double maxDiv=POSITION_EPS) const
 check if two position is almost the sme as other More...
 
double angleTo2D (const Position &other) const
 returns the angle in the plane of the vector pointing from here to the other position More...
 
void clearParameter ()
 Clears the parameter map. More...
 
Position crossProduct (const Position &pos)
 returns the cross product between this point and the second one More...
 
double distanceSquaredTo (const Position &p2) const
 returns the square of the distance to another position More...
 
double distanceSquaredTo2D (const Position &p2) const
 returns the square of the distance to another position (Only using x and y positions) More...
 
double distanceTo (const Position &p2) const
 returns the euclidean distance in 3 dimension More...
 
double distanceTo2D (const Position &p2) const
 returns the euclidean distance in the x-y-plane More...
 
double dotProduct (const Position &pos)
 returns the dot product (scalar product) between this point and the second one More...
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double. More...
 
const std::string & getID () const
 Returns the id. More...
 
const std::string getParameter (const std::string &key, const std::string &defaultValue="") const
 Returns the value for a given key. More...
 
const std::map< std::string, std::string > & getParametersMap () const
 Returns the inner key/value map. More...
 
std::string getParametersStr () const
 Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". More...
 
bool isNAN () const
 check if position is NAN More...
 
bool knowsParameter (const std::string &key) const
 Returns whether the parameter is known. More...
 
void mul (double mx, double my)
 Multiplies position with the given values. More...
 
void mul (double mx, double my, double mz)
 Multiplies position with the given values. More...
 
void mul (double val)
 Multiplies both positions with the given value. More...
 
void norm2d ()
 
bool operator!= (const Position &p2) const
 difference operator More...
 
Position operator* (double scalar) const
 keep the direction but modify the length of the (location) vector to length * scalar More...
 
Position operator+ (const Position &p2) const
 add operator More...
 
Position operator+ (double offset) const
 keep the direction but modify the length of the (location) vector to length + scalar More...
 
Position operator- (const Position &p2) const
 sub operator More...
 
bool operator< (const Position &p2) const
 lexicographical sorting for use in maps and sets More...
 
bool operator== (const Position &p2) const
 comparation operator More...
 
 PointOfInterest (const std::string &id, const std::string &type, const RGBColor &color, const Position &pos, bool geo, const std::string &lane, double posOverLane, double posLat, double layer=DEFAULT_LAYER, double angle=DEFAULT_ANGLE, const std::string &imgFile=DEFAULT_IMG_FILE, bool relativePath=DEFAULT_RELATIVEPATH, double width=DEFAULT_IMG_WIDTH, double height=DEFAULT_IMG_HEIGHT)
 Constructor. More...
 
Position rotateAround2D (double rad, const Position &origin)
 rotate this position by rad around origin and return the result More...
 
void set (const Position &pos)
 set position with another position More...
 
void set (double x, double y)
 set positions x and y More...
 
void set (double x, double y, double z)
 set positions x, y and z More...
 
void setID (const std::string &newID)
 resets the id More...
 
void setParameter (const std::string &key, const std::string &value)
 Sets a parameter. More...
 
void setParameters (const Parameterised &params)
 set the inner key/value map in map<string, string> format More...
 
void setParametersMap (const std::map< std::string, std::string > &paramsMap)
 set the inner key/value map in map<string, string> format More...
 
void setParametersStr (const std::string &paramsString)
 set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" More...
 
void setx (double x)
 set position x More...
 
void sety (double y)
 set position y More...
 
void setz (double z)
 set position z More...
 
void sub (const Position &pos)
 Substracts the given position from this one. More...
 
void sub (double dx, double dy)
 Substracts the given position from this one. More...
 
void sub (double dx, double dy, double dz)
 Substracts the given position from this one. More...
 
void swapXY ()
 swap position X and Y More...
 
void unsetParameter (const std::string &key)
 Removes a parameter. More...
 
void updateParameters (const std::map< std::string, std::string > &mapArg)
 Adds or updates all given parameters from the map. More...
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
void writeXML (OutputDevice &out, const bool geo=false, const double zOffset=0., const std::string laneID="", const double pos=0., const double posLat=0.)
 
double x () const
 Returns the x-position. More...
 
double y () const
 Returns the y-position. More...
 
double z () const
 Returns the z-position. More...
 
virtual ~PointOfInterest ()
 Destructor. More...
 
Getter
double getWidth () const
 Returns the image width of the POI. More...
 
double getHeight () const
 Returns the image height of the POI. More...
 
Position getCenter () const
 Returns the image center of the POI. More...
 
Setter
void setWidth (double width)
 set the image width of the POI More...
 
void setHeight (double height)
 set the image height of the POI More...
 
Getter
const std::string & getShapeType () const
 Returns the (abstract) type of the Shape. More...
 
const RGBColorgetShapeColor () const
 Returns the color of the Shape. More...
 
double getShapeLayer () const
 Returns the layer of the Shape. More...
 
double getShapeNaviDegree () const
 Returns the angle of the Shape in navigational degrees. More...
 
const std::string & getShapeImgFile () const
 Returns the imgFile of the Shape. More...
 
bool getShapeRelativePath () const
 Returns the relativePath of the Shape. More...
 
Setter
void setShapeType (const std::string &type)
 Sets a new type. More...
 
void setShapeColor (const RGBColor &col)
 Sets a new color. More...
 
void setShapeAlpha (unsigned char alpha)
 Sets a new alpha value. More...
 
void setShapeLayer (const double layer)
 Sets a new layer. More...
 
virtual void setShapeNaviDegree (const double angle)
 Sets a new angle in navigational degrees. More...
 
void setShapeImgFile (const std::string &imgFile)
 Sets a new imgFile. More...
 
void setShapeRelativePath (bool relativePath)
 Sets a new relativePath value. More...
 

Static Public Member Functions

static bool areParametersValid (const std::string &value, bool report=false)
 check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" More...
 
template<class T >
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null More...
 
static const PositioninvalidPosition ()
 reference to invalid position (needed if INVALID is taken by macro-definition) More...
 

Static Public Attributes

static const Position INVALID
 used to indicate that a position is valid More...
 
static const std::string DEFAULT_TYPE = ""
 
static const double DEFAULT_LAYER = 128
 
static const double DEFAULT_LINEWIDTH = 1
 
static const double DEFAULT_LAYER_POI = (double)GLO_POI
 
static const double DEFAULT_ANGLE = 0
 
static const std::string DEFAULT_IMG_FILE = ""
 
static const bool DEFAULT_RELATIVEPATH = false
 
static const double DEFAULT_IMG_WIDTH = 1
 
static const double DEFAULT_IMG_HEIGHT = 1
 

Protected Attributes

bool myGeo
 flag to check if POI was loaded as GEO Position (main used by netedit) More...
 
double myHalfImgHeight
 The half height of the image when rendering this POI. More...
 
double myHalfImgWidth
 The half width of the image when rendering this POI. More...
 
std::string myID
 The name of the object. More...
 
std::string myLane
 ID of lane in which this POI is placed (main used by netedit) More...
 
double myPosLat
 latereal position over lane in which this POI is placed (main used by netedit) More...
 
double myPosOverLane
 position over lane in which this POI is placed (main used by netedit) More...
 

Static Private Member Functions

static bool isParameterValid (const std::string &value, bool report)
 check if given string can be parsed to a parameter of type "key=value" More...
 

Private Attributes

RGBColor myColor
 The color of the Shape. More...
 
std::string myImgFile
 The img file (include path) More...
 
double myLayer
 The layer of the Shape. More...
 
std::map< std::string, std::string > myMap
 The key->value map. More...
 
double myNaviDegreeAngle
 The angle of the Shape. More...
 
bool myRelativePath
 Enable or disable save imgFile as relative path. More...
 
std::string myType
 The type of the Shape. More...
 
double myX
 The x-position. More...
 
double myY
 The y-position. More...
 
double myZ
 The z-position. More...
 

Detailed Description

A point-of-interest.

Definition at line 43 of file PointOfInterest.h.

Constructor & Destructor Documentation

◆ PointOfInterest()

PointOfInterest::PointOfInterest ( const std::string &  id,
const std::string &  type,
const RGBColor color,
const Position pos,
bool  geo,
const std::string &  lane,
double  posOverLane,
double  posLat,
double  layer = DEFAULT_LAYER,
double  angle = DEFAULT_ANGLE,
const std::string &  imgFile = DEFAULT_IMG_FILE,
bool  relativePath = DEFAULT_RELATIVEPATH,
double  width = DEFAULT_IMG_WIDTH,
double  height = DEFAULT_IMG_HEIGHT 
)
inline

Constructor.

Parameters
[in]idThe name of the POI
[in]typeThe (abstract) type of the POI
[in]colorThe color of the POI
[in]posThe position of the POI
[in[geo use GEO coordinates (lon/lat)
[in]laneThe Lane in which this POI is placed
[in]posOverLaneThe position over Lane
[in]posLatThe position lateral over Lane
[in]layerThe layer of the POI
[in]angleThe rotation of the POI
[in]imgFileThe raster image of the shape
[in]relativePathset image file as relative path
[in]widthThe width of the POI image
[in]heightThe height of the POI image

Definition at line 61 of file PointOfInterest.h.

◆ ~PointOfInterest()

virtual PointOfInterest::~PointOfInterest ( )
inlinevirtual

Destructor.

Definition at line 82 of file PointOfInterest.h.

Member Function Documentation

◆ add() [1/3]

◆ add() [2/3]

void Position::add ( double  dx,
double  dy 
)
inlineinherited

Adds the given position to this one.

Definition at line 133 of file Position.h.

References Position::myX, and Position::myY.

◆ add() [3/3]

void Position::add ( double  dx,
double  dy,
double  dz 
)
inlineinherited

Adds the given position to this one.

Definition at line 139 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ addTo()

void Named::addTo ( const StoringVisitor cont) const
inlineinherited

Adds this object to the given container.

Parameters
[in,filled]cont The container to add this item to

Definition at line 126 of file Named.h.

References Named::StoringVisitor::add().

◆ almostSame()

bool Position::almostSame ( const Position p2,
double  maxDiv = POSITION_EPS 
) const
inlineinherited

◆ angleTo2D()

◆ areParametersValid()

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 100 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::beginEdgeParsing(), and GNERouteHandler::closeRoute().

◆ crossProduct()

Position Position::crossProduct ( const Position pos)
inlineinherited

returns the cross product between this point and the second one

Definition at line 258 of file Position.h.

References Position::myX, Position::myY, Position::myZ, and Position::Position().

Referenced by NBHeightMapper::Triangle::normalVector().

◆ distanceSquaredTo()

double Position::distanceSquaredTo ( const Position p2) const
inlineinherited

returns the square of the distance to another position

Definition at line 238 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

Referenced by Position::distanceTo(), and GNEPerson::drawGL().

◆ distanceSquaredTo2D()

◆ distanceTo()

◆ distanceTo2D()

double Position::distanceTo2D ( const Position p2) const
inlineinherited

returns the euclidean distance in the x-y-plane

Definition at line 243 of file Position.h.

References Position::distanceSquaredTo2D().

Referenced by MSCFModel_CC::_consensus(), MSCFModel_CC::_v(), libsumo::Helper::applySubscriptionFilterFieldOfVision(), NBNode::bezierControlPoints(), NBNode::buildWalkingAreas(), GNEGeometry::calculateLength(), NGRandomNetBuilder::canConnect(), NBNode::checkCrossing(), MSLink::checkWalkingAreaFoe(), GUIBaseVehicle::computeSeats(), NIImporter_OpenDrive::computeShapes(), PositionVector::distance2D(), GUIVehicle::drawAction_drawCarriageClass(), GUIBusStop::drawGL(), GNEBusStop::drawGL(), GNEEdge::editEndpoint(), PositionVector::extrapolate2D(), NBPTStopCont::findAccessEdgesForRailStops(), NBNodeCont::generateNodeClusters(), PositionVector::getMaxGrade(), CState::getPosition(), NBNodeShapeComputer::getSmoothCorner(), GUILane::GUILane(), MSVehicle::Influencer::implicitDeltaPosRemote(), MSVehicle::Influencer::implicitSpeedRemote(), MSPModel_Striping::initWalkingAreaPaths(), PositionVector::insertAtClosest(), PositionVector::intersects(), PositionVector::intersectsAtLengths2D(), PCLoaderOSM::loadIfSet(), PositionVector::move2side(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), GeomHelper::nearest_offset_on_line_to_point25D(), GeomHelper::nearest_offset_on_line_to_point2D(), PositionVector::nearest_offset_to_point25D(), PositionVector::nearest_offset_to_point2D(), GUIViewTraffic::onGamingClick(), PositionVector::positionAtOffset2D(), NBNodeCont::pruneClusterFringe(), PositionVector::removeClosest(), GNEEdge::resetEndpoint(), NBNodeCont::shortestEdge(), PositionVector::sideOffset(), PositionVector::simplified(), PositionVector::slopeDegreeAtOffset(), PositionVector::smoothedZFront(), PositionVector::transformToVectorCoordinates(), MSPerson::MSPersonStage_Walking::walkDistance(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomSmooth(), and NWWriter_OpenDrive::writeRoadObjects().

◆ dotProduct()

double Position::dotProduct ( const Position pos)
inlineinherited

returns the dot product (scalar product) between this point and the second one

Definition at line 266 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

Referenced by NBHeightMapper::Triangle::getZ().

◆ getCenter()

Position PointOfInterest::getCenter ( ) const
inline

Returns the image center of the POI.

Definition at line 99 of file PointOfInterest.h.

References myHalfImgHeight, myHalfImgWidth, Position::x(), and Position::y().

◆ getDouble()

◆ getHeight()

double PointOfInterest::getHeight ( ) const
inline

Returns the image height of the POI.

Definition at line 94 of file PointOfInterest.h.

References myHalfImgHeight.

Referenced by GNEPOI::getAttribute(), libsumo::POI::getHeight(), libsumo::POI::highlight(), and writeXML().

◆ getID()

const std::string& Named::getID ( ) const
inlineinherited

Returns the id.

Returns
The stored id

Definition at line 76 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), LaneStoringVisitor::add(), Named::StoringVisitor::add(), MSVehicleTransfer::add(), MSPModel_Striping::add(), MSPModel_Remote::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), ROVehicle::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), libsumo::Helper::applySubscriptionFilters(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), GNETLSEditorFrame::buildIinternalLanes(), NBEdge::buildInnerEdges(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSVehicle::canReverse(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSEdge::checkAndRegisterBiDirEdge(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), IntermodalRouter< E, L, N, V >::compute(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), NGNet::connect(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), libsumo::Helper::findCloserLane(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBNodeCont::generateNodeClusters(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), libsumo::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), libsumo::Lane::getEdgeID(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSCalibrator::getID(), NBEdge::getID(), libsumo::InductionLoop::getLaneID(), libsumo::LaneArea::getLaneID(), libsumo::Vehicle::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSLane::getLinkTo(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), GNEDialogACChooser::getObjectName(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), libsumo::Simulation::getParameter(), GUILane::getParameterWindow(), GUITrafficLightLogicWrapper::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), libsumo::Person::getRoadID(), libsumo::Vehicle::getRoadID(), MSLCM_LC2013::getRoundaboutDistBonus(), libsumo::Vehicle::getRouteID(), MSVehicle::getSafeFollowSpeed(), libsumo::Person::getStage(), MSContainer::MSContainerStage_Driving::getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSNet::getStoppingPlaceID(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), MSRailSignal::getTLLinkID(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSVehicle::haveValidStopEdges(), libsumo::POI::highlight(), MSVehicle::ignoreRed(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicles(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MESegment::jamThresholdForSpeed(), NBNodeShapeComputer::joinSameDirectionEdges(), MSAbstractLaneChangeModel::laneChangeOutput(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), ODDistrictCont::makeDistricts(), MSE2Collector::makeVehicleInfo(), MSSOTLE2Sensors::meanVehiclesSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSE2Collector::MSE2Collector(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), GNETLSEditorFrame::onCmdDefSwitch(), GUIViewTraffic::onGamingClick(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), AGStreet::print(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), MSLink::removeApproaching(), MSVehicle::removePassedDriveItems(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_ToC::requestToC(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSBaseVehicle::saveState(), MSLane::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLink::setApproaching(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), NIImporter_OpenDrive::setNodeSecure(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), NBNodeTypeComputer::validateRailCrossings(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), and RONet::~RONet().

◆ getIDSecure()

template<class T >
static std::string Named::getIDSecure ( const T *  obj,
const std::string &  fallBack = "NULL" 
)
inlinestaticinherited

get an identifier for Named-like object which may be Null

Definition at line 69 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBEdge::computeEdge2Edges(), NBEdge::computeLanes2Edges(), NBOwnTLDef::computeLogicAndConts(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), NBEdge::init(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), operator<<(), NBEdge::recheckLanes(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().

◆ getParameter()

const std::string Parameterised::getParameter ( const std::string &  key,
const std::string &  defaultValue = "" 
) const
inherited

Returns the value for a given key.

Parameters
[in]keyThe key to ask for
[in]defaultValueThe default value to return if no value is stored under the key
Returns
The value stored under the key

Definition at line 72 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), GNEEdge::drawEdgeName(), GUIEdge::drawGL(), GNEConnection::drawGL(), GUIBaseVehicle::drawOnPos(), libsumo::Simulation::findIntermodalRoute(), MSSwarmTrafficLightLogic::getBetaNo(), MSSwarmTrafficLightLogic::getBetaSp(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSwarmTrafficLightLogic::getChangePlanProbability(), GUILane::getColorValue(), GUIVehicle::getColorValue(), GNELane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSSwarmTrafficLightLogic::getForgettingCox(), MSSwarmTrafficLightLogic::getGammaNo(), MSSwarmTrafficLightLogic::getGammaSp(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSSwarmTrafficLightLogic::getLearningCox(), MSSwarmTrafficLightLogic::getMaxCongestionDuration(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), GUIBaseVehicle::getOptionalName(), GUIJunctionWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::Simulation::getParameter(), libsumo::POI::getParameter(), libsumo::Polygon::getParameter(), libsumo::Person::getParameter(), libsumo::Route::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::getParameter(), MSSwarmTrafficLightLogic::getPheroMaxVal(), MSSwarmTrafficLightLogic::getPoliciesParam(), MSSwarmTrafficLightLogic::getReinforcementMode(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchAreaNo(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchBereichDef(), MSDevice::getStringParam(), MSSwarmTrafficLightLogic::getThetaInit(), MSSwarmTrafficLightLogic::getThetaMax(), MSSwarmTrafficLightLogic::getThetaMin(), MSSOTLTrafficLightLogic::getThreshold(), MSTriggeredRerouter::getWeight(), MSSOTLPhasePolicy::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), PushButtonLogic::init(), SigmoidLogic::init(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSDevice_SSM::useGeoCoords(), NWWriter_DlrNavteq::writeLinksUnsplitted(), and NWWriter_OpenDrive::writeRoadObjects().

◆ getParametersMap()

◆ getParametersStr()

◆ getShapeColor()

const RGBColor& Shape::getShapeColor ( ) const
inlineinherited

◆ getShapeImgFile()

const std::string& Shape::getShapeImgFile ( ) const
inlineinherited

◆ getShapeLayer()

◆ getShapeNaviDegree()

double Shape::getShapeNaviDegree ( ) const
inlineinherited

Returns the angle of the Shape in navigational degrees.

Returns
The Shape's rotation angle

Definition at line 96 of file Shape.h.

References Shape::myNaviDegreeAngle.

Referenced by GUIPointOfInterest::drawInnerPOI(), libsumo::POI::getAngle(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), GUIPolygon::setShape(), SUMOPolygon::writeXML(), and writeXML().

◆ getShapeRelativePath()

bool Shape::getShapeRelativePath ( ) const
inlineinherited

Returns the relativePath of the Shape.

Returns
The Shape's relativePath

Definition at line 110 of file Shape.h.

References Shape::myRelativePath.

Referenced by GNEPOI::getAttribute(), GNEPoly::getAttribute(), SUMOPolygon::writeXML(), and writeXML().

◆ getShapeType()

◆ getWidth()

double PointOfInterest::getWidth ( ) const
inline

Returns the image width of the POI.

Definition at line 89 of file PointOfInterest.h.

References myHalfImgWidth.

Referenced by GNEPOI::getAttribute(), libsumo::POI::getWidth(), libsumo::POI::highlight(), and writeXML().

◆ invalidPosition()

static const Position& Position::invalidPosition ( )
inlinestaticinherited

reference to invalid position (needed if INVALID is taken by macro-definition)

Definition at line 287 of file Position.h.

References Position::INVALID.

◆ isNAN()

bool Position::isNAN ( ) const
inlineinherited

check if position is NAN

Definition at line 279 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ isParameterValid()

bool Parameterised::isParameterValid ( const std::string &  value,
bool  report 
)
staticprivateinherited

check if given string can be parsed to a parameter of type "key=value"

Definition at line 189 of file Parameterised.cpp.

References StringTokenizer::getVector(), SUMOXMLDefinitions::isValidParameterKey(), and SUMOXMLDefinitions::isValidParameterValue().

Referenced by Parameterised::areParametersValid().

◆ knowsParameter()

◆ mul() [1/3]

void Position::mul ( double  mx,
double  my 
)
inlineinherited

Multiplies position with the given values.

Definition at line 113 of file Position.h.

References Position::myX, and Position::myY.

◆ mul() [2/3]

void Position::mul ( double  mx,
double  my,
double  mz 
)
inlineinherited

Multiplies position with the given values.

Definition at line 119 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ mul() [3/3]

◆ norm2d()

void Position::norm2d ( )
inlineinherited

Definition at line 166 of file Position.h.

References Position::myX, and Position::myY.

Referenced by NBNode::getEmptyDir().

◆ operator!=()

bool Position::operator!= ( const Position p2) const
inlineinherited

difference operator

Definition at line 212 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ operator*()

Position Position::operator* ( double  scalar) const
inlineinherited

keep the direction but modify the length of the (location) vector to length * scalar

Definition at line 192 of file Position.h.

References Position::myX, Position::myY, Position::myZ, and Position::Position().

◆ operator+() [1/2]

Position Position::operator+ ( const Position p2) const
inlineinherited

add operator

Definition at line 182 of file Position.h.

References Position::myX, Position::myY, Position::myZ, and Position::Position().

◆ operator+() [2/2]

Position Position::operator+ ( double  offset) const
inlineinherited

keep the direction but modify the length of the (location) vector to length + scalar

Definition at line 197 of file Position.h.

References Position::distanceTo(), Position::myX, Position::myY, Position::myZ, and Position::Position().

◆ operator-()

Position Position::operator- ( const Position p2) const
inlineinherited

sub operator

Definition at line 187 of file Position.h.

References Position::myX, Position::myY, Position::myZ, and Position::Position().

◆ operator<()

bool Position::operator< ( const Position p2) const
inlineinherited

lexicographical sorting for use in maps and sets

Definition at line 217 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ operator==()

bool Position::operator== ( const Position p2) const
inlineinherited

comparation operator

Definition at line 207 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ rotateAround2D()

Position Position::rotateAround2D ( double  rad,
const Position origin 
)
inherited

rotate this position by rad around origin and return the result

Definition at line 41 of file Position.cpp.

References Position::Position(), Position::x(), and Position::y().

Referenced by GUISUMOAbstractView::applyGLTransform(), GUIJunctionWrapper::drawGL(), GUIDanielPerspectiveChanger::onMouseMove(), and GUISUMOAbstractView::screenPos2NetPos().

◆ set() [1/3]

void Position::set ( const Position pos)
inlineinherited

set position with another position

Definition at line 99 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ set() [2/3]

◆ set() [3/3]

void Position::set ( double  x,
double  y,
double  z 
)
inlineinherited

set positions x, y and z

Definition at line 92 of file Position.h.

References Position::myX, Position::myY, Position::myZ, Position::x(), Position::y(), and Position::z().

◆ setHeight()

void PointOfInterest::setHeight ( double  height)
inline

set the image height of the POI

Definition at line 114 of file PointOfInterest.h.

References myHalfImgHeight.

Referenced by GNEPOI::setAttribute(), and libsumo::POI::setHeight().

◆ setID()

void Named::setID ( const std::string &  newID)
inlineinherited

◆ setParameter()

◆ setParameters()

void Parameterised::setParameters ( const Parameterised params)
inherited

set the inner key/value map in map<string, string> format

Definition at line 127 of file Parameterised.cpp.

References Parameterised::getParametersMap(), and Parameterised::myMap.

◆ setParametersMap()

void Parameterised::setParametersMap ( const std::map< std::string, std::string > &  paramsMap)
inherited

set the inner key/value map in map<string, string> format

Definition at line 133 of file Parameterised.cpp.

References Parameterised::myMap.

◆ setParametersStr()

void Parameterised::setParametersStr ( const std::string &  paramsString)
inherited

◆ setShapeAlpha()

void Shape::setShapeAlpha ( unsigned char  alpha)
inlineinherited

Sets a new alpha value.

Parameters
[in]alphaThe new value to use

Definition at line 136 of file Shape.h.

References Shape::myColor, and RGBColor::setAlpha().

Referenced by PolygonDynamics::setAlpha().

◆ setShapeColor()

void Shape::setShapeColor ( const RGBColor col)
inlineinherited

Sets a new color.

Parameters
[in]colThe new color to use

Definition at line 129 of file Shape.h.

References Shape::myColor.

Referenced by GNEPOI::setAttribute(), GNEPoly::setAttribute(), libsumo::POI::setColor(), and libsumo::Polygon::setColor().

◆ setShapeImgFile()

void Shape::setShapeImgFile ( const std::string &  imgFile)
inlineinherited

Sets a new imgFile.

Parameters
[in]imgFileThe new imgFile to use

Definition at line 157 of file Shape.h.

References Shape::myImgFile.

Referenced by GNEPOI::setAttribute(), GNEPoly::setAttribute(), and libsumo::POI::setImageFile().

◆ setShapeLayer()

void Shape::setShapeLayer ( const double  layer)
inlineinherited

Sets a new layer.

Parameters
[in]layerThe new layer to use

Definition at line 143 of file Shape.h.

References Shape::myLayer.

Referenced by GNEPOI::setAttribute(), and GNEPoly::setAttribute().

◆ setShapeNaviDegree()

virtual void Shape::setShapeNaviDegree ( const double  angle)
inlinevirtualinherited

Sets a new angle in navigational degrees.

Parameters
[in]layerThe new angle to use

Reimplemented in GUIPolygon.

Definition at line 150 of file Shape.h.

References Shape::myNaviDegreeAngle.

Referenced by libsumo::POI::setAngle(), GNEPOI::setAttribute(), and GUIPolygon::setShapeNaviDegree().

◆ setShapeRelativePath()

void Shape::setShapeRelativePath ( bool  relativePath)
inlineinherited

Sets a new relativePath value.

Parameters
[in]relativePathThe new relative path to set

Definition at line 164 of file Shape.h.

References Shape::myRelativePath.

Referenced by GNEPOI::setAttribute(), and GNEPoly::setAttribute().

◆ setShapeType()

void Shape::setShapeType ( const std::string &  type)
inlineinherited

Sets a new type.

Parameters
[in]typeThe new type to use

Definition at line 122 of file Shape.h.

References Shape::myType.

Referenced by GNEPOI::setAttribute(), GNEPoly::setAttribute(), libsumo::POI::setType(), and libsumo::Polygon::setType().

◆ setWidth()

void PointOfInterest::setWidth ( double  width)
inline

set the image width of the POI

Definition at line 109 of file PointOfInterest.h.

References myHalfImgWidth.

Referenced by GNEPOI::setAttribute(), and libsumo::POI::setWidth().

◆ setx()

◆ sety()

◆ setz()

◆ sub() [1/3]

void Position::sub ( const Position pos)
inlineinherited

Substracts the given position from this one.

Definition at line 159 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ sub() [2/3]

void Position::sub ( double  dx,
double  dy 
)
inlineinherited

◆ sub() [3/3]

void Position::sub ( double  dx,
double  dy,
double  dz 
)
inlineinherited

Substracts the given position from this one.

Definition at line 152 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ swapXY()

void Position::swapXY ( )
inlineinherited

◆ unsetParameter()

void Parameterised::unsetParameter ( const std::string &  key)
inherited

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 52 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_OpenStreetMap::insertEdge(), and GNEVehicleType::setAttribute().

◆ updateParameters()

void Parameterised::updateParameters ( const std::map< std::string, std::string > &  mapArg)
inherited

◆ writeParams()

◆ writeXML()

◆ x()

double Position::x ( ) const
inlineinherited

Returns the x-position.

Definition at line 56 of file Position.h.

References Position::myX.

Referenced by MSCFModel_CC::_consensus(), PositionVector::add(), Boundary::add(), MSPModel_Remote::add(), NIXMLNodesHandler::addNode(), MSPModel_Striping::addVehicleFoe(), GeomHelper::angle2D(), GUISUMOAbstractView::applyGLTransform(), GUISettingsHandler::applyViewport(), Boundary::around(), PositionVector::around(), PositionVector::bezier(), NBNode::bezierControlPoints(), GNEGeometry::calculateRotation(), NIImporter_OpenDrive::calculateStraightEndPoint(), GeoConvHelper::cartesian2geo(), GUIDanielPerspectiveChanger::centerTo(), NGRandomNetBuilder::checkAngles(), GUISUMOAbstractView::checkGDALImage(), TraCIServerAPI_Simulation::commandPositionConversion(), NBPTStopCont::computeCrossProductEdgePosition(), NBNodeShapeComputer::computeNodeShapeSmall(), NGRandomNetBuilder::createNewNode(), Boundary::distanceTo2D(), GNEShape::draw(), GUIVehicle::drawAction_drawCarriageClass(), GUILane::drawArrows(), GNELane::drawArrows(), GLHelper::drawBoxLine(), GLHelper::drawBoxLines(), GNECalibrator::drawCalibratorSymbol(), GUISUMOAbstractView::drawDecals(), GLHelper::drawFilledPoly(), GNEGeometry::drawGeometry(), GNEEdge::drawGeometryPoints(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITrafficLightLogicWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawInnerPOI(), GNELane::drawLane2LaneConnections(), GUILane::drawLane2LaneConnections(), GNEViewNet::drawLaneCandidates(), GNEGeometry::drawLaneGeometry(), GLHelper::drawLine(), GUIBaseVehicle::drawLinkItem(), GUILane::drawLinkRule(), GUILane::drawLinkRules(), GUIBaseVehicle::drawOnPos(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawRerouterSymbol(), GNEGeometry::drawSegmentGeometry(), GLHelper::drawShapeDottedContourRectangle(), GUIE3Collector::MyWrapper::drawSingleCrossing(), GNEViewNetHelper::TestingMode::drawTestingElements(), GLHelper::drawText(), GLHelper::drawTextAtEnd(), GLHelper::drawTextBox(), GNEJunction::drawTLSIcon(), GLHelper::drawTriangleAtEnd(), GNELane::drawVSSSymbol(), MSVTypeProbe::execute(), NBNodeCont::extract(), NBPTStopCont::findAccessEdgesForRailStops(), GeomHelper::findLineCircleIntersections(), NIImporter_OpenDrive::geomFromLine(), GNEConnection::getBoundary(), getCenter(), GNEJunction::getCenteringBoundary(), GUIPointOfInterest::getCenteringBoundary(), NBNode::getEmptyDir(), MSPModel_Striping::getNextLaneObstacles(), MSCFModel_CC::getParameter(), PositionVector::getPolygonCenter(), GNEPOI::getPositionInView(), GNERouteProbe::getPositionInView(), GNEVaporizer::getPositionInView(), GNEPerson::getPositionInView(), GNEVehicle::getPositionInView(), MSVTKExport::getPositions(), libsumo::InductionLoop::getTree(), GUIDanielPerspectiveChanger::getXPos(), NBHeightMapper::getZ(), GUIBusStop::GUIBusStop(), GUIChargingStation::GUIChargingStation(), GUIContainerStop::GUIContainerStop(), GUIJunctionWrapper::GUIJunctionWrapper(), GUILane::GUILane(), GUIParkingArea::GUIParkingArea(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSPModel_Remote::handleShape(), MSPModel_Remote::handleWalkingArea(), NBNodeCont::insert(), PositionVector::insertAtClosest(), PositionVector::intersects(), PositionVector::isLeft(), NBNodeCont::joinNodeCluster(), GNENet::joinSelectedJunctions(), NBHeightMapper::loadTiff(), MSPModel_Remote::makeStartOrEndTransition(), libsumo::Helper::makeTraCIPosition(), MSPModel_Striping::moveInDirection(), MSParkingArea::MSParkingArea(), GUISettingsHandler::myStartElement(), GUIE2Collector::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIMEInductLoop::MyWrapper::MyWrapper(), GeomHelper::nearest_offset_on_line_to_point2D(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GNEPolygonFrame::GEOPOICreator::onCmdSetCoordinates(), GUIDanielPerspectiveChanger::onMouseMove(), PositionVector::as_poly_cw_sorter::operator()(), PositionVector::increasing_x_y_sorter::operator()(), TraCIServerAPI_GUI::processSet(), NBNodeCont::retrieve(), Position::rotateAround2D(), PCPolyContainer::saveDlrTDP(), Position::set(), GNEPOI::setAttribute(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GUIDialog_EditViewport::setValues(), GUICompleteSchemeStorage::setViewport(), GUISUMOAbstractView::setViewportFromToRot(), Position::setx(), NGNode::setY(), PositionVector::sideOffset(), PositionVector::simplified(), GUISUMOAbstractView::snapToActiveGrid(), PositionVector::sub(), NBNetBuilder::transformCoordinate(), GUISUMOAbstractView::updatePositionInformation(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), GNEAdditional::writeAdditional(), NBSign::writeAsPOI(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomPP3(), NWWriter_DlrNavteq::writeNodesUnsplitted(), BinaryFormatter::writePosition(), NWFrame::writePositionLong(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSFullExport::writeVehicles(), writeXML(), GeoConvHelper::x2cartesian(), GeoConvHelper::x2cartesian_const(), and GUIDanielPerspectiveChanger::zoom().

◆ y()

double Position::y ( ) const
inlineinherited

Returns the y-position.

Definition at line 61 of file Position.h.

References Position::myY.

Referenced by MSCFModel_CC::_consensus(), PositionVector::add(), Boundary::add(), MSPModel_Remote::add(), MSParkingArea::addLotEntry(), NIXMLNodesHandler::addNode(), MSPModel_Striping::addVehicleFoe(), GeomHelper::angle2D(), GUISUMOAbstractView::applyGLTransform(), GUISettingsHandler::applyViewport(), Boundary::around(), PositionVector::around(), NBNode::bezierControlPoints(), GNEGeometry::calculateRotation(), NIImporter_OpenDrive::calculateStraightEndPoint(), GeoConvHelper::cartesian2geo(), GUIDanielPerspectiveChanger::centerTo(), NGRandomNetBuilder::checkAngles(), GUISUMOAbstractView::checkGDALImage(), TraCIServerAPI_Simulation::commandPositionConversion(), NBPTStopCont::computeCrossProductEdgePosition(), NBNodeShapeComputer::computeNodeShapeSmall(), NGRandomNetBuilder::createNewNode(), Boundary::distanceTo2D(), GNEShape::draw(), GUIVehicle::drawAction_drawCarriageClass(), GUILane::drawArrows(), GNELane::drawArrows(), GLHelper::drawBoxLine(), GLHelper::drawBoxLines(), GNECalibrator::drawCalibratorSymbol(), GUISUMOAbstractView::drawDecals(), GLHelper::drawFilledPoly(), GNEGeometry::drawGeometry(), GNEEdge::drawGeometryPoints(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITrafficLightLogicWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawInnerPOI(), GNELane::drawLane2LaneConnections(), GUILane::drawLane2LaneConnections(), GNEViewNet::drawLaneCandidates(), GNEGeometry::drawLaneGeometry(), GLHelper::drawLine(), GUIBaseVehicle::drawLinkItem(), GUILane::drawLinkRule(), GUILane::drawLinkRules(), GUIBaseVehicle::drawOnPos(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawRerouterSymbol(), GNEGeometry::drawSegmentGeometry(), GLHelper::drawShapeDottedContourRectangle(), GUIE3Collector::MyWrapper::drawSingleCrossing(), GNEViewNetHelper::TestingMode::drawTestingElements(), GLHelper::drawText(), GLHelper::drawTextAtEnd(), GLHelper::drawTextBox(), GNEJunction::drawTLSIcon(), GLHelper::drawTriangleAtEnd(), GNELane::drawVSSSymbol(), MSVTypeProbe::execute(), NBNodeCont::extract(), NBPTStopCont::findAccessEdgesForRailStops(), GeomHelper::findLineCircleIntersections(), NIImporter_OpenDrive::geomFromLine(), GNEConnection::getBoundary(), getCenter(), GNEJunction::getCenteringBoundary(), GUIPointOfInterest::getCenteringBoundary(), NBNode::getEmptyDir(), MSPModel_Striping::getNextLaneObstacles(), MSCFModel_CC::getParameter(), PositionVector::getPolygonCenter(), GNEPOI::getPositionInView(), GNERouteProbe::getPositionInView(), GNEVaporizer::getPositionInView(), GNEPerson::getPositionInView(), GNEVehicle::getPositionInView(), MSVTKExport::getPositions(), libsumo::InductionLoop::getTree(), GUIDanielPerspectiveChanger::getYPos(), NBHeightMapper::getZ(), GUIBusStop::GUIBusStop(), GUIChargingStation::GUIChargingStation(), GUIContainerStop::GUIContainerStop(), GUIJunctionWrapper::GUIJunctionWrapper(), GUILane::GUILane(), GUIParkingArea::GUIParkingArea(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSPModel_Remote::handleShape(), MSPModel_Remote::handleWalkingArea(), NBNodeCont::insert(), PositionVector::insertAtClosest(), PositionVector::intersects(), PositionVector::isLeft(), NBNodeCont::joinNodeCluster(), GNENet::joinSelectedJunctions(), NBHeightMapper::loadTiff(), MSPModel_Remote::makeStartOrEndTransition(), libsumo::Helper::makeTraCIPosition(), MSPModel_Striping::moveInDirection(), GNEViewNetHelper::MoveMultipleElementValues::moveSelection(), GNEViewNetHelper::MoveSingleElementValues::moveSingleElement(), MSParkingArea::MSParkingArea(), GUISettingsHandler::myStartElement(), GUIE2Collector::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIMEInductLoop::MyWrapper::MyWrapper(), GeomHelper::nearest_offset_on_line_to_point2D(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GNEPolygonFrame::GEOPOICreator::onCmdSetCoordinates(), GUIDanielPerspectiveChanger::onMouseMove(), PositionVector::as_poly_cw_sorter::operator()(), PositionVector::increasing_x_y_sorter::operator()(), TraCIServerAPI_GUI::processSet(), NBNodeCont::retrieve(), Position::rotateAround2D(), PCPolyContainer::saveDlrTDP(), Position::set(), GNEPOI::setAttribute(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GUIDialog_EditViewport::setValues(), GUICompleteSchemeStorage::setViewport(), GUISUMOAbstractView::setViewportFromToRot(), NGNode::setX(), Position::sety(), PositionVector::sideOffset(), PositionVector::simplified(), GUISUMOAbstractView::snapToActiveGrid(), PositionVector::sub(), NBNetBuilder::transformCoordinate(), GUISUMOAbstractView::updatePositionInformation(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), GNEAdditional::writeAdditional(), NBSign::writeAsPOI(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomPP3(), NWWriter_DlrNavteq::writeNodesUnsplitted(), BinaryFormatter::writePosition(), NWFrame::writePositionLong(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSFullExport::writeVehicles(), writeXML(), GeoConvHelper::x2cartesian(), GeoConvHelper::x2cartesian_const(), and GUIDanielPerspectiveChanger::zoom().

◆ z()

double Position::z ( ) const
inlineinherited

Returns the z-position.

Definition at line 66 of file Position.h.

References Position::myZ.

Referenced by PositionVector::add(), Boundary::add(), GUISettingsHandler::applyViewport(), Boundary::around(), NBNode::bezierControlPoints(), TraCIServerAPI_Simulation::commandPositionConversion(), NBEdge::computeEdgeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), GNEEdge::drawGeometryPoints(), GNEJunction::drawGL(), MSVTypeProbe::execute(), GUIJunctionWrapper::getColorValue(), GNEJunction::getColorValue(), PositionVector::getMaxGrade(), PositionVector::getOverlapWith(), PositionVector::getPolygonCenter(), GUILane::getPopUpMenu(), GNELane::getPopUpMenu(), MSVTKExport::getPositions(), NBNodeShapeComputer::getSmoothCorner(), NBNodeCont::joinNodeCluster(), libsumo::Helper::makeTraCIPosition(), PositionVector::move2side(), GNEJunction::moveGeometry(), GNEEdge::moveShapeEnd(), GNEEdge::moveShapeStart(), libsumo::Vehicle::moveToXY(), GNEEdge::moveVertexShape(), MSParkingArea::MSParkingArea(), GUISettingsHandler::myStartElement(), GNENet::registerJunction(), Position::set(), GNEPOI::setAttribute(), GUIDialog_EditViewport::setValues(), GUICompleteSchemeStorage::setViewport(), GUISUMOAbstractView::setViewportFromToRot(), Position::setz(), PositionVector::slopeDegreeAtOffset(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GUISUMOAbstractView::snapToActiveGrid(), NBEdge::startShapeAt(), GNEEdge::straightenElevation(), PositionVector::sub(), MSFCDExport::write(), GNEAdditional::writeAdditional(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomPP3(), BinaryFormatter::writePosition(), NWFrame::writePositionLong(), and MSFCDExport::writeTransportable().

Field Documentation

◆ DEFAULT_ANGLE

◆ DEFAULT_IMG_FILE

◆ DEFAULT_IMG_HEIGHT

const double Shape::DEFAULT_IMG_HEIGHT = 1
staticinherited

Definition at line 50 of file Shape.h.

Referenced by ShapeHandler::addPOI(), GNEAttributeCarrier::fillShapes(), and writeXML().

◆ DEFAULT_IMG_WIDTH

const double Shape::DEFAULT_IMG_WIDTH = 1
staticinherited

Definition at line 49 of file Shape.h.

Referenced by ShapeHandler::addPOI(), GNEAttributeCarrier::fillShapes(), and writeXML().

◆ DEFAULT_LAYER

const double Shape::DEFAULT_LAYER = 128
staticinherited

◆ DEFAULT_LAYER_POI

◆ DEFAULT_LINEWIDTH

const double Shape::DEFAULT_LINEWIDTH = 1
staticinherited

Definition at line 44 of file Shape.h.

Referenced by ShapeHandler::addPoly().

◆ DEFAULT_RELATIVEPATH

const bool Shape::DEFAULT_RELATIVEPATH = false
staticinherited

◆ DEFAULT_TYPE

const std::string Shape::DEFAULT_TYPE = ""
staticinherited

@nane default shape's values

Definition at line 42 of file Shape.h.

Referenced by ShapeHandler::addPoly(), and GNEAttributeCarrier::fillShapes().

◆ INVALID

const Position Position::INVALID
staticinherited

used to indicate that a position is valid

Definition at line 284 of file Position.h.

Referenced by NIXMLNodesHandler::addJoinCluster(), MSVehicle::addStop(), MSPModel_Striping::addVehicleFoe(), NBNodeShapeComputer::badIntersection(), NBNode::bezierControlPoints(), GNEGeometry::calculateLaneGeometricPath(), MSVehicle::computeAngle(), MSLaneChanger::continueChange(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GLHelper::drawShapeDottedContourPartialShapes(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::executeMove(), PositionVector::getCentroid(), GNEGeometry::SegmentGeometry::getFirstPosition(), GUIPerson::getGUIPosition(), GNEAdditionalHandler::getLanePos(), NIXMLShapeHandler::getLanePos(), NLShapeHandler::getLanePos(), PCLoaderXML::getLanePos(), GNEGeometry::SegmentGeometry::getLastPosition(), GNEGeometry::Geometry::getPosition(), MSVehicle::getPosition(), DummyState::getPosition(), MSPModel_Striping::PState::getPosition(), MSTransportable::Stage_Driving::getPosition(), MSVehicle::getPositionAlongBestLanes(), GNEGeometry::Geometry::getRotation(), MSParkingArea::getVehiclePosition(), MSVehicle::Influencer::implicitSpeedRemote(), PolygonDynamics::initTrackedPosition(), PositionVector::intersectionPosition2D(), Position::invalidPosition(), NBNodeCont::joinNodeCluster(), PCLoaderOSM::loadIfSet(), PositionVector::move2side(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToXY(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdOk(), GNEAdditionalHandler::parseAndBuildPOI(), PositionVector::positionAtOffset(), PositionVector::positionAtOffset2D(), MSPerson::MSPersonStage_Driving::proceed(), GUISUMOAbstractView::showViewportEditor(), MSLaneChangerSublane::startChangeSublane(), PositionVector::transformToVectorCoordinates(), PolygonDynamics::update(), GNEGeometry::updateGeometricPath(), GNEPersonTrip::updateGeometry(), GNERide::updateGeometry(), GNEWalk::updateGeometry(), GNEGeometry::Geometry::updateGeometryShape(), GNEPersonTrip::updatePartialGeometry(), GNERide::updatePartialGeometry(), GNEWalk::updatePartialGeometry(), MSVehicle::updateState(), and MSVehicle::validatePosition().

◆ myColor

RGBColor Shape::myColor
privateinherited

The color of the Shape.

Definition at line 174 of file Shape.h.

Referenced by Shape::getShapeColor(), Shape::setShapeAlpha(), and Shape::setShapeColor().

◆ myGeo

bool PointOfInterest::myGeo
protected

flag to check if POI was loaded as GEO Position (main used by netedit)

Definition at line 176 of file PointOfInterest.h.

Referenced by GNEPOI::getAttribute(), GNEPOI::setAttribute(), and GNEPOI::writeShape().

◆ myHalfImgHeight

double PointOfInterest::myHalfImgHeight
protected

The half height of the image when rendering this POI.

Definition at line 191 of file PointOfInterest.h.

Referenced by GNEPOI::drawGL(), GUIPointOfInterest::drawInnerPOI(), getCenter(), GUIPointOfInterest::getCenteringBoundary(), getHeight(), and setHeight().

◆ myHalfImgWidth

double PointOfInterest::myHalfImgWidth
protected

The half width of the image when rendering this POI.

Definition at line 188 of file PointOfInterest.h.

Referenced by GNEPOI::drawGL(), GUIPointOfInterest::drawInnerPOI(), getCenter(), GUIPointOfInterest::getCenteringBoundary(), getWidth(), and setWidth().

◆ myID

◆ myImgFile

std::string Shape::myImgFile
privateinherited

The img file (include path)

Definition at line 183 of file Shape.h.

Referenced by Shape::getShapeImgFile(), and Shape::setShapeImgFile().

◆ myLane

std::string PointOfInterest::myLane
protected

ID of lane in which this POI is placed (main used by netedit)

Definition at line 179 of file PointOfInterest.h.

Referenced by GNEPOI::getAttribute(), and GNEPOI::setAttribute().

◆ myLayer

double Shape::myLayer
privateinherited

The layer of the Shape.

Definition at line 177 of file Shape.h.

Referenced by Shape::getShapeLayer(), and Shape::setShapeLayer().

◆ myMap

◆ myNaviDegreeAngle

double Shape::myNaviDegreeAngle
privateinherited

The angle of the Shape.

Definition at line 180 of file Shape.h.

Referenced by Shape::getShapeNaviDegree(), and Shape::setShapeNaviDegree().

◆ myPosLat

double PointOfInterest::myPosLat
protected

latereal position over lane in which this POI is placed (main used by netedit)

Definition at line 185 of file PointOfInterest.h.

Referenced by GNEPOI::getAttribute(), GNEPOI::setAttribute(), GNEPOI::updateGeometry(), and GNEPOI::writeShape().

◆ myPosOverLane

double PointOfInterest::myPosOverLane
protected

position over lane in which this POI is placed (main used by netedit)

Definition at line 182 of file PointOfInterest.h.

Referenced by GNEPOI::commitGeometryMoving(), GNEPOI::getAttribute(), GNEPOI::moveGeometry(), GNEPOI::setAttribute(), GNEPOI::updateGeometry(), and GNEPOI::writeShape().

◆ myRelativePath

bool Shape::myRelativePath
privateinherited

Enable or disable save imgFile as relative path.

Definition at line 186 of file Shape.h.

Referenced by Shape::getShapeRelativePath(), and Shape::setShapeRelativePath().

◆ myType

std::string Shape::myType
privateinherited

The type of the Shape.

Definition at line 171 of file Shape.h.

Referenced by Shape::getShapeType(), and Shape::setShapeType().

◆ myX

◆ myY

◆ myZ


The documentation for this class was generated from the following file: