Drake
LaneSRoute Class Reference

A longitudinal route, possibly spanning multiple (end-to-end) lanes. More...

#include <automotive/maliput/api/rules/regions.h>

Public Member Functions

 LaneSRoute ()=default
 Default constructor: constructs an empty route. More...
 
 LaneSRoute (const std::vector< LaneSRange > &ranges)
 Constructs a LaneSRoute from the given sequence of LaneSRanges. More...
 
const std::vector< LaneSRange > & ranges () const
 Returns the sequence of LaneSRanges. More...
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 LaneSRoute (const LaneSRoute &)=default
 
LaneSRouteoperator= (const LaneSRoute &)=default
 
 LaneSRoute (LaneSRoute &&)=default
 
LaneSRouteoperator= (LaneSRoute &&)=default
 

Detailed Description

A longitudinal route, possibly spanning multiple (end-to-end) lanes.

The sequence of LaneSRanges should be contiguous. (In other words, taken as a Lane-space path with r=0 and h=0, it should present a G1-continuous curve.)

Constructor & Destructor Documentation

LaneSRoute ( const LaneSRoute )
default
LaneSRoute ( LaneSRoute &&  )
default
LaneSRoute ( )
default

Default constructor: constructs an empty route.

LaneSRoute ( const std::vector< LaneSRange > &  ranges)
inlineexplicit

Constructs a LaneSRoute from the given sequence of LaneSRanges.

Member Function Documentation

LaneSRoute& operator= ( const LaneSRoute )
default
LaneSRoute& operator= ( LaneSRoute &&  )
default
const std::vector<LaneSRange>& ranges ( ) const
inline

Returns the sequence of LaneSRanges.

Here is the caller graph for this function:


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