SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::collision::CapsuleIntTool Class Reference

#include <CapsuleIntTool.h>

Inheritance diagram for sofa::component::collision::CapsuleIntTool:

Static Public Member Functions

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)
 

Function details

template<class DataTypes1 , class DataTypes2 >
int sofa::component::collision::CapsuleIntTool::computeIntersection ( TCapsule< DataTypes1 > &  e1,
TCapsule< DataTypes2 > &  e2,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
static
template<class DataTypes1 , class DataTypes2 >
int sofa::component::collision::CapsuleIntTool::computeIntersection ( TCapsule< DataTypes1 > &  cap,
TSphere< DataTypes2 > &  sph,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
static
template<class DataTypes >
int sofa::component::collision::CapsuleIntTool::computeIntersection ( TCapsule< DataTypes > &  cap,
OBB obb,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
static
template<class DataTypes1 , class DataTypes2 >
bool sofa::component::collision::CapsuleIntTool::shareSameVertex ( const TCapsule< DataTypes1 > &  c1,
const TCapsule< DataTypes2 > &  c2 
)
static
bool sofa::component::collision::CapsuleIntTool::shareSameVertex ( const Capsule c1,
const Capsule c2 
)
static