42 #ifdef COAL_HAS_DOXYGEN_AUTODOC
43 #include "doxygen_autodoc/functions.h"
44 #include "doxygen_autodoc/coal/narrowphase/gjk.h"
56 bool compute_swept_sphere_support =
false) {
57 if (compute_swept_sphere_support) {
65 bool compute_swept_sphere_support =
false) {
66 if (compute_swept_sphere_support) {
75 bool compute_swept_sphere_support =
false) {
76 if (compute_swept_sphere_support) {
86 bool compute_swept_sphere_supports =
false) {
87 if (compute_swept_sphere_supports) {
96 if (!eigenpy::register_symbolic_link_to_registered_type<GJK::Status>()) {
97 enum_<GJK::Status>(
"GJKStatus")
98 .value(
"Failed", GJK::Status::Failed)
99 .value(
"DidNotRun", GJK::Status::DidNotRun)
100 .value(
"NoCollision", GJK::Status::NoCollision)
101 .value(
"NoCollisionEarlyStopped", GJK::Status::NoCollisionEarlyStopped)
102 .value(
"CollisionWithPenetrationInformation",
103 GJK::Status::CollisionWithPenetrationInformation)
104 .value(
"Collision", GJK::Status::Collision)
108 if (!eigenpy::register_symbolic_link_to_registered_type<MinkowskiDiff>()) {
109 class_<MinkowskiDiff>(
"MinkowskiDiff", doxygen::class_doc<MinkowskiDiff>(),
111 .def(doxygen::visitor::init<MinkowskiDiff>())
118 &MinkowskiDiff::set<SupportOptions::NoSweptSphere>)))
129 &MinkowskiDiff::set<SupportOptions::NoSweptSphere>)))
133 &MinkowskiDiff::support0<SupportOptions::NoSweptSphere>))
137 &MinkowskiDiff::support1<SupportOptions::NoSweptSphere>))
139 .def(
"support", &MinkowskiDiff::support,
143 .DEF_RW_CLASS_ATTRIB(
MinkowskiDiff, normalize_support_direction);
146 if (!eigenpy::register_symbolic_link_to_registered_type<GJKVariant>()) {
147 enum_<GJKVariant>(
"GJKVariant")
154 if (!eigenpy::register_symbolic_link_to_registered_type<GJKInitialGuess>()) {
155 enum_<GJKInitialGuess>(
"GJKInitialGuess")
164 enum_<GJKConvergenceCriterion>(
"GJKConvergenceCriterion")
173 enum_<GJKConvergenceCriterionType>(
"GJKConvergenceCriterionType")
179 if (!eigenpy::register_symbolic_link_to_registered_type<GJK>()) {
180 class_<GJK>(
"GJK", doxygen::class_doc<GJK>(), no_init)
181 .def(doxygen::visitor::init<GJK, unsigned int, CoalScalar>())
183 .DEF_RW_CLASS_ATTRIB(
GJK, ray)
184 .DEF_RW_CLASS_ATTRIB(
GJK, support_hint)
185 .DEF_RW_CLASS_ATTRIB(
GJK, gjk_variant)
186 .DEF_RW_CLASS_ATTRIB(
GJK, convergence_criterion)
187 .DEF_RW_CLASS_ATTRIB(
GJK, convergence_criterion_type)
188 .DEF_CLASS_FUNC(
GJK, reset)
189 .DEF_CLASS_FUNC(
GJK, evaluate)
190 .DEF_CLASS_FUNC(
GJK, getTolerance)
191 .DEF_CLASS_FUNC(
GJK, getNumMaxIterations)
192 .DEF_CLASS_FUNC(
GJK, getNumIterations)
193 .DEF_CLASS_FUNC(
GJK, getNumIterationsMomentumStopped)
194 .DEF_CLASS_FUNC(
GJK, hasClosestPoints)
195 .DEF_CLASS_FUNC(
GJK, getWitnessPointsAndNormal)
196 .DEF_CLASS_FUNC(
GJK, setDistanceEarlyBreak)
197 .DEF_CLASS_FUNC(
GJK, getGuessFromSimplex);