From 41070aad7b0c3e4ebfbf49c21b19241f4b925da0 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 20 Jan 2013 10:20:39 +0100 Subject: [PATCH] Some minor documentation fixes in Quaternion (transplanted from fb89b662290857ab2133613cd9a84cc532720da4 ) --- Eigen/src/Geometry/Quaternion.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Eigen/src/Geometry/Quaternion.h b/Eigen/src/Geometry/Quaternion.h index 9180db67d..1532d76d9 100644 --- a/Eigen/src/Geometry/Quaternion.h +++ b/Eigen/src/Geometry/Quaternion.h @@ -200,7 +200,8 @@ public: * * \brief The quaternion class used to represent 3D orientations and rotations * - * \param _Scalar the scalar type, i.e., the type of the coefficients + * \tparam _Scalar the scalar type, i.e., the type of the coefficients + * \tparam _Options controls the memory alignement of the coeffecients. Can be \# AutoAlign or \# DontAlign. Default is AutoAlign. * * This class represents a quaternion \f$ w+xi+yj+zk \f$ that is a convenient representation of * orientations and rotations of objects in three dimensions. Compared to other representations @@ -308,8 +309,7 @@ typedef Quaternion Quaterniond; namespace internal { template - struct traits, _Options> >: - traits > + struct traits, _Options> > : traits > { typedef _Scalar Scalar; typedef Map, _Options> Coefficients; @@ -317,7 +317,6 @@ namespace internal { typedef traits > TraitsBase; enum { IsAligned = TraitsBase::IsAligned, - Flags = TraitsBase::Flags }; }; @@ -325,8 +324,7 @@ namespace internal { namespace internal { template - struct traits, _Options> >: - traits > + struct traits, _Options> > : traits > { typedef _Scalar Scalar; typedef Map, _Options> Coefficients; @@ -339,10 +337,11 @@ namespace internal { }; } -/** \brief Quaternion expression mapping a constant memory buffer +/** \ingroup Geometry_Module + * \brief Quaternion expression mapping a constant memory buffer * - * \param _Scalar the type of the Quaternion coefficients - * \param _Options see class Map + * \tparam _Scalar the type of the Quaternion coefficients + * \tparam _Options see class Map * * This is a specialization of class Map for Quaternion. This class allows to view * a 4 scalar memory buffer as an Eigen's Quaternion object. @@ -375,10 +374,11 @@ class Map, _Options > const Coefficients m_coeffs; }; -/** \brief Expression of a quaternion from a memory buffer +/** \ingroup Geometry_Module + * \brief Expression of a quaternion from a memory buffer * - * \param _Scalar the type of the Quaternion coefficients - * \param _Options see class Map + * \tparam _Scalar the type of the Quaternion coefficients + * \tparam _Options see class Map * * This is a specialization of class Map for Quaternion. This class allows to view * a 4 scalar memory buffer as an Eigen's Quaternion object.