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() [1/4]

ArcOffset ( const ArcOffset )
default

◆ ArcOffset() [2/4]

ArcOffset ( ArcOffset &&  )
default

◆ ArcOffset() [3/4]

ArcOffset ( )
default

Constructs an ArcOffset with all zero parameters.

◆ ArcOffset() [4/4]

ArcOffset ( double  radius,
double  d_theta 
)
inline

Member Function Documentation

◆ d_theta()

double d_theta ( ) const
inline

◆ operator=() [1/2]

ArcOffset& operator= ( ArcOffset &&  )
default

◆ operator=() [2/2]

ArcOffset& operator= ( const ArcOffset )
default

◆ radius()

double radius ( ) const
inline

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