import eigen2 Geometry module into Eigen2Support.

fix build of geometry tests
This commit is contained in:
Benoit Jacob
2011-01-24 11:21:58 -05:00
parent 5bfde30e48
commit bd12ac4ffc
21 changed files with 2997 additions and 81 deletions

View File

@@ -141,7 +141,7 @@ static inline DiagonalMatrix<Scalar,3> Scaling(Scalar sx, Scalar sy, Scalar sz)
* This is an alias for coeffs.asDiagonal()
*/
template<typename Derived>
static inline const DiagonalWrapper<Derived> Scaling(const MatrixBase<Derived>& coeffs)
static inline const DiagonalWrapper<const Derived> Scaling(const MatrixBase<Derived>& coeffs)
{ return coeffs.asDiagonal(); }
/** \addtogroup Geometry_Module */

View File

@@ -607,10 +607,6 @@ typedef Transform<double,2,Projective> Projective2d;
/** \ingroup Geometry_Module */
typedef Transform<double,3,Projective> Projective3d;
#ifdef EIGEN2_SUPPORT
#include "../Eigen2Support/Transform.h"
#endif
/**************************
*** Optional QT support ***
**************************/