38 #ifndef FCL_NARROWPHASE_DETAIL_CAPSULECAPSULE_H 39 #define FCL_NARROWPHASE_DETAIL_CAPSULECAPSULE_H 77 const Vector3<S>& p_FQ1,
78 const Vector3<S>& p_FP2,
79 const Vector3<S>& p_FQ2, S* s, S* t,
80 Vector3<S>* p_FC1, Vector3<S>* p_FC2);
106 template <
typename S>
109 const Capsule<S>& s2,
const Transform3<S>& X_FC2,
110 S* dist, Vector3<S>* p_FW1, Vector3<S>* p_FW2);
template double clamp(double n, double min, double max)
template double closestPtSegmentSegment(const Vector3d &p_FP1, const Vector3d &p_FQ1, const Vector3d &p_FP2, const Vector3d &p_FQ2, double *s, double *t, Vector3d *p_FC1, Vector3d *p_FC2)
template bool capsuleCapsuleDistance(const Capsule< double > &s1, const Transform3< double > &tf1, const Capsule< double > &s2, const Transform3< double > &tf2, double *dist, Vector3d *p1_res, Vector3d *p2_res)