diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-01-27 16:07:33 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-01-27 16:07:33 +0100 |
commit | a954a0fbd5e9aec9b4d6bd3d3afcb7a06217898b (patch) | |
tree | 8eb674fc2caa2274e0bd16f581503fa7074eefc6 /Eigen/src/Geometry/Hyperplane.h | |
parent | e3306953ef56798680db1257852726c02338a6fc (diff) |
Add an Options template paramter to Transform to enable/disable alignment
Diffstat (limited to 'Eigen/src/Geometry/Hyperplane.h')
-rw-r--r-- | Eigen/src/Geometry/Hyperplane.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Hyperplane.h b/Eigen/src/Geometry/Hyperplane.h index b532cad04..f22b23a24 100644 --- a/Eigen/src/Geometry/Hyperplane.h +++ b/Eigen/src/Geometry/Hyperplane.h @@ -229,7 +229,8 @@ public: * or a more generic Affine transformation. The default is Affine. * Other kind of transformations are not supported. */ - inline Hyperplane& transform(const Transform<Scalar,AmbientDimAtCompileTime,Affine>& t, + template<int TrOptions> + inline Hyperplane& transform(const Transform<Scalar,AmbientDimAtCompileTime,Affine,TrOptions>& t, TransformTraits traits = Affine) { transform(t.linear(), traits); |