RoadPosition Struct Reference

Detailed Description

A position in the road network, consisting of a pointer to a specific Lane and a Lane-frame position in that Lane.

#include <include/maliput/api/lane_data.h>

Public Member Functions

 RoadPosition ()=default
 Default constructor. More...
 RoadPosition (const Lane *_lane, const LanePosition &_pos)
 Fully parameterized constructor. More...
InertialPosition ToInertialPosition () const
 Indirection to #api::Lane::ToInertialPosition() method. More...

Public Attributes

const Lanelane {}
LanePosition pos

Constructor & Destructor Documentation

◆ RoadPosition() [1/2]

RoadPosition ( )

Default constructor.

◆ RoadPosition() [2/2]

RoadPosition ( const Lane _lane,
const LanePosition _pos 

Fully parameterized constructor.

Member Function Documentation

◆ ToInertialPosition()

InertialPosition ToInertialPosition ( ) const

Indirection to #api::Lane::ToInertialPosition() method.

The InertialPosition that corresponds to lane and pos.
Whenmember lane is nullptr.

Member Data Documentation

◆ lane

const Lane* lane {}

◆ pos

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