aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-29 09:00:35 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-29 09:00:35 -0400
commit99ccb26cfef09b670c718e7b57829d44c9b9e281 (patch)
treebcffcd72260cbf82b1162017c7fa5ef7f8037e45 /Eigen
parentbd249d11216a32c1ba73c02edc91ab770bbd556c (diff)
add eigen2support Transform typedefs, add Eigen2To3 section on Transform
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/Eigen2Support1
-rw-r--r--Eigen/src/Eigen2Support/Transform.h37
2 files changed, 38 insertions, 0 deletions
diff --git a/Eigen/Eigen2Support b/Eigen/Eigen2Support
index 1503d5cec..513fc0d4e 100644
--- a/Eigen/Eigen2Support
+++ b/Eigen/Eigen2Support
@@ -50,6 +50,7 @@ namespace Eigen {
#include "src/Eigen2Support/Block.h"
#include "src/Eigen2Support/VectorBlock.h"
#include "src/Eigen2Support/Minor.h"
+#include "src/Eigen2Support/Transform.h"
} // namespace Eigen
diff --git a/Eigen/src/Eigen2Support/Transform.h b/Eigen/src/Eigen2Support/Transform.h
new file mode 100644
index 000000000..1aad1cc29
--- /dev/null
+++ b/Eigen/src/Eigen2Support/Transform.h
@@ -0,0 +1,37 @@
+// This file is part of Eigen, a lightweight C++ template library
+// for linear algebra.
+//
+// Copyright (C) 2010 Benoit Jacob <jacob.benoit.1@gmail.com>
+//
+// Eigen is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 3 of the License, or (at your option) any later version.
+//
+// Alternatively, you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// Eigen is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License or the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License and a copy of the GNU General Public License along with
+// Eigen. If not, see <http://www.gnu.org/licenses/>.
+
+#ifndef EIGEN_TRANSFORM2_H
+#define EIGEN_TRANSFORM2_H
+
+/** \ingroup Geometry_Module */
+typedef Projective2f Transform2f;
+/** \ingroup Geometry_Module */
+typedef Projective2d Transform2d;
+/** \ingroup Geometry_Module */
+typedef Projective3f Transform3f;
+/** \ingroup Geometry_Module */
+typedef Projective3d Transform3d;
+
+#endif // EIGEN_TRANSFORM2_H