#include <MeshNewProximityIntersection.h>
|
| MeshNewProximityIntersection (NewProximityIntersection *object, bool addSelf=true) |
|
bool | testIntersection (collision::geometry::Point &, collision::geometry::Point &) |
|
int | computeIntersection (collision::geometry::Point &, collision::geometry::Point &, OutputVector *) |
|
bool | testIntersection (collision::geometry::Line &, collision::geometry::Point &) |
|
int | computeIntersection (collision::geometry::Line &, collision::geometry::Point &, OutputVector *) |
|
bool | testIntersection (collision::geometry::Line &, collision::geometry::Line &) |
|
int | computeIntersection (collision::geometry::Line &, collision::geometry::Line &, OutputVector *) |
|
bool | testIntersection (collision::geometry::Triangle &, collision::geometry::Point &) |
|
int | computeIntersection (collision::geometry::Triangle &, collision::geometry::Point &, OutputVector *) |
|
bool | testIntersection (collision::geometry::Triangle &, collision::geometry::Line &) |
|
int | computeIntersection (collision::geometry::Triangle &, collision::geometry::Line &, OutputVector *) |
|
bool | testIntersection (collision::geometry::Triangle &, collision::geometry::Triangle &) |
|
int | computeIntersection (collision::geometry::Triangle &, collision::geometry::Triangle &, OutputVector *) |
|
template<class T > |
bool | testIntersection (collision::geometry::TSphere< T > &sph, collision::geometry::Point &pt) |
|
template<class T > |
int | computeIntersection (collision::geometry::TSphere< T > &sph, collision::geometry::Point &pt, OutputVector *) |
|
template<class T > |
bool | testIntersection (collision::geometry::Line &, collision::geometry::TSphere< T > &) |
|
template<class T > |
int | computeIntersection (collision::geometry::Line &line, collision::geometry::TSphere< T > &sph, OutputVector *) |
|
template<class T > |
bool | testIntersection (collision::geometry::Triangle &, collision::geometry::TSphere< T > &) |
|
template<class T > |
int | computeIntersection (collision::geometry::Triangle &tri, collision::geometry::TSphere< T > &sph, OutputVector *) |
|
| 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 *) |
|
|
static int | doIntersectionLineLine (SReal dist2, const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &q1, const type::Vec3 &q2, OutputVector *contacts, int id, const type::Vec3 &n=type::Vec3(), bool useNormal=false) |
|
static int | doIntersectionLinePoint (SReal dist2, const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &q, OutputVector *contacts, int id, bool swapElems=false) |
|
static int | doIntersectionTrianglePoint (SReal dist2, int flags, const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &n, const type::Vec3 &q, OutputVector *contacts, int id, bool swapElems=false, bool useNormal=false) |
|
static int | doIntersectionTrianglePoint2 (SReal dist2, int flags, const type::Vec3 &p1, const type::Vec3 &p2, const type::Vec3 &p3, const type::Vec3 &n, const type::Vec3 &q, OutputVector *contacts, int id, bool swapElems=false) |
|
◆ intersection
NewProximityIntersection* sofa::component::collision::detection::intersection::MeshNewProximityIntersection::intersection |
|
protected |
◆ MeshNewProximityIntersection()
sofa::component::collision::detection::intersection::MeshNewProximityIntersection::MeshNewProximityIntersection |
( |
NewProximityIntersection * |
object, |
|
|
bool |
addSelf = true |
|
) |
| |
◆ computeIntersection() [1/9]
◆ computeIntersection() [2/9]
◆ computeIntersection() [3/9]
◆ computeIntersection() [4/9]
◆ computeIntersection() [5/9]
◆ computeIntersection() [6/9]
◆ computeIntersection() [7/9]
◆ computeIntersection() [8/9]
◆ computeIntersection() [9/9]
◆ doIntersectionLineLine()
◆ doIntersectionLinePoint()
int sofa::component::collision::detection::intersection::MeshNewProximityIntersection::doIntersectionLinePoint |
( |
SReal |
dist2, |
|
|
const type::Vec3 & |
p1, |
|
|
const type::Vec3 & |
p2, |
|
|
const type::Vec3 & |
q, |
|
|
OutputVector * |
contacts, |
|
|
int |
id, |
|
|
bool |
swapElems = false |
|
) |
| |
|
inlinestatic |
◆ doIntersectionTrianglePoint()
int sofa::component::collision::detection::intersection::MeshNewProximityIntersection::doIntersectionTrianglePoint |
( |
SReal |
dist2, |
|
|
int |
flags, |
|
|
const type::Vec3 & |
p1, |
|
|
const type::Vec3 & |
p2, |
|
|
const type::Vec3 & |
p3, |
|
|
const type::Vec3 & |
n, |
|
|
const type::Vec3 & |
q, |
|
|
OutputVector * |
contacts, |
|
|
int |
id, |
|
|
bool |
swapElems = false , |
|
|
bool |
useNormal = false |
|
) |
| |
|
inlinestatic |
◆ doIntersectionTrianglePoint2()
◆ testIntersection() [1/9]
◆ testIntersection() [2/9]
◆ testIntersection() [3/9]
◆ testIntersection() [4/9]
◆ testIntersection() [5/9]
◆ testIntersection() [6/9]
◆ testIntersection() [7/9]
◆ testIntersection() [8/9]
◆ testIntersection() [9/9]