Skip to content

Commit 47fe430

Browse files
authored
Merge pull request #95 from jcarpent/devel
quaternion: fix exposure of toRotationMatrix
2 parents 72f57d8 + 928c1f7 commit 47fe430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/eigenpy/quaternion.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ namespace eigenpy
102102
/* --- Methods --- */
103103
.def("coeffs",(const Vector4 & (Quaternion::*)()const)&Quaternion::coeffs,
104104
bp::return_value_policy<bp::copy_const_reference>())
105-
.def("matrix",&Quaternion::matrix,"Returns an equivalent rotation matrix")
106-
.def("toRotationMatrix ",&Quaternion::toRotationMatrix,"Returns an equivalent 3x3 rotation matrix.")
105+
.def("matrix",&Quaternion::matrix,"Returns an equivalent 3x3 rotation matrix. Similar to toRotationMatrix.")
106+
.def("toRotationMatrix",&Quaternion::toRotationMatrix,"Returns an equivalent 3x3 rotation matrix.")
107107

108108
.def("setFromTwoVectors",&setFromTwoVectors,((bp::arg("a"),bp::arg("b"))),"Set *this to be the quaternion which transform a into b through a rotation."
109109
,bp::return_self<>())

0 commit comments

Comments
 (0)