45 :
Named(id), myXID(-1), myYID(-1), myAmCenter(false), myAmFringe(false) {}
49 :
Named(id), myXID(xIDa), myYID(yIDa), myAmCenter(false), myAmFringe(false) {}
53 :
Named(id), myXID(xIDa), myYID(yIDa), myAmCenter(amCenter), myAmFringe(false) {}
57 NGEdgeList::iterator li;
119 if (ngEdge->getStartNode() ==
this && ngEdge->getEndNode() == node) {
122 if (!withDir && ngEdge->getEndNode() ==
this && ngEdge->getStartNode() == node) {
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
bool x2cartesian(Position &from, bool includeInBoundary=true)
Converts the given coordinate into a cartesian and optionally update myConvBoundary.
static GeoConvHelper & getProcessing()
the coordinate transformation to use for input conversion and processing
Instance responsible for building networks.
NBTrafficLightLogicCont & getTLLogicCont()
Returns a reference to the traffic light logics container.
Represents a single node (junction) during network building.
bool isTrafficLight() const
void setFringeType(FringeType fringeType)
set method for computing right-of-way
A traffic light logics which must be computed (only nodes/edges are given)
The base class for traffic light logic definitions.
bool insert(NBTrafficLightDefinition *logic, bool forceInsert=false)
Adds a logic definition to the dictionary.
A netgen-representation of an edge.
A netgen-representation of a node.
bool connected(const NGNode *const node, const bool withDir=false) const
Returns whether the other node is connected.
NGEdgeList myLinkList
List of connected links.
NGNode(const std::string &id)
Constructor.
NBNode * buildNBNode(NBNetBuilder &nb, const Position &perturb) const
Builds and returns this node's netbuild-representation.
bool myAmCenter
Information whether this is the center of a cpider-net.
Position myPosition
The position of the node.
bool myAmFringe
Information whether this is the center of a cpider-net.
void addLink(NGEdge *link)
Adds the given link to the internal list.
void removeLink(NGEdge *link)
Removes the given link.
Base class for objects which have an id.
std::string myID
The name of the object.
bool isSet(const std::string &name, bool failOnNonExistant=true) const
Returns the information whether the named option is set.
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
static OptionsCont & getOptions()
Retrieves the options.
A point in 2D or 3D with translation and scaling methods.
static StringBijection< SumoXMLNodeType > NodeTypes
node types
static StringBijection< TrafficLightType > TrafficLightTypes
traffic light types
T get(const std::string &str) const