![]() |
Eigen
3.3.3
|
Expression of a quaternion from a memory buffer.
_Scalar | the type of the Quaternion coefficients |
_Options | see class Map |
This is a specialization of class Map for Quaternion. This class allows to view a 4 scalar memory buffer as an Eigen's Quaternion object.
Public Types | |
typedef _Scalar | Scalar |
Public Member Functions | |
Coefficients & | coeffs () |
const Coefficients & | coeffs () const |
Map (Scalar *coeffs) |
typedef _Scalar Eigen::Map< Quaternion< _Scalar >, _Options >::Scalar |
the scalar type of the coefficients
Reimplemented from Eigen::QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Eigen::Map< Quaternion< _Scalar >, _Options >::Map | ( | Scalar * | coeffs | ) | [inline, explicit] |
Constructs a Mapped Quaternion object from the pointer coeffs
The pointer coeffs must reference the four coefficients of Quaternion in the following order:
If the template parameter _Options is set to #Aligned, then the pointer coeffs must be aligned.
Coefficients& Eigen::Map< Quaternion< _Scalar >, _Options >::coeffs | ( | ) | [inline] |
Reimplemented from Eigen::QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
const Coefficients& Eigen::Map< Quaternion< _Scalar >, _Options >::coeffs | ( | ) | const [inline] |
Reimplemented from Eigen::QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.