.def("cross",&bezier3_t::cross,bp::args("other"),"Compute the cross product of the current bezier by another bezier. The cross product p1Xp2 of 2 polynomials p1 and p2 is defined such that forall t, p1Xp2(t) = p1(t) X p2(t), with X designing the cross product. This method of course only makes sense for dimension 3 curves.")
.def(self+=bezier3_t())
.def(self-=bezier3_t())
.def(self*=double())
...
...
@@ -688,6 +689,7 @@ BOOST_PYTHON_MODULE(curves) {
"Loads *this from a binary file.")
.def(bp::self==bp::self)
.def(bp::self!=bp::self)
.def("cross",&bezier_t::cross,bp::args("other"),"Compute the cross product of the current bezier by another bezier. The cross product p1Xp2 of 2 polynomials p1 and p2 is defined such that forall t, p1Xp2(t) = p1(t) X p2(t), with X designing the cross product. This method of course only makes sense for dimension 3 curves.")