42 #ifdef HPP_FCL_HAS_DOXYGEN_AUTODOC
43 #include "doxygen_autodoc/functions.h"
44 #include "doxygen_autodoc/hpp/fcl/collision_data.h"
54 return res.nearest_points[0];
57 return res.nearest_points[1];
62 if (!eigenpy::register_symbolic_link_to_registered_type<DistanceRequest>()) {
63 class_<DistanceRequest, bases<QueryRequest> >(
64 "DistanceRequest", doxygen::class_doc<DistanceRequest>(),
65 init<optional<bool, FCL_REAL, FCL_REAL> >(
66 (arg(
"self"), arg(
"enable_nearest_points"), arg(
"rel_err"),
75 std::vector<DistanceRequest> >()) {
76 class_<std::vector<DistanceRequest> >(
"StdVec_DistanceRequest")
77 .
def(vector_indexing_suite<std::vector<DistanceRequest> >());
80 if (!eigenpy::register_symbolic_link_to_registered_type<DistanceResult>()) {
81 class_<DistanceResult, bases<QueryResult> >(
82 "DistanceResult", doxygen::class_doc<DistanceResult>(), no_init)
83 .
def(dv::init<DistanceResult>())
88 doxygen::class_attrib_doc<DistanceResult>(
"nearest_points"))
90 doxygen::class_attrib_doc<DistanceResult>(
"nearest_points"))
96 .def(
"clear", &DistanceResult::clear,
101 std::vector<DistanceResult> >()) {
102 class_<std::vector<DistanceResult> >(
"StdVec_DistanceResult")
103 .
def(vector_indexing_suite<std::vector<DistanceResult> >());
117 class_<ComputeDistance>(
"ComputeDistance",
118 doxygen::class_doc<ComputeDistance>(), no_init)