38 #ifndef FCL_NARROWPHASE_DETAIL_CAPSULECAPSULE_H 39 #define FCL_NARROWPHASE_DETAIL_CAPSULECAPSULE_H 41 #include "fcl/common/types.h" 42 #include "fcl/geometry/shape/capsule.h" 52 S clamp(S n, S min, S max);
58 S closestPtSegmentSegment(
59 Vector3<S> p1, Vector3<S> q1, Vector3<S> p2, Vector3<S> q2,
60 S &s, S &t, Vector3<S> &c1, Vector3<S> &c2);
66 bool capsuleCapsuleDistance(
const Capsule<S>& s1,
const Transform3<S>& tf1,
67 const Capsule<S>& s2,
const Transform3<S>& tf2,
68 S* dist, Vector3<S>* p1_res, Vector3<S>* p2_res);
73 #include "fcl/narrowphase/detail/primitive_shape_algorithm/capsule_capsule-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45