39 #ifndef COAL_SUPPORT_FUNCTIONS_H
40 #define COAL_SUPPORT_FUNCTIONS_H
76 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
94 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
96 Vec3s& support,
int& ,
100 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
105 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
110 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
112 Vec3s& support,
int& ,
116 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
121 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
126 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
133 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
147 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
152 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
194 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
196 size_t num_sampled_supports = 6,
CoalScalar tol = 1e-3);
205 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
208 size_t num_sampled_supports = 6,
CoalScalar tol = 1e-3) {
211 const Vec3s support = getSupport<_SupportOptions>(shape, support_dir, hint);
212 getSupportSet<_SupportOptions>(shape, support_set, hint, num_sampled_supports,
218 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
220 int& , ShapeSupportData& ,
221 size_t num_sampled_supports = 6,
226 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
228 int& , ShapeSupportData& support_data,
229 size_t num_sampled_supports = 6,
234 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
236 int& , ShapeSupportData& ,
237 size_t num_sampled_supports = 6,
242 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
244 int& , ShapeSupportData& ,
245 size_t num_sampled_supports = 6,
250 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
252 int& , ShapeSupportData& ,
253 size_t num_sampled_supports = 6,
258 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
260 int& , ShapeSupportData& ,
261 size_t num_sampled_supports = 6,
CoalScalar tol = 1e-3);
265 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
267 int& , ShapeSupportData& ,
268 size_t num_sampled_supports = 6,
CoalScalar tol = 1e-3);
274 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
276 int& hint, ShapeSupportData& support_data,
277 size_t num_sampled_supports = 6,
282 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
284 int& , ShapeSupportData& ,
285 size_t num_sampled_supports = 6,
290 template <
int _SupportOptions = SupportOptions::NoSweptSphere>
292 int& hint, ShapeSupportData& support_data,
293 size_t num_sampled_supports = 6,
308 #endif // COAL_SUPPORT_FUNCTIONS_H