![]() |
Classes | |
class | lanelet::ConstArea |
A const (i.e. immutable) Area. More... | |
class | lanelet::ConstHybridLineString2d |
A Linestring that returns BasicPoint2d instead of Point2d. More... | |
class | lanelet::ConstHybridLineString3d |
A Linestring that returns BasicPoint3d instead of Point3d. More... | |
class | lanelet::ConstHybridPolygon2d |
Polygon with access to primitive points. More... | |
class | lanelet::ConstHybridPolygon3d |
Polygon with access to primitive points. More... | |
class | lanelet::ConstLanelet |
An immutable lanelet. More... | |
class | lanelet::ConstLineString2d |
A normal 2d linestring with immutable data. More... | |
class | lanelet::ConstLineString3d |
A normal 3d linestring with immutable data. More... | |
class | lanelet::ConstPoint2d |
An immutable 2d point. More... | |
class | lanelet::ConstPoint3d |
An immutable 3d point. More... | |
class | lanelet::ConstPolygon2d |
An immutable clockwise oriented, open (ie start point != end point) polygon in 2d. More... | |
class | lanelet::ConstPolygon3d |
An immutable clockwise oriented, open (ie start point != end point) polygon in 3d. More... | |
class | lanelet::RegulatoryElement |
A general rule or limitation for a lanelet (abstract base class) More... | |
All lanelet primitives are defined in a mutable and an immutable version (see also Lanelet Primitives). All primitives can be converted to their const version but not vice versa. Each primitive represents one of lanelet2's basic types.
All ConstPrimitives have in common that they usually only have one data member: a shared pointer to the actual data of the primitve. Copying them is therefore extremely cheap. This also ensures that if a primitive is modified, all existing copies will also be affected.
They have in common that they have a unique ID and attributes in the form of key-value pairs. They all derive from the ConstPrimitive template class.