Class CompoundHybridPolygon2d
Defined in File CompoundPolygon.h
Inheritance Relationships
Base Type
public lanelet::CompoundLineStringImpl< BasicPoint2d >
(Template Class CompoundLineStringImpl)
Class Documentation
-
class CompoundHybridPolygon2d : public lanelet::CompoundLineStringImpl<BasicPoint2d>
Combines multiple linestrings to one polygon in 2d that returns BasicPoint2d.
Public Types
-
using TwoDType = CompoundHybridPolygon2d
-
using ThreeDType = CompoundHybridPolygon3d
-
using HybridType = CompoundHybridPolygon2d
-
using ConstType = CompoundHybridPolygon2d
-
using MutableType = void
-
using Category = traits::PolygonTag
Public Functions
-
inline explicit CompoundHybridPolygon2d(const CompoundHybridPolygons2d &other)
-
inline explicit CompoundHybridPolygon2d(const CompoundHybridLineStrings2d &other)
-
CompoundHybridPolygon2d() = default
-
inline explicit CompoundHybridPolygon2d(const CompoundHybridLineString2d &other)
-
inline explicit operator CompoundHybridLineString2d() const
-
inline size_t numSegments() const noexcept
Returns the number of (geometrically valid) segments.
-
BasicLineString basicLineString() = delete
-
inline BasicPolygon2d basicPolygon() const
-
inline explicit CompoundLineStringImpl(const ConstLineStrings3d &ls = ConstLineStrings3d())
Construct from a vector of ConstLineString3d.
- Parameters:
ls – objects to construct from. The order will also be the order of the linestrings.
-
template<typename OtherT, typename = IfLS<OtherT, void>>
inline explicit CompoundLineStringImpl(const std::vector<OtherT> &lss) Construct from a vector of LineStrings or CompoundLineStrings.
-
inline CompoundLineStringImpl(CompoundLineStringDataConstPtr data, bool inverted)
Internal construction from data pointer.
-
template<typename OtherT>
inline explicit CompoundLineStringImpl(const CompoundLineStringImpl<OtherT> &other) construct from other CompoundLineString
-
CompoundLineStringImpl(CompoundLineStringImpl &&rhs) noexcept = default
-
CompoundLineStringImpl(const CompoundLineStringImpl &rhs) = default
-
using TwoDType = CompoundHybridPolygon2d