Class ConstLineString3d

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class ConstLineString3d : public lanelet::ConstLineStringImpl<Point3d>

A normal 3d linestring with immutable data.

Subclassed by lanelet::Primitive< ConstLineString3d >, lanelet::ConstHybridLineString3d

Public Types

using ConstType = ConstLineString3d
using MutableType = LineString3d
using TwoDType = ConstLineString2d
using ThreeDType = ConstLineString3d
using HybridType = ConstHybridLineString3d

Public Functions

ConstLineString3d() = default
inline ConstLineString3d invert() const noexcept

create a new, inverted linestring from this one

inline explicit ConstLineStringImpl(Id id = InvalId, Points3d points = Points3d(), const AttributeMap &attributes = AttributeMap())

Constructs a LineString or similar from an Id and a list of points.

inline explicit ConstLineStringImpl(const std::shared_ptr<const LineStringData> &data, bool inverted = false)

Constructs a linestring from the data object of another linestring.

template<typename OtherT>
inline explicit ConstLineStringImpl(const ConstLineStringImpl<OtherT> &other)

construct from other ConstLineStrings

ConstLineStringImpl(ConstLineStringImpl &&rhs) noexcept = default
ConstLineStringImpl(const ConstLineStringImpl &rhs) = default