SOFA API  99934cbc
Open source framework for multi-physics simuation
sofa::component::collision::MeshDiscreteIntersection Class Reference

#include <MeshDiscreteIntersection.h>

Inheritance diagram for sofa::component::collision::MeshDiscreteIntersection:

Protected Attributes

DiscreteIntersectionintersection
 

Public Member Functions

 MeshDiscreteIntersection (DiscreteIntersection *object, bool addSelf=true)
 
bool testIntersection (Triangle &, Line &)
 
template<class T >
bool testIntersection (TSphere< T > &, Triangle &)
 
int computeIntersection (Triangle &e1, Line &e2, OutputVector *contacts)
 
template<class T >
int computeIntersection (TSphere< T > &, Triangle &, OutputVector *)
 
int computeIntersection (Triangle &e1, Capsule &e2, OutputVector *contacts)
 
int computeIntersection (Capsule &cap, Triangle &tri, OutputVector *contacts)
 
int computeIntersection (Capsule &cap, Line &lin, OutputVector *contacts)
 
bool testIntersection (Capsule &, Triangle &)
 
bool testIntersection (Capsule &, Line &)
 
- Public Member Functions inherited from sofa::core::collision::BaseIntersector
 BaseIntersector ()
 
 ~BaseIntersector ()
 
template<class Model1 , class Model2 >
sofa::core::collision::TDetectionOutputVector< Model1, Model2 > * createOutputVector (Model1 *, Model2 *)
 
template<class Model1 , class 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 *)
 

Attribute details

DiscreteIntersection* sofa::component::collision::MeshDiscreteIntersection::intersection
protected

Constructor details

sofa::component::collision::MeshDiscreteIntersection::MeshDiscreteIntersection ( DiscreteIntersection object,
bool  addSelf = true 
)

Function details

int sofa::component::collision::MeshDiscreteIntersection::computeIntersection ( Triangle e1,
Line e2,
OutputVector contacts 
)
template<class T >
int sofa::component::collision::MeshDiscreteIntersection::computeIntersection ( TSphere< T > &  sph,
Triangle triangle,
OutputVector contacts 
)
int sofa::component::collision::MeshDiscreteIntersection::computeIntersection ( Triangle e1,
Capsule e2,
OutputVector contacts 
)
int sofa::component::collision::MeshDiscreteIntersection::computeIntersection ( Capsule cap,
Triangle tri,
OutputVector contacts 
)
inline
int sofa::component::collision::MeshDiscreteIntersection::computeIntersection ( Capsule cap,
Line lin,
OutputVector contacts 
)
inline
bool sofa::component::collision::MeshDiscreteIntersection::testIntersection ( Triangle ,
Line  
)
template<class T >
bool sofa::component::collision::MeshDiscreteIntersection::testIntersection ( TSphere< T > &  sph,
Triangle triangle 
)
bool sofa::component::collision::MeshDiscreteIntersection::testIntersection ( Capsule ,
Triangle  
)
bool sofa::component::collision::MeshDiscreteIntersection::testIntersection ( Capsule ,
Line  
)