Drake
Rot3 Class Reference

An R^3 rotation parameterized by roll, pitch, yaw. More...

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

Public Member Functions

 Rot3 (double roll, double pitch, double yaw)
 
Vector3< doubleapply (const Vector3< double > &in) const
 Applies the rotation to a 3-vector. More...
 
double yaw () const
 
double pitch () const
 
double roll () const
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 Rot3 (const Rot3 &)=default
 
Rot3operator= (const Rot3 &)=default
 
 Rot3 (Rot3 &&)=default
 
Rot3operator= (Rot3 &&)=default
 

Detailed Description

An R^3 rotation parameterized by roll, pitch, yaw.

This effects a compound rotation around space-fixed x-y-z axes:

Rot3(roll, pitch, yaw) * V = RotZ(yaw) * RotY(pitch) * RotX(roll) * V

Constructor & Destructor Documentation

◆ Rot3() [1/3]

Rot3 ( const Rot3 )
default

◆ Rot3() [2/3]

Rot3 ( Rot3 &&  )
default

◆ Rot3() [3/3]

Rot3 ( double  roll,
double  pitch,
double  yaw 
)
inline

Member Function Documentation

◆ apply()

Vector3<double> apply ( const Vector3< double > &  in) const
inline

Applies the rotation to a 3-vector.

◆ operator=() [1/2]

Rot3& operator= ( Rot3 &&  )
default

◆ operator=() [2/2]

Rot3& operator= ( const Rot3 )
default

◆ pitch()

double pitch ( ) const
inline

◆ roll()

double roll ( ) const
inline

◆ yaw()

double yaw ( ) const
inline

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