Class Area
Defined in File Area.h
Inheritance Relationships
Base Type
public lanelet::Primitive< ConstArea >
(Template Class Primitive)
Class Documentation
-
class Area : public lanelet::Primitive<ConstArea>
Famous Area class that represents a basic area as element of the map.
Public Functions
-
Area() = default
-
Area(const AreaDataConstPtr&) = delete
-
inline explicit Area(const AreaDataPtr &data)
-
inline const LineStrings3d &outerBound()
Get linestrings that form the outer bound.
-
inline const InnerBounds &innerBounds()
Get the linestrings that form the inner bound.
-
inline void setOuterBound(const LineStrings3d &bound)
Sets a new outer bound and resets the cache.
-
inline void setInnerBounds(const std::vector<LineStrings3d> &bounds)
sets a new inner bound and resets the cache
-
inline const RegulatoryElementPtrs ®ulatoryElements()
return regulatoryElements that affect this area.
-
inline void addRegulatoryElement(RegulatoryElementPtr regElem)
adds a new regulatory element
- Throws:
nullptr – error if regElem is a nullptr
-
inline bool removeRegulatoryElement(const RegulatoryElementPtr ®Elem)
removes a regulatory element, returns true on success
get the regulatoryElements that could be converted to RegElemT
-
Primitive() = default
Construct a new primitive from shared_ptr to its data.
Friends
- friend class ConstWeakArea
- friend class Primitive
-
Area() = default