Package org.robwork.sdurw_geometry
Class TriTriIntersectMoller_f
- java.lang.Object
-
- org.robwork.sdurw_geometry.TriTriIntersectMoller_f
-
public class TriTriIntersectMoller_f extends java.lang.Object
tests if two triangles are intersecting using Thomas Mollers, 1997, no div method. The
code is strongly inspired (read converted to use RobWork types) from Opcode 1.3 Pierre
Terdiman 2001.
-
-
Constructor Summary
Constructors Constructor Description TriTriIntersectMoller_f()
TriTriIntersectMoller_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(TriTriIntersectMoller_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(TriTriIntersectMoller_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)
-
-