maliput_sparse
Lane Struct Reference

Detailed Description

Contains the characteristics of a lane.

#include <include/maliput_sparse/parser/lane.h>

Public Types

using Id = std::string
 

Public Member Functions

bool operator== (const Lane &other) const
 Equality operator. More...
 

Public Attributes

Id id {}
 Id of the lane. More...
 
geometry::LineString3d left
 The lane's left boundary. More...
 
geometry::LineString3d right
 The lane's right boundary. More...
 
std::optional< Idleft_lane_id
 The id of the lane to the left of this lane. More...
 
std::optional< Idright_lane_id
 The id of the lane to the right of this lane. More...
 
std::unordered_map< Id, LaneEndsuccessors
 The ids of the lanes that follow this lane. More...
 
std::unordered_map< Id, LaneEndpredecessors
 The ids of the lanes that precede this lane. More...
 

Member Typedef Documentation

◆ Id

using Id = std::string

Member Function Documentation

◆ operator==()

bool operator== ( const Lane other) const

Equality operator.

Parameters
otherThe other object to compare against.

Member Data Documentation

◆ id

Id id {}

Id of the lane.

◆ left

The lane's left boundary.

◆ left_lane_id

std::optional<Id> left_lane_id

The id of the lane to the left of this lane.

◆ predecessors

std::unordered_map<Id, LaneEnd> predecessors

The ids of the lanes that precede this lane.

◆ right

The lane's right boundary.

◆ right_lane_id

std::optional<Id> right_lane_id

The id of the lane to the right of this lane.

◆ successors

std::unordered_map<Id, LaneEnd> successors

The ids of the lanes that follow this lane.


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