38 #ifndef FCL_COLLISIONREQUEST_INL_H 39 #define FCL_COLLISIONREQUEST_INL_H 50 struct CollisionRequest<double>;
55 size_t num_max_contacts_,
57 size_t num_max_cost_sources_,
59 bool use_approximate_cost_,
64 num_max_cost_sources(num_max_cost_sources_),
65 enable_cost(enable_cost_),
66 use_approximate_cost(use_approximate_cost_),
67 gjk_solver_type(gjk_solver_type_),
68 enable_cached_gjk_guess(false),
69 cached_gjk_guess(
Vector3<S>::UnitX()),
70 gjk_tolerance(gjk_tolerance_)
size_t numContacts() const
number of contacts found
CollisionRequest(size_t num_max_contacts_=1, bool enable_contact_=false, size_t num_max_cost_sources_=1, bool enable_cost_=false, bool use_approximate_cost_=true, GJKSolverType gjk_solver_type_=GST_LIBCCD, Real gjk_tolerance_=1e-6)
Default constructor.
Eigen::Matrix< S, 3, 1 > Vector3
Parameters for performing collision request.
bool isCollision() const
return binary collision result
GJKSolverType
Type of narrow phase GJK solver.