Classes | Typedefs | Functions
Geometry module

Classes

class  AlignedBox< _Scalar, _AmbientDim >
 An axis aligned box. More...
class  AngleAxis< _Scalar >
 Represents a 3D rotation as a rotation angle around an arbitrary 3D axis. More...
class  Hyperplane< _Scalar, _AmbientDim >
 A hyperplane. More...
class  ParametrizedLine< _Scalar, _AmbientDim >
 A parametrized line. More...
class  Quaternion< _Scalar >
 The quaternion class used to represent 3D orientations and rotations. More...
class  Rotation2D< _Scalar >
 Represents a rotation/orientation in a 2 dimensional space. More...
class  Scaling< _Scalar, _Dim >
 Represents a possibly non uniform scaling transformation. More...
class  Transform< _Scalar, _Dim >
 Represents an homogeneous transformation in a N dimensional space. More...
class  Translation< _Scalar, _Dim >
 Represents a translation transformation. More...

Typedefs

typedef AngleAxis< double > AngleAxisd
typedef AngleAxis< float > AngleAxisf
typedef Quaternion< double > Quaterniond
typedef Quaternion< float > Quaternionf
typedef Rotation2D< double > Rotation2Dd
typedef Rotation2D< float > Rotation2Df
typedef Scaling< double, 2 > Scaling2d
typedef Scaling< float, 2 > Scaling2f
typedef Scaling< double, 3 > Scaling3d
typedef Scaling< float, 3 > Scaling3f
typedef Transform< double, 2 > Transform2d
typedef Transform< float, 2 > Transform2f
typedef Transform< double, 3 > Transform3d
typedef Transform< float, 3 > Transform3f
typedef Translation< double, 2 > Translation2d
typedef Translation< float, 2 > Translation2f
typedef Translation< double, 3 > Translation3d
typedef Translation< float, 3 > Translation3f

Functions

Matrix< Scalar, 3, 1 > eulerAngles (int a0, int a1, int a2) const

Detailed Description

Warning:
This is not considered to be part of the stable public API yet. Changes may happen in future releases. See Experimental parts of Eigen

This module provides support for:

#include <Eigen/Geometry>

Typedef Documentation

typedef AngleAxis<double> AngleAxisd

double precision angle-axis type

typedef AngleAxis<float> AngleAxisf

single precision angle-axis type

typedef Quaternion<double> Quaterniond

double precision quaternion type

typedef Quaternion<float> Quaternionf

single precision quaternion type

typedef Rotation2D<double> Rotation2Dd

double precision 2D rotation type

typedef Rotation2D<float> Rotation2Df

single precision 2D rotation type

typedef Transform<double,2> Transform2d
typedef Transform<float,2> Transform2f
typedef Transform<double,3> Transform3d
typedef Transform<float,3> Transform3f

Function Documentation

Matrix< typename MatrixBase< Derived >::Scalar, 3, 1 > eulerAngles ( int  a0,
int  a1,
int  a2 
) const
inline

This is defined in the Geometry module.

#include <Eigen/Geometry>
Warning:
This is not considered to be part of the stable public API yet. Changes may happen in future releases. See Experimental parts of Eigen
Returns:
the Euler-angles of the rotation matrix *this using the convention defined by the triplet (a0,a1,a2)

Each of the three parameters a0,a1,a2 represents the respective rotation axis as an integer in {0,1,2}. For instance, in:

Vector3f ea = mat.eulerAngles(2, 0, 2);

"2" represents the z axis and "0" the x axis, etc. The returned angles are such that we have the following equality:

This corresponds to the right-multiply conventions (with right hand side frames).