38 #ifndef FCL_NARROWPHASE_DETAIL_SPHERETRIANGLE_H 39 #define FCL_NARROWPHASE_DETAIL_SPHERETRIANGLE_H 53 S
segmentSqrDistance(
const Vector3<S>& from,
const Vector3<S>& to,
const Vector3<S>& p, Vector3<S>& nearest);
58 bool projectInTriangle(
const Vector3<S>& p1,
const Vector3<S>& p2,
const Vector3<S>& p3,
const Vector3<S>& normal,
const Vector3<S>& p);
63 const Vector3<S>& P1,
const Vector3<S>& P2,
const Vector3<S>& P3, Vector3<S>* contact_points, S* penetration_depth, Vector3<S>* normal_);
68 const Vector3<S>& P1,
const Vector3<S>& P2,
const Vector3<S>& P3,
74 const Vector3<S>& P1,
const Vector3<S>& P2,
const Vector3<S>& P3,
75 S* dist, Vector3<S>* p1, Vector3<S>* p2);
80 const Vector3<S>& P1,
const Vector3<S>& P2,
const Vector3<S>& P3,
const Transform3<S>& tf2,
81 S* dist, Vector3<S>* p1, Vector3<S>* p2);
template bool projectInTriangle(const Vector3< double > &p1, const Vector3< double > &p2, const Vector3< double > &p3, const Vector3< double > &normal, const Vector3< double > &p)
template bool sphereTriangleDistance(const Sphere< double > &sp, const Transform3< double > &tf, const Vector3< double > &P1, const Vector3< double > &P2, const Vector3< double > &P3, double *dist)
template bool sphereTriangleIntersect(const Sphere< double > &s, const Transform3< double > &tf, const Vector3< double > &P1, const Vector3< double > &P2, const Vector3< double > &P3, Vector3< double > *contact_points, double *penetration_depth, Vector3< double > *normal_)
template double segmentSqrDistance(const Vector3< double > &from, const Vector3< double > &to, const Vector3< double > &p, Vector3< double > &nearest)