Combines multiple linestrings to one polygon in 2d that returns BasicPoint2d. More...
#include <CompoundPolygon.h>

Public Types | |
| using | Category = traits::PolygonTag |
| using | ConstType = CompoundHybridPolygon2d |
| using | HybridType = CompoundHybridPolygon2d |
| using | MutableType = void |
| using | ThreeDType = CompoundHybridPolygon3d |
| using | TwoDType = CompoundHybridPolygon2d |
Public Types inherited from lanelet::CompoundLineStringImpl< BasicPoint2d > | |
| using | BasicIterator = internal::TransformIterator< RFIter, const BasicPointType > |
| using | BasicLineString = internal::SelectBasicLineStringT< BasicPointType > |
| using | BasicPointType = traits::BasicPointT< BasicPoint2d > |
| using | Category = traits::LineStringTag |
| using | const_iterator = internal::SelectCompoundLsIteratorT< ConstPointType > |
| using | ConstPointType = traits::ConstPointT< BasicPoint2d > |
| using | DataType = CompoundLineStringData |
| using | iterator = const_iterator |
| using | PointType = BasicPoint2d |
| using | SegmentType = Segment< ConstPointType > |
Public Member Functions | |
| BasicLineString | basicLineString ()=delete |
| BasicPolygon2d | basicPolygon () const |
| CompoundHybridPolygon2d (const CompoundHybridPolygons2d &other) | |
| CompoundHybridPolygon2d (const CompoundHybridLineStrings2d &other) | |
| CompoundHybridPolygon2d ()=default | |
| CompoundHybridPolygon2d (const CompoundHybridLineString2d &other) | |
| size_t | numSegments () const noexcept |
| Returns the number of (geometrically valid) segments. More... | |
| operator CompoundHybridLineString2d () const | |
Public Member Functions inherited from lanelet::CompoundLineStringImpl< BasicPoint2d > | |
| const PointType & | back () const noexcept |
| returns the last point of the last linestring More... | |
| BasicIterator | basicBegin () const |
| returns a normal iterator to the internal point type at begin More... | |
| BasicIterator | basicEnd () const |
| returns a normal iterator for the internal point type at end More... | |
| BasicLineString | basicLineString () const |
| create a basic linestring from this linestring More... | |
| const_iterator | begin () const noexcept |
| returns an iterator to the start of the points More... | |
| CompoundLineStringImpl (const ConstLineStrings3d &ls=ConstLineStrings3d()) | |
| Construct from a vector of ConstLineString3d. More... | |
| CompoundLineStringImpl (const std::vector< OtherT > &lss) | |
| Construct from a vector of LineStrings or CompoundLineStrings. More... | |
| CompoundLineStringImpl (CompoundLineStringDataConstPtr data, bool inverted) | |
| Internal construction from data pointer. More... | |
| CompoundLineStringImpl (const CompoundLineStringImpl< OtherT > &other) | |
| construct from other CompoundLineString More... | |
| CompoundLineStringImpl (CompoundLineStringImpl &&rhs) noexcept=default | |
| CompoundLineStringImpl (const CompoundLineStringImpl &rhs)=default | |
| std::shared_ptr< const CompoundLineStringData > | constData () const noexcept |
| returns the internal data on the linestrings managed by this object More... | |
| bool | empty () const noexcept |
| return whether this contains any points More... | |
| const_iterator | end () const noexcept |
| returns an iterator to end of the points More... | |
| const PointType & | front () const noexcept |
| returns the first point of the first linestring More... | |
| Ids | ids () const |
| returns the ids of all linestrings in order More... | |
| bool | inverted () const noexcept |
| returns whether this is an inverted CompoundLineString More... | |
| ConstLineStrings3d | lineStrings () const |
| size_t | numSegments () const noexcept |
| Returns the number of (geometrically valid) segments. More... | |
| CompoundLineStringImpl & | operator= (CompoundLineStringImpl &&rhs) noexcept=default |
| CompoundLineStringImpl & | operator= (const CompoundLineStringImpl &rhs)=default |
| const PointType & | operator[] (size_t idx) const |
| returns the point at this position More... | |
| SegmentType | segment (size_t idx) const noexcept |
| returns the n-th segment. If n equals size() -1, the segment from back() to front() is returned. More... | |
| size_t | size () const noexcept |
| return the total number of unique points More... | |
| ~CompoundLineStringImpl () noexcept=default | |
Additional Inherited Members | |
Static Public Attributes inherited from lanelet::CompoundLineStringImpl< BasicPoint2d > | |
| static constexpr traits::Dimensions | Dimension |
Combines multiple linestrings to one polygon in 2d that returns BasicPoint2d.
Definition at line 71 of file CompoundPolygon.h.
Definition at line 79 of file CompoundPolygon.h.
Definition at line 77 of file CompoundPolygon.h.
Definition at line 76 of file CompoundPolygon.h.
| using lanelet::CompoundHybridPolygon2d::MutableType = void |
Definition at line 78 of file CompoundPolygon.h.
Definition at line 75 of file CompoundPolygon.h.
Definition at line 74 of file CompoundPolygon.h.
|
inlineexplicit |
Definition at line 81 of file CompoundPolygon.h.
|
inlineexplicit |
Definition at line 83 of file CompoundPolygon.h.
|
default |
|
inlineexplicit |
Definition at line 87 of file CompoundPolygon.h.
|
delete |
|
inline |
Definition at line 92 of file CompoundPolygon.h.
|
inlinenoexcept |
Returns the number of (geometrically valid) segments.
Definition at line 90 of file CompoundPolygon.h.
|
inlineexplicit |
Definition at line 88 of file CompoundPolygon.h.