SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::component::collision::BaseIntTool Class Reference

#include <BaseIntTool.h>

Inheritance diagram for sofa::component::collision::BaseIntTool:

Static Public Member Functions

template<class Elem1 , class Elem2 >
static bool testIntersection (Elem1 &, Elem2 &, SReal)
 
static bool testIntersection (Cube &cube1, Cube &cube2, SReal alarmDist)
 
template<class DataTypes1 , class DataTypes2 >
static bool testIntersection (TSphere< DataTypes1 > &sph1, TSphere< DataTypes2 > &sph2, SReal alarmDist)
 
template<class DataTypes1 , class DataTypes2 >
static int computeIntersection (TSphere< DataTypes1 > &sph1, TSphere< DataTypes2 > &sph2, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
template<class DataTypes1 , class DataTypes2 >
static int computeIntersection (TCapsule< DataTypes1 > &c1, TCapsule< DataTypes2 > &c2, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
template<class DataTypes1 , class DataTypes2 >
static int computeIntersection (TCapsule< DataTypes1 > &cap, TSphere< DataTypes2 > &sph, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
template<class DataTyes >
static int computeIntersection (TCapsule< DataTyes > &cap, OBB &obb, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
static int computeIntersection (OBB &obb0, OBB &obb1, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
template<class DataType >
static int computeIntersection (TSphere< DataType > &sph, OBB &obb, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
static int computeIntersection (Cube &, Cube &, SReal, SReal, OutputVector *)
 
- Static Public Member Functions inherited from sofa::component::collision::CapsuleIntTool
template<class DataTypes1 , class DataTypes2 >
static int computeIntersection (TCapsule< DataTypes1 > &, TCapsule< DataTypes2 > &, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
template<class DataTypes1 , class DataTypes2 >
static int computeIntersection (TCapsule< DataTypes1 > &, TSphere< DataTypes2 > &, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
template<class DataTypes >
static int computeIntersection (TCapsule< DataTypes > &, OBB &, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
template<class DataTypes1 , class DataTypes2 >
static bool shareSameVertex (const TCapsule< DataTypes1 > &c1, const TCapsule< DataTypes2 > &c2)
 
static bool shareSameVertex (const Capsule &c1, const Capsule &c2)
 
- Static Public Member Functions inherited from sofa::component::collision::OBBIntTool
static int computeIntersection (OBB &, OBB &, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 
template<class DataTypes >
static int computeIntersection (TSphere< DataTypes > &sph1, OBB &box, SReal alarmDist, SReal contactDist, OutputVector *contacts)
 

Function details

template<class DataTypes1 , class DataTypes2 >
static int sofa::component::collision::BaseIntTool::computeIntersection ( TSphere< DataTypes1 > &  sph1,
TSphere< DataTypes2 > &  sph2,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
inlinestatic
template<class DataTypes1 , class DataTypes2 >
static int sofa::component::collision::BaseIntTool::computeIntersection ( TCapsule< DataTypes1 > &  c1,
TCapsule< DataTypes2 > &  c2,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
inlinestatic
template<class DataTypes1 , class DataTypes2 >
static int sofa::component::collision::BaseIntTool::computeIntersection ( TCapsule< DataTypes1 > &  cap,
TSphere< DataTypes2 > &  sph,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
inlinestatic
template<class DataTyes >
static int sofa::component::collision::BaseIntTool::computeIntersection ( TCapsule< DataTyes > &  cap,
OBB obb,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
inlinestatic
static int sofa::component::collision::BaseIntTool::computeIntersection ( OBB obb0,
OBB obb1,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
inlinestatic
template<class DataType >
static int sofa::component::collision::BaseIntTool::computeIntersection ( TSphere< DataType > &  sph,
OBB obb,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
inlinestatic
static int sofa::component::collision::BaseIntTool::computeIntersection ( Cube ,
Cube ,
SReal  ,
SReal  ,
OutputVector  
)
inlinestatic
template<class Elem1 , class Elem2 >
static bool sofa::component::collision::BaseIntTool::testIntersection ( Elem1 &  ,
Elem2 &  ,
SReal   
)
inlinestatic
bool sofa::component::collision::BaseIntTool::testIntersection ( Cube cube1,
Cube cube2,
SReal  alarmDist 
)
static
template<class DataTypes1 , class DataTypes2 >
static bool sofa::component::collision::BaseIntTool::testIntersection ( TSphere< DataTypes1 > &  sph1,
TSphere< DataTypes2 > &  sph2,
SReal  alarmDist 
)
inlinestatic