Public Types | Public Member Functions | Private Attributes | List of all members
lanelet::LineStringData Class Reference

#include <LineString.h>

Inheritance diagram for lanelet::LineStringData:
Inheritance graph
[legend]

Public Types

using const_iterator = internal::ReverseAndForwardIterator< Points3d::const_iterator >
 
using iterator = internal::ReverseAndForwardIterator< Points3d::iterator >
 

Public Member Functions

const ConstPoint3dat (bool inverted, size_t idx) const noexcept
 
const ConstPoint3dback (bool inverted) const noexcept
 
template<typename IteratorT = const_iterator>
IteratorT begin (bool inverted) const noexcept
 
template<typename IteratorT = iterator>
IteratorT begin (bool inverted) noexcept
 
auto empty () const noexcept
 
template<typename IteratorT = const_iterator>
IteratorT end (bool inverted) const noexcept
 
template<typename IteratorT = iterator>
IteratorT end (bool inverted) noexcept
 
const ConstPoint3dfront (bool inverted) const noexcept
 
 LineStringData (Id id)
 
 LineStringData (Id id, Points3d points, AttributeMap attributes)
 
Points3dpoints ()
 returns a reference to the points More...
 
auto size () const noexcept
 
- Public Member Functions inherited from lanelet::PrimitiveData
PrimitiveDataoperator= (const PrimitiveData &rhs)=default
 
PrimitiveDataoperator= (PrimitiveData &&rhs) noexcept=default
 
 PrimitiveData () noexcept=default
 
 PrimitiveData (const PrimitiveData &rhs)=default
 
 PrimitiveData (Id id, AttributeMap attributes=AttributeMap())
 Constructs a PrimitiveData object. More...
 
 PrimitiveData (PrimitiveData &&rhs) noexcept=default
 

Private Attributes

Points3d points_
 

Additional Inherited Members

- Public Attributes inherited from lanelet::PrimitiveData
AttributeMap attributes
 attributes of this primitive More...
 
Id id {InvalId}
 Id of this primitive (unique across one map) More...
 
- Protected Member Functions inherited from lanelet::PrimitiveData
 ~PrimitiveData ()=default
 

Detailed Description

Common data management class for all LineString primitives.

Definition at line 139 of file primitives/LineString.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 147 of file primitives/LineString.h.

◆ iterator

Definition at line 145 of file primitives/LineString.h.

Constructor & Destructor Documentation

◆ LineStringData() [1/2]

lanelet::LineStringData::LineStringData ( Id  id)
inlineexplicit

Definition at line 141 of file primitives/LineString.h.

◆ LineStringData() [2/2]

lanelet::LineStringData::LineStringData ( Id  id,
Points3d  points,
AttributeMap  attributes 
)
inline

Definition at line 142 of file primitives/LineString.h.

Member Function Documentation

◆ at()

const ConstPoint3d& lanelet::LineStringData::at ( bool  inverted,
size_t  idx 
) const
inlinenoexcept

Definition at line 176 of file primitives/LineString.h.

◆ back()

const ConstPoint3d& lanelet::LineStringData::back ( bool  inverted) const
inlinenoexcept

Definition at line 180 of file primitives/LineString.h.

◆ begin() [1/2]

template<typename IteratorT = const_iterator>
IteratorT lanelet::LineStringData::begin ( bool  inverted) const
inlinenoexcept

Definition at line 157 of file primitives/LineString.h.

◆ begin() [2/2]

template<typename IteratorT = iterator>
IteratorT lanelet::LineStringData::begin ( bool  inverted)
inlinenoexcept

Definition at line 162 of file primitives/LineString.h.

◆ empty()

auto lanelet::LineStringData::empty ( ) const
inlinenoexcept

Definition at line 175 of file primitives/LineString.h.

◆ end() [1/2]

template<typename IteratorT = const_iterator>
IteratorT lanelet::LineStringData::end ( bool  inverted) const
inlinenoexcept

Definition at line 167 of file primitives/LineString.h.

◆ end() [2/2]

template<typename IteratorT = iterator>
IteratorT lanelet::LineStringData::end ( bool  inverted)
inlinenoexcept

Definition at line 171 of file primitives/LineString.h.

◆ front()

const ConstPoint3d& lanelet::LineStringData::front ( bool  inverted) const
inlinenoexcept

Definition at line 179 of file primitives/LineString.h.

◆ points()

Points3d& lanelet::LineStringData::points ( )
inline

returns a reference to the points

This ignores the "inverted" property

Definition at line 154 of file primitives/LineString.h.

◆ size()

auto lanelet::LineStringData::size ( ) const
inlinenoexcept

Definition at line 174 of file primitives/LineString.h.

Member Data Documentation

◆ points_

Points3d lanelet::LineStringData::points_
private

Definition at line 183 of file primitives/LineString.h.


The documentation for this class was generated from the following file:


lanelet2_core
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:25:52