maliput_multilane
RoadGeometry Class Reference

Detailed Description

A simple api::RoadGeometry implementation that only supports a single lane per segment.

Use the Builder interface to actually assemble a sensible road network.

#include <src/maliput_multilane/road_geometry.h>

Inheritance diagram for RoadGeometry:
[legend]

Public Member Functions

 RoadGeometry (const api::RoadGeometryId &id, double linear_tolerance, double angular_tolerance, double scale_length)
 Constructs an empty RoadGeometry with the specified tolerances and scale-length. More...
 
JunctionNewJunction (api::JunctionId id)
 Creates and adds a new Junction with the specified id. More...
 
BranchPointNewBranchPoint (api::BranchPointId id)
 Creates and adds a new BranchPoint with the specified id. More...
 
 ~RoadGeometry () override=default
 
- Public Member Functions inherited from RoadGeometry
RoadGeometryId id () const
 
int num_junctions () const
 
const Junctionjunction (int index) const
 
int num_branch_points () const
 
const BranchPointbranch_point (int index) const
 
const IdIndex & ById () const
 
RoadPositionResult ToRoadPosition (const InertialPosition &inertial_position, const std::optional< RoadPosition > &hint=std::nullopt) const
 
std::vector< RoadPositionResultFindRoadPositions (const InertialPosition &inertial_position, double radius) const
 
double linear_tolerance () const
 
double angular_tolerance () const
 
double scale_length () const
 
std::vector< std::string > CheckInvariants () const
 
std::vector< InertialPositionSampleAheadWaypoints (const LaneSRoute &lane_s_route, double path_length_sampling_rate) const
 
math::Vector3 inertial_to_backend_frame_translation () const
 

Additional Inherited Members

- Protected Member Functions inherited from RoadGeometry
 RoadGeometry ()=default
 

Constructor & Destructor Documentation

◆ RoadGeometry()

RoadGeometry ( const api::RoadGeometryId id,
double  linear_tolerance,
double  angular_tolerance,
double  scale_length 
)

Constructs an empty RoadGeometry with the specified tolerances and scale-length.

◆ ~RoadGeometry()

~RoadGeometry ( )
overridevirtualdefault

Reimplemented from RoadGeometry.

Member Function Documentation

◆ NewBranchPoint()

BranchPoint * NewBranchPoint ( api::BranchPointId  id)

Creates and adds a new BranchPoint with the specified id.

◆ NewJunction()

Junction * NewJunction ( api::JunctionId  id)

Creates and adds a new Junction with the specified id.


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