Drake
LaneLayout Class Reference

Wraps all the lane-related specifications in a Connection. More...

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

Public Member Functions

 LaneLayout (double left_shoulder, double right_shoulder, int num_lanes, int ref_lane, double ref_r0)
 Constructs a the lane layout of a connection. More...
 
double left_shoulder () const
 
double right_shoulder () const
 
int num_lanes () const
 
int ref_lane () const
 
double ref_r0 () const
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 LaneLayout (const LaneLayout &)=default
 
LaneLayoutoperator= (const LaneLayout &)=default
 
 LaneLayout (LaneLayout &&)=default
 
LaneLayoutoperator= (LaneLayout &&)=default
 

Detailed Description

Wraps all the lane-related specifications in a Connection.

Constructor & Destructor Documentation

LaneLayout ( const LaneLayout )
default
LaneLayout ( LaneLayout &&  )
default
LaneLayout ( double  left_shoulder,
double  right_shoulder,
int  num_lanes,
int  ref_lane,
double  ref_r0 
)
inline

Constructs a the lane layout of a connection.

Lane reference paths (which are offsets of parent Segment reference curve) are centered within the Lane. Lane spacing will be road geometry fixed lane's width. Segment extents will be derived from the composition of left_shoulder and right_shoulder shoulders, number of lanes and lane spacing. ref_lane lane's centerline will be placed at ref_r0 distance from connection's reference curve.

left_shoulder and right_shoulder must be nonnegative. num_lanes must be positive and ref_lane must be nonnegative and smaller than num_lanes.

Member Function Documentation

double left_shoulder ( ) const
inline

Here is the caller graph for this function:

int num_lanes ( ) const
inline

Here is the caller graph for this function:

LaneLayout& operator= ( LaneLayout &&  )
default
LaneLayout& operator= ( const LaneLayout )
default
int ref_lane ( ) const
inline

Here is the caller graph for this function:

double ref_r0 ( ) const
inline

Here is the call graph for this function:

Here is the caller graph for this function:

double right_shoulder ( ) const
inline

Here is the caller graph for this function:


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