/* * This program is free software; 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. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __GEOM_H__ #define __GEOM_H__ /** \file * \ingroup freestyle * \brief Vectors and Matrices (useful type definitions) */ #include "VecMat.h" #include "../system/Precision.h" namespace Freestyle { namespace Geometry { typedef VecMat::Vec2 Vec2u; typedef VecMat::Vec2 Vec2i; typedef VecMat::Vec2 Vec2f; typedef VecMat::Vec2 Vec2d; typedef VecMat::Vec2 Vec2r; typedef VecMat::Vec3 Vec3u; typedef VecMat::Vec3 Vec3i; typedef VecMat::Vec3 Vec3f; typedef VecMat::Vec3 Vec3d; typedef VecMat::Vec3 Vec3r; typedef VecMat::HVec3 HVec3u; typedef VecMat::HVec3 HVec3i; typedef VecMat::HVec3 HVec3f; typedef VecMat::HVec3 HVec3d; typedef VecMat::HVec3 HVec3r; typedef VecMat::SquareMatrix Matrix22u; typedef VecMat::SquareMatrix Matrix22i; typedef VecMat::SquareMatrix Matrix22f; typedef VecMat::SquareMatrix Matrix22d; typedef VecMat::SquareMatrix Matrix22r; typedef VecMat::SquareMatrix Matrix33u; typedef VecMat::SquareMatrix Matrix33i; typedef VecMat::SquareMatrix Matrix33f; typedef VecMat::SquareMatrix Matrix33d; typedef VecMat::SquareMatrix Matrix33r; typedef VecMat::SquareMatrix Matrix44u; typedef VecMat::SquareMatrix Matrix44i; typedef VecMat::SquareMatrix Matrix44f; typedef VecMat::SquareMatrix Matrix44d; typedef VecMat::SquareMatrix Matrix44r; } // end of namespace Geometry } /* namespace Freestyle */ #endif // __GEOM_H__