Class CompoundHybridLineString2d

Inheritance Relationships

Base Type

Class Documentation

class CompoundHybridLineString2d : public lanelet::CompoundLineStringImpl<BasicPoint2d>

A hybrid compound linestring in 2d (returns BasicPoint2d)

Public Types

using TwoDType = CompoundHybridLineString2d
using ThreeDType = CompoundHybridLineString3d
using HybridType = CompoundHybridLineString2d
using ConstType = CompoundHybridLineString2d
using MutableType = void

Public Functions

inline explicit CompoundHybridLineString2d(const CompoundHybridLineStrings2d &other)
CompoundHybridLineString2d() = default
inline CompoundHybridLineString2d invert() const noexcept

create a new, inverted linestring from this one

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