Commit 320772ff authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Update doc of bindings.

parent 3471246c
......@@ -55,9 +55,6 @@ Vec3f getSupport(const ShapeBase* shape, const Vec3f& dir, bool dirIsNormalized,
/// @brief Minkowski difference class of two shapes
///
/// @todo template this by the two shapes. The triangle / triangle case can be
/// easily optimized computing once the triangle shapes[1] into frame0
///
/// @note The Minkowski difference is expressed in the frame of the first shape.
struct HPP_FCL_DLLAPI MinkowskiDiff
{
......
......@@ -76,9 +76,8 @@ void exposeGJK()
if(!eigenpy::register_symbolic_link_to_registered_type<MinkowskiDiff>())
{
class_ <MinkowskiDiff> ("MinkowskiDiff",
doxygen::class_doc<MinkowskiDiff>(), init<>(
doxygen::constructor_doc<MinkowskiDiff>()))
class_ <MinkowskiDiff> ("MinkowskiDiff", doxygen::class_doc<MinkowskiDiff>(), no_init)
.def (doxygen::visitor::init<MinkowskiDiff>())
.def ("set", static_cast < void (MinkowskiDiff::*)(
const ShapeBase*, const ShapeBase*)> (&MinkowskiDiff::set),
doxygen::member_func_doc(
......@@ -100,9 +99,8 @@ void exposeGJK()
if(!eigenpy::register_symbolic_link_to_registered_type<GJK>())
{
class_ <GJK> ("GJK",
doxygen::class_doc<GJK>(), init<unsigned int, FCL_REAL>(
doxygen::constructor_doc<GJK, unsigned int, FCL_REAL>()))
class_ <GJK> ("GJK", doxygen::class_doc<GJK>(), no_init)
.def (doxygen::visitor::init<GJK, unsigned int, FCL_REAL>())
.DEF_RW_CLASS_ATTRIB (GJK, distance)
.DEF_RW_CLASS_ATTRIB (GJK, ray)
.DEF_RW_CLASS_ATTRIB (GJK, support_hint)
......
......@@ -81,13 +81,13 @@ void exposeMaths ()
eigenpy::enableEigenPySpecific<Matrix3f>();
eigenpy::enableEigenPySpecific<Vec3f >();
class_ <Transform3f> ("Transform3f", doxygen::class_doc<Transform3f>(), init<>(arg("self"),doxygen::constructor_doc<Transform3f>()))
.def (init<Matrix3f, Vec3f> (doxygen::constructor_doc<Transform3f, const Matrix3f::MatrixBase&, const Vec3f::MatrixBase&>()))
.def (init<Quaternion3f, Vec3f>(doxygen::constructor_doc<Transform3f, const Quaternion3f& , const Vec3f::MatrixBase&>()))
.def (init<Matrix3f> (doxygen::constructor_doc<Transform3f, const Matrix3f& >()))
.def (init<Quaternion3f> (doxygen::constructor_doc<Transform3f, const Quaternion3f& >()))
.def (init<Vec3f> (doxygen::constructor_doc<Transform3f, const Vec3f& >()))
.def (init<Transform3f> (doxygen::constructor_doc<Transform3f, const Transform3f& >()))
class_ <Transform3f> ("Transform3f", doxygen::class_doc<Transform3f>(), no_init)
.def (dv::init<Transform3f>())
.def (dv::init<Transform3f, const Matrix3f::MatrixBase&, const Vec3f::MatrixBase&>())
.def (dv::init<Transform3f, const Quaternion3f& , const Vec3f::MatrixBase&>())
.def (dv::init<Transform3f, const Matrix3f& >())
.def (dv::init<Transform3f, const Quaternion3f& >())
.def (dv::init<Transform3f, const Vec3f& >())
.def (dv::member_func("getQuatRotation", &Transform3f::getQuatRotation))
.def ("getTranslation", &Transform3f::getTranslation, doxygen::member_func_doc(&Transform3f::getTranslation), return_value_policy<copy_const_reference>())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment