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

#include <CapsuleIntersection.h>

Inheritance diagram for collisionobbcapsule::detection::intersection::CapsuleDiscreteIntersection:

Public Member Functions

 CapsuleDiscreteIntersection (DiscreteIntersection *intersection)
 
template<class Elem1 , class Elem2 >
int computeIntersection (Elem1 &e1, Elem2 &e2, OutputVector *contacts, const core::collision::Intersection *intersection)
 
template<class Elem1 , class Elem2 >
bool testIntersection (Elem1 &e1, Elem2 &e2, const core::collision::Intersection *intersection)
 
- Public Member Functions inherited from sofa::core::collision::BaseIntersector
 BaseIntersector ()
 
 ~BaseIntersector ()
 
sofa::core::collision::TDetectionOutputVector< Model1, Model2 > * createOutputVector (Model1 *, Model2 *)
 
sofa::core::collision::TDetectionOutputVector< Model1, Model2 > * getOutputVector (Model1 *, Model2 *, sofa::core::collision::DetectionOutputVector *contacts)
 
int beginIntersection (sofa::core::CollisionModel *, sofa::core::CollisionModel *, OutputVector *)
 
int endIntersection (sofa::core::CollisionModel *, sofa::core::CollisionModel *, OutputVector *)
 

Constructor details

◆ CapsuleDiscreteIntersection()

collisionobbcapsule::detection::intersection::CapsuleDiscreteIntersection::CapsuleDiscreteIntersection ( DiscreteIntersection intersection)

Function details

◆ computeIntersection()

template<class Elem1 , class Elem2 >
int collisionobbcapsule::detection::intersection::CapsuleDiscreteIntersection::computeIntersection ( Elem1 &  e1,
Elem2 &  e2,
OutputVector *  contacts,
const core::collision::Intersection intersection 
)
inline

◆ testIntersection()

template<class Elem1 , class Elem2 >
bool collisionobbcapsule::detection::intersection::CapsuleDiscreteIntersection::testIntersection ( Elem1 &  e1,
Elem2 &  e2,
const core::collision::Intersection intersection 
)
inline