maliput_sparse
Segment Struct Reference

Detailed Description

A segment is a collection of lanes added with a strict order, from right to left, similarly to maliput::api::Segment abstraction.

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

Public Types

using Id = std::string
 

Public Member Functions

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

Public Attributes

Id id {}
 Id of the segment. More...
 
std::vector< Lanelanes
 Collection of lanes that compose the segment. More...
 

Member Typedef Documentation

◆ Id

using Id = std::string

Member Function Documentation

◆ operator==()

bool operator== ( const Segment other) const

Equality operator.

Parameters
otherThe other object to compare against.

Member Data Documentation

◆ id

Id id {}

Id of the segment.

◆ lanes

std::vector<Lane> lanes

Collection of lanes that compose the segment.


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