42 #ifdef HPP_FCL_HAS_DOXYGEN_AUTODOC 43 #include "doxygen_autodoc/functions.h" 44 #include "doxygen_autodoc/hpp/fcl/collision_data.h" 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)
const char * member_func_doc(FuncPtr)
request to the distance computation
Vec3f nearest_points[2]
nearest points
void def(const char *name, Func func)
bool register_symbolic_link_to_registered_type()
static Vec3f getNearestPoint2(const DistanceResult &res)
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
static Vec3f getNearestPoint1(const DistanceResult &res)
the object for collision or distance computation, contains the geometry and the transform information...
The geometry for the object for collision or distance computation.
double distance(const std::vector< Transform3f > &tf, const BVHModel< BV > &m1, const BVHModel< BV > &m2, bool verbose)