ad_map_access
|
#include <ad/map/point/ParaPoint.hpp>
Public Types | |
typedef std::shared_ptr< ParaPoint > | Ptr |
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 | |
ParaPoint & | operator= (const ParaPoint &other)=default |
standard assignment operator More... | |
ParaPoint & | operator= (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 |
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.
|
inline |
|
inline |
::ad::map::lane::LaneId ad::map::point::ParaPoint::laneId {0} |
The id of the lane this parametric point belongs to.
::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.