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