maliput
LanePositionResult Struct Reference

Detailed Description

Included in the return result of Lane::ToLanePosition().

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

Public Attributes

LanePosition lane_position
 The candidate LanePosition within the Lane' lane-bounds or segment-bounds depending if ToLanePosition or ToSegmentPosition respectively, was called. More...
 
InertialPosition nearest_position
 The position that exactly corresponds to lane_position. More...
 
double distance {}
 The Cartesian distance between nearest_position and the inertial_position supplied to Lane::ToLanePosition() / Lane::ToSegmentPosition. More...
 

Member Data Documentation

◆ distance

double distance {}

The Cartesian distance between nearest_position and the inertial_position supplied to Lane::ToLanePosition() / Lane::ToSegmentPosition.

◆ lane_position

LanePosition lane_position

The candidate LanePosition within the Lane' lane-bounds or segment-bounds depending if ToLanePosition or ToSegmentPosition respectively, was called.

The LanePosition is closest to a inertial_position supplied to Lane::ToLanePosition() (measured by the Cartesian metric in the Inertial-frame).

◆ nearest_position

InertialPosition nearest_position

The position that exactly corresponds to lane_position.


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