SOFA API  56988ca1
Open source framework for multi-physics simuation
sofa::component::collision::detection::intersection::MeshMinProximityIntersection Class Reference

#include <MeshMinProximityIntersection.h>

Inheritance diagram for sofa::component::collision::detection::intersection::MeshMinProximityIntersection:

Protected Attributes

MinProximityIntersectionintersection
 

Public Member Functions

 MeshMinProximityIntersection (MinProximityIntersection *object, bool addSelf=true)
 
bool testIntersection (collision::geometry::Point &, collision::geometry::Point &)
 
template<class T >
bool testIntersection (collision::geometry::TSphere< T > &, collision::geometry::Point &)
 
bool testIntersection (collision::geometry::Line &, collision::geometry::Point &)
 
template<class T >
bool testIntersection (collision::geometry::Line &, collision::geometry::TSphere< T > &)
 
bool testIntersection (collision::geometry::Line &, collision::geometry::Line &)
 
bool testIntersection (collision::geometry::Triangle &, collision::geometry::Point &)
 
template<class T >
bool testIntersection (collision::geometry::Triangle &, collision::geometry::TSphere< T > &)
 
int computeIntersection (collision::geometry::Point &, collision::geometry::Point &, OutputVector *)
 
template<class T >
int computeIntersection (collision::geometry::TSphere< T > &, collision::geometry::Point &, OutputVector *)
 
int computeIntersection (collision::geometry::Line &, collision::geometry::Point &, OutputVector *)
 
template<class T >
int computeIntersection (collision::geometry::Line &, collision::geometry::TSphere< T > &, OutputVector *)
 
int computeIntersection (collision::geometry::Line &, collision::geometry::Line &, OutputVector *)
 
int computeIntersection (collision::geometry::Triangle &, collision::geometry::Point &, OutputVector *)
 
template<class T >
int computeIntersection (collision::geometry::Triangle &, collision::geometry::TSphere< T > &, OutputVector *)
 
- 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

◆ intersection

MinProximityIntersection* sofa::component::collision::detection::intersection::MeshMinProximityIntersection::intersection
protected

Constructor details

◆ MeshMinProximityIntersection()

sofa::component::collision::detection::intersection::MeshMinProximityIntersection::MeshMinProximityIntersection ( MinProximityIntersection object,
bool  addSelf = true 
)

Function details

◆ computeIntersection() [1/7]

int sofa::component::collision::detection::intersection::MeshMinProximityIntersection::computeIntersection ( collision::geometry::Line e1,
collision::geometry::Line e2,
OutputVector contacts 
)

◆ computeIntersection() [2/7]

int sofa::component::collision::detection::intersection::MeshMinProximityIntersection::computeIntersection ( collision::geometry::Line e2,
collision::geometry::Point e1,
OutputVector contacts 
)

◆ computeIntersection() [3/7]

template<class T >
int sofa::component::collision::detection::intersection::MeshMinProximityIntersection::computeIntersection ( collision::geometry::Line e2,
collision::geometry::TSphere< T > &  e1,
OutputVector contacts 
)

◆ computeIntersection() [4/7]

int sofa::component::collision::detection::intersection::MeshMinProximityIntersection::computeIntersection ( collision::geometry::Point e1,
collision::geometry::Point e2,
OutputVector contacts 
)

◆ computeIntersection() [5/7]

int sofa::component::collision::detection::intersection::MeshMinProximityIntersection::computeIntersection ( collision::geometry::Triangle e2,
collision::geometry::Point e1,
OutputVector contacts 
)

◆ computeIntersection() [6/7]

template<class T >
int sofa::component::collision::detection::intersection::MeshMinProximityIntersection::computeIntersection ( collision::geometry::Triangle e2,
collision::geometry::TSphere< T > &  e1,
OutputVector contacts 
)

◆ computeIntersection() [7/7]

template<class T >
int sofa::component::collision::detection::intersection::MeshMinProximityIntersection::computeIntersection ( collision::geometry::TSphere< T > &  e1,
collision::geometry::Point e2,
OutputVector contacts 
)

◆ testIntersection() [1/7]

bool sofa::component::collision::detection::intersection::MeshMinProximityIntersection::testIntersection ( collision::geometry::Line e1,
collision::geometry::Line e2 
)

◆ testIntersection() [2/7]

bool sofa::component::collision::detection::intersection::MeshMinProximityIntersection::testIntersection ( collision::geometry::Line e2,
collision::geometry::Point e1 
)

◆ testIntersection() [3/7]

template<class T >
bool sofa::component::collision::detection::intersection::MeshMinProximityIntersection::testIntersection ( collision::geometry::Line e2,
collision::geometry::TSphere< T > &  e1 
)

◆ testIntersection() [4/7]

bool sofa::component::collision::detection::intersection::MeshMinProximityIntersection::testIntersection ( collision::geometry::Point e1,
collision::geometry::Point e2 
)

◆ testIntersection() [5/7]

bool sofa::component::collision::detection::intersection::MeshMinProximityIntersection::testIntersection ( collision::geometry::Triangle e2,
collision::geometry::Point e1 
)

◆ testIntersection() [6/7]

template<class T >
bool sofa::component::collision::detection::intersection::MeshMinProximityIntersection::testIntersection ( collision::geometry::Triangle e2,
collision::geometry::TSphere< T > &  e1 
)

◆ testIntersection() [7/7]

template<class T >
bool sofa::component::collision::detection::intersection::MeshMinProximityIntersection::testIntersection ( collision::geometry::TSphere< T > &  e1,
collision::geometry::Point e2 
)