 |
Eclipse SUMO - Simulation of Urban MObility
|
static const RGBColor GREY
Static storage of an output device and its base (abstract) implementation.
const std::string & getString(const T key) const
StringBijection< NBSign::SignType >::Entry signTypeStringsInitializer[]
static const RGBColor YELLOW
begin/end of the description of a Point of interest
The representation of a single edge during network building.
bool closeTag(const std::string &comment="")
Closes the most recently opened tag and optionally adds a comment.
double myOffset
The offset of the sign from the start of its edge.
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
NBSign(SignType type, double offset, const std::string label="")
Constructor with id, and position.
Position positionAtOffset(double pos, double lateralOffset=0) const
Returns the position at the given length.
static const RGBColor BLUE
A point in 2D or 3D with translation and scaling methods.
double x() const
Returns the x-position.
static const RGBColor RED
named colors
SignType myType
the type of the sign
const std::vector< NBEdge::Lane > & getLanes() const
Returns the lane definitions.
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
double y() const
Returns the y-position.
void writeAsPOI(OutputDevice &into, const NBEdge *edge) const
write into device as POI positioned relative to the given edge
static StringBijection< SignType > SignTypeStrings
void move2side(double amount, double maxExtension=100)
move position vector to side using certain ammount
const std::string & getID() const