Drake
RoadGeometry Class Reference

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

#include <drake/automotive/maliput/multilane/road_geometry.h>

Inheritance diagram for RoadGeometry:
[legend]
Collaboration diagram for RoadGeometry:
[legend]

Public Member Functions

 RoadGeometry (const api::RoadGeometryId &id, const double linear_tolerance, const double angular_tolerance)
 Constructs an empty RoadGeometry with the specified tolerances. 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
 
Does not allow copy, move, or assignment
 RoadGeometry (const RoadGeometry &)=delete
 
RoadGeometryoperator= (const RoadGeometry &)=delete
 
 RoadGeometry (RoadGeometry &&)=delete
 
RoadGeometryoperator= (RoadGeometry &&)=delete
 
- Public Member Functions inherited from RoadGeometry
const RoadGeometryId id () const
 Returns the persistent identifier. More...
 
int num_junctions () const
 Returns the number of Junctions in the RoadGeometry. More...
 
const Junctionjunction (int index) const
 Returns the Junction indexed by index. More...
 
int num_branch_points () const
 Returns the number of BranchPoints in the RoadGeometry. More...
 
const BranchPointbranch_point (int index) const
 Returns the BranchPoint indexed by index. More...
 
RoadPosition ToRoadPosition (const GeoPosition &geo_position, const RoadPosition *hint, GeoPosition *nearest_position, double *distance) const
 Determines the RoadPosition corresponding to GeoPosition geo_position. More...
 
double linear_tolerance () const
 Returns the tolerance guaranteed for linear measurements (positions). More...
 
double angular_tolerance () const
 Returns the tolerance guaranteed for angular measurements (orientations). More...
 
std::vector< std::string > CheckInvariants () const
 Verifies certain invariants guaranteed by the API. More...
 
 RoadGeometry (const RoadGeometry &)=delete
 
RoadGeometryoperator= (const RoadGeometry &)=delete
 
 RoadGeometry (RoadGeometry &&)=delete
 
RoadGeometryoperator= (RoadGeometry &&)=delete
 

Additional Inherited Members

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

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.

Constructor & Destructor Documentation

RoadGeometry ( const RoadGeometry )
delete
RoadGeometry ( RoadGeometry &&  )
delete
RoadGeometry ( const api::RoadGeometryId id,
const double  linear_tolerance,
const double  angular_tolerance 
)
inline

Constructs an empty RoadGeometry with the specified tolerances.

Here is the call graph for this function:

~RoadGeometry ( )
overridevirtualdefault

Reimplemented from RoadGeometry.

Here is the caller graph for this function:

Member Function Documentation

BranchPoint * NewBranchPoint ( api::BranchPointId  id)

Creates and adds a new BranchPoint with the specified id.

Here is the call graph for this function:

Here is the caller graph for this function:

Junction * NewJunction ( api::JunctionId  id)

Creates and adds a new Junction with the specified id.

Here is the caller graph for this function:

RoadGeometry& operator= ( const RoadGeometry )
delete
RoadGeometry& operator= ( RoadGeometry &&  )
delete

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