|
| void | addRegulatoryElement (RegulatoryElementPtr regElem) |
| | Add a new regulatory element. More...
|
| |
| Lanelet | invert () const |
| | non-const version to invert a lanelet More...
|
| |
| | Lanelet ()=default |
| |
| | Lanelet (const LaneletDataPtr &data, bool inverted) |
| |
| | Lanelet (const std::shared_ptr< const LaneletData > &, bool inverted)=delete |
| |
| LineString3d | leftBound () |
| | Get the left bound. More...
|
| |
| LineString2d | leftBound2d () |
| | get the left bound in 2d. To be used over leftBound where geometric calculations are required. More...
|
| |
| LineString3d | leftBound3d () |
| | get the left bound in 3d. To be used over leftBound where geometric calculations are required. More...
|
| |
| | Primitive ()=default |
| |
| | Primitive (const Primitive &rhs) noexcept |
| |
| template<typename OtherT > |
| | Primitive (const Primitive< OtherT > &rhs) |
| | Construct from another primitive. Only works if both share the same. More...
|
| |
| | Primitive (const std::shared_ptr< const DataType > &)=delete |
| |
| | Primitive (const std::shared_ptr< DataType > &data) |
| | Construct a new primitive from shared_ptr to its data. More...
|
| |
| | Primitive (Primitive &&rhs) noexcept |
| |
| const RegulatoryElementPtrs & | regulatoryElements () |
| | Return regulatoryElements that affect this lanelet. More...
|
| |
| template<typename RegElemT > |
| std::vector< std::shared_ptr< RegElemT > > | regulatoryElementsAs () |
| | Get the regulatoryElements that could be converted to RegElemT. More...
|
| |
| bool | removeRegulatoryElement (const RegulatoryElementPtr ®Elem) |
| | Removes a regulatory element, returns true on success. More...
|
| |
| LineString3d | rightBound () |
| | Get the right bound. More...
|
| |
| ConstLineString3d | rightBound () const |
| | get the right bound. More...
|
| |
| LineString2d | rightBound2d () |
| | get the right bound in 2d. To be used over rightBound where geometric calculations are required. More...
|
| |
| LineString3d | rightBound3d () |
| | get the right bound in 3d. To be used over rightBound where geometric calculations are required. More...
|
| |
| void | setCenterline (const LineString3d ¢erline) |
| |
| void | setLeftBound (const LineString3d &bound) |
| | Sets a new left bound and resets the cached centerline. More...
|
| |
| void | setRightBound (const LineString3d &bound) |
| | Sets a new right bound and resets the cached centerline. More...
|
| |
| AttributeMap & | attributes () noexcept |
| | get the attributes in a mutable way More...
|
| |
| | Primitive ()=default |
| |
| | Primitive (const Primitive< OtherT > &rhs) |
| | Construct from another primitive. Only works if both share the same. More...
|
| |
| | Primitive (const std::shared_ptr< const DataType > &)=delete |
| |
| | Primitive (const std::shared_ptr< DataType > &data) |
| | Construct a new primitive from shared_ptr to its data. More...
|
| |
| void | setAttribute (AttributeName name, const Attribute &attribute) |
| | set or overwrite an attribute (enum version) More...
|
| |
| void | setAttribute (const std::string &name, const Attribute &attribute) |
| | set or overwrite an attribute More...
|
| |
| void | setId (Id id) noexcept |
| | set a new id for this primitive More...
|
| |
| ConstLineString3d | centerline () const |
| | get the (cached) centerline of this lanelet. More...
|
| |
| ConstLineString2d | centerline2d () const |
| | get the (cached) centerline of this lanelet in 2d. To be used in context of geometric calculations. More...
|
| |
| ConstLineString3d | centerline3d () const |
| | get the (cached) centerline of this lanelet in 3d. To be used in context of geometric calculations. More...
|
| |
| | ConstLanelet (const std::shared_ptr< const LaneletData > &data, bool inverted=false) |
| | Construct from the data of a different Lanelet. More...
|
| |
| | ConstLanelet (Id id, const LineString3d &leftBound, const LineString3d &rightBound, const AttributeMap &attributes=AttributeMap(), const RegulatoryElementPtrs ®ulatoryElements=RegulatoryElementPtrs()) |
| | Constructs a lanelet from id, attributes, regulatoryElements and bounds. More...
|
| |
| | ConstLanelet (Id id=InvalId) |
| | Constructs an empty or invalid lanelet. More...
|
| |
| bool | hasCustomCenterline () const |
| | Returns whether the centerline has been overridden by setCenterline. More...
|
| |
| ConstLanelet | invert () const |
| | returns the inverted lanelet More...
|
| |
| bool | inverted () const |
| | returns if this is an inverted lanelet More...
|
| |
| ConstLineString3d | leftBound () const |
| | get the left bound. More...
|
| |
| ConstLineString2d | leftBound2d () const |
| | get the left bound in 2d. To be used over leftBound where geometric calculations are required. More...
|
| |
| ConstLineString3d | leftBound3d () const |
| | get the left bound in 3d. To be used over leftBound where geometric calculations are required. More...
|
| |
| CompoundPolygon2d | polygon2d () const |
| | returns the surface covered by this lanelet as 2-dimensional polygon. More...
|
| |
| CompoundPolygon3d | polygon3d () const |
| | returns the surface covered by this lanelet as 3-dimensional polygon. More...
|
| |
| RegulatoryElementConstPtrs | regulatoryElements () const |
| | get a list of regulatory elements that affect this lanelet More...
|
| |
| template<typename RegElemT > |
| std::vector< std::shared_ptr< const RegElemT > > | regulatoryElementsAs () const |
| | get the regulatoryElements that could be converted to RegElemT More...
|
| |
| void | resetCache () const |
| | resets the internal cache of the centerline More...
|
| |
| ConstLineString3d | rightBound () const |
| | get the right bound. More...
|
| |
| ConstLineString2d | rightBound2d () const |
| | get the right bound in 2d. To be used over rightBound where geometric calculations are required. More...
|
| |
| ConstLineString3d | rightBound3d () const |
| | get the right bound in 3d. To be used over rightBound where geometric calculations are required. More...
|
| |
| const Attribute & | attribute (AttributeName name) const |
| | retrieve an attribute (enum version) More...
|
| |
| const Attribute & | attribute (const std::string &name) const |
| | retrieve an attribute More...
|
| |
| T | attributeOr (AttributeName name, T defaultVal) const |
| | retrieve an attribute (enum version) More...
|
| |
| T | attributeOr (const std::string &name, T defaultVal) const noexcept |
| | retrieve an attribute (string version) More...
|
| |
| const AttributeMap & | attributes () const |
| | get the attributes of this primitive More...
|
| |
| const std::shared_ptr< const LaneletData > & | constData () const |
| | get the internal data of this primitive More...
|
| |
| | ConstPrimitive (const std::shared_ptr< const LaneletData > &data) |
| | Construct from a pointer to the data. More...
|
| |
| bool | hasAttribute (AttributeName name) const noexcept |
| | check for an attribute (enum version) More...
|
| |
| bool | hasAttribute (const std::string &name) const noexcept |
| | check whether this primitive has a specific attribute More...
|
| |
| Id | id () const noexcept |
| | get the unique id of this primitive More...
|
| |
| bool | operator!= (const ConstPrimitive &rhs) const |
| |
| bool | operator== (const ConstPrimitive &rhs) const |
| |
The famous (mutable) lanelet class.
Definition at line 221 of file primitives/Lanelet.h.