maliput_sparse
Junction Struct Reference

Detailed Description

Convenient abstraction for grouping segments.

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

Public Types

using Id = std::string
 

Public Member Functions

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

Public Attributes

Id id {}
 Id of the Junction. More...
 
std::unordered_map< Segment::Id, Segmentsegments {}
 Collection of segments that compose the Junction. More...
 

Member Typedef Documentation

◆ Id

using Id = std::string

Member Function Documentation

◆ operator==()

bool operator== ( const Junction other) const

Equality operator.

Parameters
otherThe other object to compare against.

Member Data Documentation

◆ id

Id id {}

Id of the Junction.

◆ segments

std::unordered_map<Segment::Id, Segment> segments {}

Collection of segments that compose the Junction.


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