38 #ifndef FCL_CONTACTPOINT_INL_H 39 #define FCL_CONTACTPOINT_INL_H 48 struct ContactPoint<double>;
53 const ContactPoint<double>& _cp1,
const ContactPoint<double>& _cp2);
57 void flipNormal(std::vector<ContactPoint<double>>& contacts);
64 penetration_depth(0.0)
89 for (
auto& contact : contacts)
90 contact.normal *= -1.0;
template void flipNormal(std::vector< ContactPoint< double >> &contacts)
template bool comparePenDepth(const ContactPoint< double > &_cp1, const ContactPoint< double > &_cp2)
Eigen::Matrix< S, 3, 1 > Vector3