Class AreaData

Inheritance Relationships

Base Type

Class Documentation

class AreaData : public lanelet::PrimitiveData

Common data management class for all Area-Typed objects.

Public Functions

inline AreaData(Id id, LineStrings3d outerBound, std::vector<LineStrings3d> innerBounds = std::vector<LineStrings3d>(), AttributeMap attributes = AttributeMap(), RegulatoryElementPtrs regulatoryElements = RegulatoryElementPtrs())

Constructs a new, AreaData object.

inline ConstLineStrings3d outerBound() const
inline ConstInnerBounds innerBounds() const
inline const LineStrings3d &outerBound()
inline const InnerBounds &innerBounds()
inline const CompoundPolygon3d &outerBoundPolygon() const
inline const CompoundPolygons3d &innerBoundPolygons() const
inline RegulatoryElementConstPtrs regulatoryElements() const
inline RegulatoryElementPtrs &regulatoryElements()
template<typename RegElemT>
inline std::vector<std::shared_ptr<const RegElemT>> regulatoryElementsAs() const
template<typename RegElemT>
inline std::vector<std::shared_ptr<RegElemT>> regulatoryElementsAs()
inline void setOuterBound(const LineStrings3d &bound)

sets a new outer bound.

inline void setInnerBounds(const std::vector<LineStrings3d> &bounds)
inline void resetCache()