Drake
ArcOffset Class Reference

Specification for path offset along a circular arc. More...

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

Public Member Functions

 ArcOffset ()=default
 Constructs an ArcOffset with all zero parameters. More...
 
 ArcOffset (double radius, double d_theta)
 
double radius () const
 
double d_theta () const
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 ArcOffset (const ArcOffset &)=default
 
ArcOffsetoperator= (const ArcOffset &)=default
 
 ArcOffset (ArcOffset &&)=default
 
ArcOffsetoperator= (ArcOffset &&)=default
 

Detailed Description

Specification for path offset along a circular arc.

  • radius: radius of the arc, which must be positive
  • d_theta: angle of arc segment (Δθ)
    • d_theta > 0 is counterclockwise ('veer to left')
    • d_theta < 0 is clockwise ('veer to right')

Constructor & Destructor Documentation

ArcOffset ( const ArcOffset )
default
ArcOffset ( ArcOffset &&  )
default
ArcOffset ( )
default

Constructs an ArcOffset with all zero parameters.

ArcOffset ( double  radius,
double  d_theta 
)
inline

Member Function Documentation

double d_theta ( ) const
inline
ArcOffset& operator= ( ArcOffset &&  )
default
ArcOffset& operator= ( const ArcOffset )
default
double radius ( ) const
inline

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