Drake
Drake C++ Documentation
Rotation::AngleAxis Struct Reference

Detailed Description

Rotation constructed from a fixed axis and an angle.

#include <drake/common/schema/rotation.h>

Public Member Functions

 AngleAxis ()=default
 
template<typename Archive >
void Serialize (Archive *a)
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 AngleAxis (const AngleAxis &)=default
 
AngleAxisoperator= (const AngleAxis &)=default
 
 AngleAxis (AngleAxis &&)=default
 
AngleAxisoperator= (AngleAxis &&)=default
 

Public Attributes

DistributionVariant angle_deg
 
DistributionVectorVariant< 3 > axis {Eigen::Vector3d::UnitZ()}
 

Constructor & Destructor Documentation

◆ AngleAxis() [1/3]

AngleAxis ( const AngleAxis )
default

◆ AngleAxis() [2/3]

AngleAxis ( AngleAxis &&  )
default

◆ AngleAxis() [3/3]

AngleAxis ( )
default

Member Function Documentation

◆ operator=() [1/2]

AngleAxis& operator= ( const AngleAxis )
default

◆ operator=() [2/2]

AngleAxis& operator= ( AngleAxis &&  )
default

◆ Serialize()

void Serialize ( Archive *  a)

Member Data Documentation

◆ angle_deg

◆ axis

DistributionVectorVariant<3> axis {Eigen::Vector3d::UnitZ()}

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