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