From 99ccb26cfef09b670c718e7b57829d44c9b9e281 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 29 Oct 2010 09:00:35 -0400 Subject: add eigen2support Transform typedefs, add Eigen2To3 section on Transform --- Eigen/Eigen2Support | 1 + Eigen/src/Eigen2Support/Transform.h | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 Eigen/src/Eigen2Support/Transform.h (limited to 'Eigen') 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 +// +// 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 . + +#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 -- cgit v1.2.3