36 #ifndef COAL_CONTACT_PATCH_SOLVER_H
37 #define COAL_CONTACT_PATCH_SOLVER_H
84 typedef void (*SupportSetFunction)(
const ShapeBase* shape,
87 size_t num_sampled_supports,
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 =
139 preallocated_patch_size, patch_tolerance);
154 this->support_guess = guess;
162 template <
typename ShapeType1,
typename ShapeType2>
163 void computePatch(
const ShapeType1& s1,
const Transform3s& tf1,
168 template <
typename ShapeType1,
typename ShapeType2>
169 void reset(
const ShapeType1& shape1,
const Transform3s& tf1,
183 static Vec2s computeLineSegmentIntersection(
const Vec2s& a,
const Vec2s& b,
202 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Base class for all basic geometric shapes.
Definition: geometric_shapes.h:58
#define COAL_DLLAPI
Definition: config.hh:88
Main namespace.
Definition: broadphase_bruteforce.h:44
Eigen::Matrix< CoalScalar, 2, 1 > Vec2s
Definition: data_types.h:78
Eigen::Vector2i support_func_guess_t
Definition: data_types.h:87
double CoalScalar
Definition: data_types.h:76
Stores temporary data for the computation of support points.
Definition: support_functions.h:80