mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-05 03:30:37 +08:00
bug #1123: add missing documentation of angle() and axis()
(grafted from c5b86893e7cca7d870b928ad8cc109ccc131b456 )
This commit is contained in:
parent
0d807dce07
commit
092681132c
@ -83,10 +83,17 @@ public:
|
||||
template<typename Derived>
|
||||
inline explicit AngleAxis(const MatrixBase<Derived>& m) { *this = m; }
|
||||
|
||||
/** \returns the value of the rotation angle in radian */
|
||||
Scalar angle() const { return m_angle; }
|
||||
/** \returns a read-write reference to the stored angle in radian */
|
||||
Scalar& angle() { return m_angle; }
|
||||
|
||||
/** \returns the rotation 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; }
|
||||
|
||||
/** Concatenates two rotations */
|
||||
|
Loading…
x
Reference in New Issue
Block a user