template<typename Real>
struct collisionobbcapsule::detection::intersection::IntrConfigManager< Real >
IntrConfigManager is used to project the primitives on an axis and to find the axis which maximizes the distance of the projected primitives. Each time you run IntrConfigManager<Real>::Find with a new axis, config_modified is true if the last passed axis maximizes the distance between the projection (described by IntrConfiguration) of the both primitives.
|
static void | init (const type::Vec< 3, Real > &axis, const type::Vec< 3, Real > segment[2], Real radius, CapIntrConfiguration< Real > &cfg) |
|
static void | init (const type::Vec< 3, Real > &axis, const type::Vec< 3, Real > segment[2], IntrConfiguration< Real > &cfg) |
|
template<class Config0 , class Config1 > |
static bool | Find (const Config0 &cfg0Start, const Config1 &cfg1Start, int &side, Config0 &cfg0Final, Config1 &cfg1Final, Real dmax, Real &dfirst, bool &config_modified) |
|