SOFA plugin: CollisionOBBCapsule  master
Open source framework for multi-physics simuation
collisionobbcapsule::detection::intersection::CapsuleIntTool Class Reference

#include <CapsuleIntTool.h>

Inheritance diagram for collisionobbcapsule::detection::intersection::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

◆ computeIntersection() [1/3]

template<class DataTypes >
int collisionobbcapsule::detection::intersection::CapsuleIntTool::computeIntersection ( geometry::TCapsule< DataTypes > &  cap,
OBB obb,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
static

◆ computeIntersection() [2/3]

template<class DataTypes1 , class DataTypes2 >
int collisionobbcapsule::detection::intersection::CapsuleIntTool::computeIntersection ( geometry::TCapsule< DataTypes1 > &  e1,
geometry::TCapsule< DataTypes2 > &  e2,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
static

◆ computeIntersection() [3/3]

template<class DataTypes1 , class DataTypes2 >
int collisionobbcapsule::detection::intersection::CapsuleIntTool::computeIntersection ( TCapsule< DataTypes1 > &  cap,
TSphere< DataTypes2 > &  sph,
SReal  alarmDist,
SReal  contactDist,
OutputVector contacts 
)
static

◆ shareSameVertex() [1/2]

bool collisionobbcapsule::detection::intersection::CapsuleIntTool::shareSameVertex ( const Capsule c1,
const Capsule c2 
)
static

◆ shareSameVertex() [2/2]

template<class DataTypes1 , class DataTypes2 >
bool collisionobbcapsule::detection::intersection::CapsuleIntTool::shareSameVertex ( const TCapsule< DataTypes1 > &  c1,
const TCapsule< DataTypes2 > &  c2 
)
static