We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdea5a8 commit 4256d2fCopy full SHA for 4256d2f
include/eigenpy/quaternion.hpp
@@ -68,6 +68,7 @@ namespace eigenpy
68
.def(bp::init<Matrix3>((bp::arg("matrixRotation")),"Initialize from rotation matrix."))
69
.def(bp::init<AngleAxis>((bp::arg("angleaxis")),"Initialize from angle axis."))
70
.def(bp::init<Quaternion>((bp::arg("clone")),"Copy constructor."))
71
+ .def(bp::init<Vector4>((bp::arg("Vec4: a 4D vector representing quaternion coefficients")),"Initialize from a vector 4D."))
72
.def("__init__",bp::make_constructor(&QuaternionVisitor::FromTwoVectors,
73
bp::default_call_policies(),
74
(bp::arg("u"),bp::arg("v"))),"Initialize from two vector u,v")
0 commit comments