mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
52406aecad
add unit-tests for it. * remove "using namespace std" in test/main.h such that the compilation bug found today in SVD won't happen again.
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
#ifndef EIGEN_GEOMETRY_MODULE_H
|
|
#define EIGEN_GEOMETRY_MODULE_H
|
|
|
|
#include "Core"
|
|
|
|
#ifndef M_PI
|
|
#define M_PI 3.14159265358979323846
|
|
#endif
|
|
|
|
namespace Eigen {
|
|
|
|
/** \defgroup GeometryModule Geometry module
|
|
* This module provides support for:
|
|
* - fixed-size homogeneous transformations
|
|
* - translation, scaling, 2D and 3D rotations
|
|
* - quaternions
|
|
* - \ref MatrixBase::cross() "cross product"
|
|
* - \ref MatrixBase::unitOrthogonal() "orthognal vector generation"
|
|
* - some linear components: parametrized-lines and hyperplanes
|
|
*
|
|
* \code
|
|
* #include <Eigen/Geometry>
|
|
* \endcode
|
|
*/
|
|
|
|
// the Geometry module use cwiseCos and cwiseSin which are defined in the Array module
|
|
#include "src/Array/CwiseOperators.h"
|
|
#include "src/Array/Functors.h"
|
|
#include "src/Array/PartialRedux.h"
|
|
|
|
#include "src/Geometry/OrthoMethods.h"
|
|
#include "src/Geometry/RotationBase.h"
|
|
#include "src/Geometry/Rotation2D.h"
|
|
#include "src/Geometry/Quaternion.h"
|
|
#include "src/Geometry/AngleAxis.h"
|
|
#include "src/Geometry/Transform.h"
|
|
#include "src/Geometry/Translation.h"
|
|
#include "src/Geometry/Scaling.h"
|
|
#include "src/Geometry/Hyperplane.h"
|
|
#include "src/Geometry/ParametrizedLine.h"
|
|
|
|
} // namespace Eigen
|
|
|
|
#endif // EIGEN_GEOMETRY_MODULE_H
|