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 ( const Rot3 )
default
Rot3 ( Rot3 &&  )
default
Rot3 ( double  roll,
double  pitch,
double  yaw 
)
inline

Member Function Documentation

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

Applies the rotation to a 3-vector.

Here is the call graph for this function:

Here is the caller graph for this function:

Rot3& operator= ( Rot3 &&  )
default
Rot3& operator= ( const Rot3 )
default
double pitch ( ) const
inline

Here is the caller graph for this function:

double roll ( ) const
inline

Here is the caller graph for this function:

double yaw ( ) const
inline

Here is the caller graph for this function:


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