ad_map_access
Public Types | Public Member Functions | Public Attributes | List of all members
ad::map::point::ParaPoint Struct Reference

DataType ParaPoint. More...

#include <ad/map/point/ParaPoint.hpp>

Collaboration diagram for ad::map::point::ParaPoint:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< ParaPointPtr
 Smart pointer on ParaPoint.
 
typedef std::shared_ptr< ParaPoint const > ConstPtr
 Smart pointer on constant ParaPoint.
 

Public Member Functions

 ParaPoint ()=default
 standard constructor
 
 ~ParaPoint ()=default
 standard destructor
 
 ParaPoint (const ParaPoint &other)=default
 standard copy constructor
 
 ParaPoint (ParaPoint &&other)=default
 standard move constructor
 
ParaPointoperator= (const ParaPoint &other)=default
 standard assignment operator More...
 
ParaPointoperator= (ParaPoint &&other)=default
 standard move operator More...
 
bool operator== (const ParaPoint &other) const
 standard comparison operator More...
 
bool operator!= (const ParaPoint &other) const
 standard comparison operator More...
 

Public Attributes

::ad::map::lane::LaneId laneId {0}
 
::ad::physics::ParametricValue parametricOffset
 

Detailed Description

DataType ParaPoint.

Defines a parametric point on a lane of the map. The parametric offset refers to the lanes geometrical representation. Be aware: It is independent from the logical nominal driving direction of a lane.

Member Function Documentation

◆ operator!=()

bool ad::map::point::ParaPoint::operator!= ( const ParaPoint other) const
inline

standard comparison operator

Parameters
[in]otherOther ParaPoint.
Returns
true if both ParaPoint are different

◆ operator=() [1/2]

ParaPoint& ad::map::point::ParaPoint::operator= ( const ParaPoint other)
default

standard assignment operator

Parameters
[in]otherOther ParaPoint
Returns
Reference to this ParaPoint.

◆ operator=() [2/2]

ParaPoint& ad::map::point::ParaPoint::operator= ( ParaPoint &&  other)
default

standard move operator

Parameters
[in]otherOther ParaPoint
Returns
Reference to this ParaPoint.

◆ operator==()

bool ad::map::point::ParaPoint::operator== ( const ParaPoint other) const
inline

standard comparison operator

Parameters
[in]otherOther ParaPoint
Returns
true if both ParaPoint are equal

Member Data Documentation

◆ laneId

::ad::map::lane::LaneId ad::map::point::ParaPoint::laneId {0}

The id of the lane this parametric point belongs to.

◆ parametricOffset

::ad::physics::ParametricValue ad::map::point::ParaPoint::parametricOffset

The parametric offset in the range of [0;1] within the lane's geometry as defined in the map. 0.0 refers to the start of the lanes points. 1.0 refers to the end of the lanes points. 0.5 refers to in between at half length of the lane. Be aware: Depending on the route direction on the lane either the parametric offset 0.0 or 1.0 can define the start point of that route on that lane.


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