Package org.robwork.sdurw_geometry
Class TriTriIntersectDeviller_f
- java.lang.Object
-
- org.robwork.sdurw_geometry.TriTriIntersectDeviller_f
-
public class TriTriIntersectDeviller_f extends java.lang.Object
tests if two triangles are intersecting using devillers method.
- very robust triangle intersection test
- uses no divisions
- works on coplanar triangles
-
-
Constructor Summary
Constructors Constructor Description TriTriIntersectDeviller_f()
TriTriIntersectDeviller_f(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(TriTriIntersectDeviller_f obj)
boolean
inCollision(Triangle_f P, Triangle_f Q)
boolean
inCollision(Triangle_f P, Triangle_f Q, Transform3Df PTQ)
boolean
inCollision(Vector3Df P1, Vector3Df P2, Vector3Df P3, Vector3Df Q1, Vector3Df Q2, Vector3Df Q3)
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(TriTriIntersectDeviller_f obj)
-
delete
public void delete()
-
inCollision
public boolean inCollision(Vector3Df P1, Vector3Df P2, Vector3Df P3, Vector3Df Q1, Vector3Df Q2, Vector3Df Q3)
-
inCollision
public boolean inCollision(Triangle_f P, Triangle_f Q)
-
inCollision
public boolean inCollision(Triangle_f P, Triangle_f Q, Transform3Df PTQ)
-
-