45 #ifdef COAL_HAS_DOXYGEN_AUTODOC
46 #include "doxygen_autodoc/functions.h"
47 #include "doxygen_autodoc/coal/collision_data.h"
50 #include "../doc/python/doxygen.hh"
51 #include "../doc/python/doxygen-boost.hh"
62 enum_<ContactPatch::PatchDirection>(
"ContactPatchDirection")
63 .value(
"DEFAULT", ContactPatch::PatchDirection::DEFAULT)
64 .value(
"INVERTED", ContactPatch::PatchDirection::INVERTED)
68 if (!eigenpy::register_symbolic_link_to_registered_type<ContactPatch>()) {
70 "ContactPatch", doxygen::class_doc<ContactPatch>(),
71 init<optional<size_t>>((arg(
"self"), arg(
"preallocated_size")),
72 "ContactPatch constructor."))
87 std::vector<ContactPatch>>()) {
88 class_<std::vector<ContactPatch>>(
"StdVec_ContactPatch")
89 .
def(vector_indexing_suite<std::vector<ContactPatch>>());
94 class_<ContactPatchRequest>(
95 "ContactPatchRequest", doxygen::class_doc<ContactPatchRequest>(),
96 init<optional<size_t, size_t, CoalScalar>>(
97 (arg(
"self"), arg(
"max_num_patch"),
98 arg(
"num_samples_curved_shapes"), arg(
"patch_tolerance")),
99 "ContactPatchRequest constructor."))
101 bp::optional<size_t, CoalScalar>>())
110 std::vector<ContactPatchRequest>>()) {
111 class_<std::vector<ContactPatchRequest>>(
"StdVec_ContactPatchRequest")
112 .
def(vector_indexing_suite<std::vector<ContactPatchRequest>>());
117 class_<ContactPatchResult>(
"ContactPatchResult",
118 doxygen::class_doc<ContactPatchResult>(),
119 init<>(arg(
"self"),
"Default constructor."))
120 .def(dv::init<ContactPatchResult, ContactPatchRequest>())
124 return_value_policy<copy_const_reference>())
131 std::vector<ContactPatchResult>>()) {
132 class_<std::vector<ContactPatchResult>>(
"StdVec_ContactPatchResult")
133 .
def(vector_indexing_suite<std::vector<ContactPatchResult>>());
137 "computeContactPatch",
142 "computeContactPatch",
150 class_<ComputeContactPatch>(
"ComputeContactPatch",
151 doxygen::class_doc<ComputeContactPatch>(),
159 &ComputeContactPatch::operator()));