36 #ifndef HPP_FCL_CONTACT_PATCH_SOLVER_H
37 #define HPP_FCL_CONTACT_PATCH_SOLVER_H
85 typedef void (*SupportSetFunction)(
const ShapeBase* shape,
88 size_t num_sampled_supports,
FCL_REAL tol);
91 static constexpr
size_t default_num_preallocated_supports = 16;
134 const size_t num_contact_patch = 1;
135 const size_t preallocated_patch_size =
137 const FCL_REAL patch_tolerance = 1e-3;
139 preallocated_patch_size, patch_tolerance);
154 this->support_guess = guess;
162 template <
typename ShapeType1,
typename ShapeType2>
163 void computePatch(
const ShapeType1& s1,
const Transform3f& tf1,
168 template <
typename ShapeType1,
typename ShapeType2>
169 void reset(
const ShapeType1& shape1,
const Transform3f& tf1,
183 static Vec2f computeLineSegmentIntersection(
const Vec2f& a,
const Vec2f& b,
202 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Base class for all basic geometric shapes.
Definition: geometric_shapes.h:59
#define HPP_FCL_DLLAPI
Definition: config.hh:88
Eigen::Matrix< FCL_REAL, 2, 1 > Vec2f
Definition: data_types.h:68
double FCL_REAL
Definition: data_types.h:66
Eigen::Vector2i support_func_guess_t
Definition: data_types.h:77
Main namespace.
Definition: broadphase_bruteforce.h:44
Stores temporary data for the computation of support points.
Definition: support_functions.h:81