bug #1123: add missing documentation of angle() and axis()
(grafted from c5b86893e7
)
This commit is contained in:
parent
0d807dce07
commit
092681132c
@ -83,10 +83,17 @@ public:
|
|||||||
template<typename Derived>
|
template<typename Derived>
|
||||||
inline explicit AngleAxis(const MatrixBase<Derived>& m) { *this = m; }
|
inline explicit AngleAxis(const MatrixBase<Derived>& m) { *this = m; }
|
||||||
|
|
||||||
|
/** \returns the value of the rotation angle in radian */
|
||||||
Scalar angle() const { return m_angle; }
|
Scalar angle() const { return m_angle; }
|
||||||
|
/** \returns a read-write reference to the stored angle in radian */
|
||||||
Scalar& angle() { return m_angle; }
|
Scalar& angle() { return m_angle; }
|
||||||
|
|
||||||
|
/** \returns the rotation axis */
|
||||||
const Vector3& axis() const { return m_axis; }
|
const Vector3& axis() const { return m_axis; }
|
||||||
|
/** \returns a read-write reference to the stored rotation axis.
|
||||||
|
*
|
||||||
|
* \warning The rotation axis must remain a \b unit vector.
|
||||||
|
*/
|
||||||
Vector3& axis() { return m_axis; }
|
Vector3& axis() { return m_axis; }
|
||||||
|
|
||||||
/** Concatenates two rotations */
|
/** Concatenates two rotations */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user