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

#include <OBBIntersection.h>

Inheritance diagram for collisionobbcapsule::detection::intersection::RigidDiscreteIntersection:

Public Member Functions

 RigidDiscreteIntersection (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)
 
bool testIntersection (Ray &, OBB &, const core::collision::Intersection *intersection)
 
int computeIntersection (Ray &rRay, OBB &rObb, OutputVector *contacts, 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

◆ RigidDiscreteIntersection()

collisionobbcapsule::detection::intersection::RigidDiscreteIntersection::RigidDiscreteIntersection ( DiscreteIntersection intersection)

Function details

◆ computeIntersection() [1/2]

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

◆ computeIntersection() [2/2]

int collisionobbcapsule::detection::intersection::RigidDiscreteIntersection::computeIntersection ( Ray rRay,
OBB rObb,
OutputVector *  contacts,
const core::collision::Intersection intersection 
)

◆ testIntersection() [1/2]

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

◆ testIntersection() [2/2]

bool collisionobbcapsule::detection::intersection::RigidDiscreteIntersection::testIntersection ( Ray ,
OBB ,
const core::collision::Intersection intersection 
)