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