Class CompoundHybridPolygon3d

Inheritance Relationships

Base Type

Class Documentation

class CompoundHybridPolygon3d : public lanelet::CompoundLineStringImpl<BasicPoint3d>

Combines multiple linestrings to one polygon in 3d that returns BasicPoint3d.

Public Types

using TwoDType = CompoundHybridPolygon2d
using ThreeDType = CompoundHybridPolygon3d
using ConstType = CompoundHybridPolygon3d
using HybridType = CompoundHybridPolygon3d
using MutableType = void
using Category = traits::PolygonTag

Public Functions

inline explicit CompoundHybridPolygon3d(const CompoundHybridLineStrings3d &other)
inline explicit CompoundHybridPolygon3d(const CompoundHybridPolygons3d &other)
CompoundHybridPolygon3d() = default
inline explicit CompoundHybridPolygon3d(const CompoundHybridLineString3d &other)
inline explicit operator CompoundHybridLineString3d() const
inline size_t numSegments() const noexcept

Returns the number of (geometrically valid) segments.

BasicLineString basicLineString() = delete
inline BasicPolygon3d 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