50 #ifdef COAL_HAS_DOXYGEN_AUTODOC 
   51 #include "doxygen_autodoc/functions.h" 
   52 #include "doxygen_autodoc/coal/collision_data.h" 
   63     return res.nearest_points[0];
 
   66     return res.nearest_points[1];
 
   73   if (!eigenpy::register_symbolic_link_to_registered_type<DistanceRequest>()) {
 
   74     class_<DistanceRequest, bases<QueryRequest> >(
 
   75         "DistanceRequest", doxygen::class_doc<DistanceRequest>(),
 
   76         init<optional<bool, CoalScalar, CoalScalar> >(
 
   77             (arg(
"self"), arg(
"enable_nearest_points"), arg(
"rel_err"),
 
   81             "enable_nearest_points",
 
   84                   return self.enable_nearest_points;
 
   87                     "enable_nearest_points has been marked as deprecated. " 
   88                     "Nearest points are always computed when computing " 
   89                     "distance. They are the points of the shapes that achieve " 
   91                     "DistanceResult::min_distance.\n" 
   92                     "Use `enable_signed_distance` if you want to compute a " 
   94                     "distance (and thus its corresponding nearest points).")),
 
   97                   self.enable_nearest_points = 
value;
 
  100                     "enable_nearest_points has been marked as deprecated. " 
  101                     "Nearest points are always computed when computing " 
  102                     "distance. They are the points of the shapes that achieve " 
  104                     "DistanceResult::min_distance.\n" 
  105                     "Use `enable_signed_distance` if you want to compute a " 
  107                     "distance (and thus its corresponding nearest points).")),
 
  108             doxygen::class_attrib_doc<DistanceRequest>(
"enable_nearest_points"))
 
  117           std::vector<DistanceRequest> >()) {
 
  118     class_<std::vector<DistanceRequest> >(
"StdVec_DistanceRequest")
 
  119         .
def(vector_indexing_suite<std::vector<DistanceRequest> >());
 
  122   if (!eigenpy::register_symbolic_link_to_registered_type<DistanceResult>()) {
 
  123     class_<DistanceResult, bases<QueryResult> >(
 
  124         "DistanceResult", doxygen::class_doc<DistanceResult>(), no_init)
 
  125         .
def(dv::init<DistanceResult>())
 
  130              doxygen::class_attrib_doc<DistanceResult>(
"nearest_points"))
 
  132              doxygen::class_attrib_doc<DistanceResult>(
"nearest_points"))
 
  139         .def(
"clear", &DistanceResult::clear,
 
  145           std::vector<DistanceResult> >()) {
 
  146     class_<std::vector<DistanceResult> >(
"StdVec_DistanceResult")
 
  147         .
def(vector_indexing_suite<std::vector<DistanceResult> >());
 
  162   class_<ComputeDistance>(
"ComputeDistance",
 
  163                           doxygen::class_doc<ComputeDistance>(), no_init)