45 #ifdef CHECK_MEMORY_LEAKS
47 #endif // CHECK_MEMORY_LEAKS
74 for (std::vector<std::string>::const_iterator it = list.begin(); it != list.end(); ++it) {
83 const std::string& rootElement,
85 const std::string& ) {
144 if (into.precision() == 2 && val < 2e7 && val > -2e7) {
184 if (into.precision() == 2 && val.
x() < 2e7 && val.
x() > -2e7 &&
185 val.
y() < 2e7 && val.
y() > -2e7 && val.
z() < 2e7 && val.
z() > -2e7) {
197 if (into.precision() == 2 && val.
x() < 2e7 && val.
x() > -2e7 &&
198 val.
y() < 2e7 && val.
y() > -2e7) {
223 for (PositionVector::const_iterator pos = val.begin(); pos != val.end(); ++pos) {
253 for (std::vector<int>::const_iterator it = val.begin(); it != val.end(); ++it) {
SumoXMLTag
Numbers representing SUMO-XML - element names.
static StringBijection< SumoXMLNodeType > NodeTypes
SUMOReal ymin() const
Returns minimum y-coordinate.
static std::ostream & writeFloat(std::ostream &strm, SUMOReal value)
Writes a float binary.
SUMOReal xmin() const
Returns minimum x-coordinate.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
SUMOReal x() const
Returns the x-position.
SUMOReal xmax() const
Returns maximum x-coordinate.
A class that stores a 2D geometrical boundary.
unsigned char blue() const
Returns the blue-amount of the color.
A point in 2D or 3D with translation and scaling methods.
unsigned char alpha() const
Returns the alpha-amount of the color.
SUMOReal z() const
Returns the z-position.
static std::ostream & writeInt(std::ostream &strm, int value)
Writes an integer binary.
static std::ostream & writeByte(std::ostream &strm, unsigned char value)
Writes a byte binary.
SumoXMLNodeType
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used ...
static StringBijection< int > Attrs
The names of SUMO-XML attributes for use in netbuild.
SUMOReal y() const
Returns the y-position.
SumoXMLEdgeFunc
Numbers representing special SUMO-XML-attribute values for representing edge functions used in netbui...
unsigned char green() const
Returns the green-amount of the color.
SUMOReal ymax() const
Returns maximum y-coordinate.
static StringBijection< int > Tags
The names of SUMO-XML elements for use in netbuild.
static StringBijection< SumoXMLEdgeFunc > EdgeFunctions
unsigned char red() const
Returns the red-amount of the color.
static std::ostream & writeString(std::ostream &strm, const std::string &value)
Writes a string binary.