38 #ifndef FCL_COLLISIONREQUEST_INL_H 39 #define FCL_COLLISIONREQUEST_INL_H 41 #include "fcl/narrowphase/collision_request.h" 43 #include "fcl/narrowphase/collision_result.h" 50 struct CollisionRequest<double>;
54 CollisionRequest<S>::CollisionRequest(
55 size_t num_max_contacts_,
57 size_t num_max_cost_sources_,
59 bool use_approximate_cost_,
61 : num_max_contacts(num_max_contacts_),
62 enable_contact(enable_contact_),
63 num_max_cost_sources(num_max_cost_sources_),
64 enable_cost(enable_cost_),
65 use_approximate_cost(use_approximate_cost_),
66 gjk_solver_type(gjk_solver_type_),
67 enable_cached_gjk_guess(false),
68 cached_gjk_guess(Vector3<S>::UnitX())
75 bool CollisionRequest<S>::isSatisfied(
76 const CollisionResult<S>& result)
const 79 && result.isCollision()
80 && (num_max_contacts <= result.numContacts());
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
GJKSolverType
Type of narrow phase GJK solver.
Definition: gjk_solver_type.h:45