Factory methods for generating direction cosine matrices and vectors.
More...
#include <DCM.hpp>
Factory methods for generating direction cosine matrices and vectors.
◆ eulerAngles() [1/2]
static NdArray< double > nc::rotations::DCM::eulerAngles |
( |
const NdArray< double > & |
angles | ) |
|
|
inlinestatic |
returns a direction cosine matrix that rotates according to the input euler angles
- Parameters
-
angles | euler roll, pitch, angles |
- Returns
- NdArray
◆ eulerAngles() [2/2]
static NdArray< double > nc::rotations::DCM::eulerAngles |
( |
double |
roll, |
|
|
double |
pitch, |
|
|
double |
yaw |
|
) |
| |
|
inlinestatic |
returns a direction cosine matrix that rotates according to the input euler angles
- Parameters
-
roll | euler roll angle in radians |
pitch | euler pitch angle in radians |
yaw | euler yaw angle in radians |
- Returns
- NdArray
◆ eulerAxisAngle() [1/2]
static NdArray< double > nc::rotations::DCM::eulerAxisAngle |
( |
const NdArray< double > & |
inAxis, |
|
|
double |
inAngle |
|
) |
| |
|
inlinestatic |
returns a direction cosine matrix that rotates about the input axis by the input angle
- Parameters
-
inAxis | euler axis cartesian vector with x,y,z components |
inAngle | euler angle in radians |
- Returns
- NdArray
◆ eulerAxisAngle() [2/2]
static NdArray< double > nc::rotations::DCM::eulerAxisAngle |
( |
const Vec3 & |
inAxis, |
|
|
double |
inAngle |
|
) |
| |
|
inlinestatic |
returns a direction cosine matrix that rotates about the input axis by the input angle
- Parameters
-
inAxis | euler axis cartesian vector with x,y,z components |
inAngle | euler angle in radians |
- Returns
- NdArray
◆ isValid()
static bool nc::rotations::DCM::isValid |
( |
const NdArray< double > & |
inArray | ) |
|
|
inlinestatic |
returns whether the input array is a direction cosine matrix
- Parameters
-
- Returns
- bool
◆ pitch()
static double nc::rotations::DCM::pitch |
( |
const NdArray< double > & |
dcm | ) |
|
|
inlinestatic |
The euler pitch angle in radians
- Parameters
-
dcm | a valid direction cosine matrix |
- Returns
- euler pitch angle in radians
◆ roll()
static double nc::rotations::DCM::roll |
( |
const NdArray< double > & |
dcm | ) |
|
|
inlinestatic |
The euler roll angle in radians
- Parameters
-
dcm | a valid direction cosine matrix |
- Returns
- euler roll angle in radians
◆ xRotation()
static NdArray< double > nc::rotations::DCM::xRotation |
( |
double |
inAngle | ) |
|
|
inlinestatic |
returns a direction cosine matrix that rotates about the x axis by the input angle
- Parameters
-
- Returns
- NdArray<double>
◆ yaw()
static double nc::rotations::DCM::yaw |
( |
const NdArray< double > & |
dcm | ) |
|
|
inlinestatic |
The euler yaw angle in radians
- Parameters
-
dcm | a valid direction cosine matrix |
- Returns
- euler yaw angle in radians
◆ yRotation()
static NdArray< double > nc::rotations::DCM::yRotation |
( |
double |
inAngle | ) |
|
|
inlinestatic |
returns a direction cosine matrix that rotates about the x axis by the input angle
- Parameters
-
- Returns
- NdArray<double>
◆ zRotation()
static NdArray< double > nc::rotations::DCM::zRotation |
( |
double |
inAngle | ) |
|
|
inlinestatic |
returns a direction cosine matrix that rotates about the x axis by the input angle
- Parameters
-
- Returns
- NdArray<double>
The documentation for this class was generated from the following file: