SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::collision::IntrAxis< TOBB< TDataTypes > > Class Template Reference

#include <IntrUtility3.h>

Detailed Description

template<class TDataTypes>
class sofa::component::collision::IntrAxis< TOBB< TDataTypes > >

The axis must be normalized when testing a capsule !. TDataTypes is the data type of the OBB.

Static Public Member Functions

static bool Find (const Coord &axis, const Box &box0, const Box &box1, Real dmax, Real &dfirst, int &side, IntrConfiguration< Real > &box0CfgFinal, IntrConfiguration< Real > &box1CfgFinal, bool &config_modified)
 
static bool Find (const Coord &axis, const defaulttype::Vec< 3, Real > segment[2], Real radius, const Box &box, Real dmax, Real &dfirst, int &side, CapIntrConfiguration< Real > &segCfgFinal, IntrConfiguration< Real > &boxCfgFinal, bool &config_modified)
 

Function details

template<class TDataTypes >
bool sofa::component::collision::IntrAxis< TOBB< TDataTypes > >::Find ( const Coord axis,
const Box box0,
const Box box1,
Real  dmax,
Real dfirst,
int side,
IntrConfiguration< Real > &  box0CfgFinal,
IntrConfiguration< Real > &  box1CfgFinal,
bool config_modified 
)
static
template<class TDataTypes >
bool sofa::component::collision::IntrAxis< TOBB< TDataTypes > >::Find ( const Coord axis,
const defaulttype::Vec< 3, Real segment[2],
Real  radius,
const Box box,
Real  dmax,
Real dfirst,
int side,
CapIntrConfiguration< Real > &  segCfgFinal,
IntrConfiguration< Real > &  boxCfgFinal,
bool config_modified 
)
static