38 #ifndef FCL_NARROWPHASE_DETAIL_SPHERECAPSULE_H 39 #define FCL_NARROWPHASE_DETAIL_SPHERECAPSULE_H 41 #include "fcl/geometry/shape/sphere.h" 42 #include "fcl/geometry/shape/capsule.h" 43 #include "fcl/narrowphase/contact_point.h" 56 void lineSegmentPointClosestToPoint(
63 bool sphereCapsuleIntersect(
const Sphere<S>& s1,
const Transform3<S>& tf1,
64 const Capsule<S>& s2,
const Transform3<S>& tf2,
65 std::vector<ContactPoint<S>>* contacts);
68 bool sphereCapsuleDistance(
const Sphere<S>& s1,
const Transform3<S>& tf1,
69 const Capsule<S>& s2,
const Transform3<S>& tf2,
70 S* dist, Vector3<S>* p1, Vector3<S>* p2);
75 #include "fcl/narrowphase/detail/primitive_shape_algorithm/sphere_capsule-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45