Package org.robwork.sdurw_geometry
Class TriTriIntersectMoller
- java.lang.Object
-
- org.robwork.sdurw_geometry.TriTriIntersectMoller
-
public class TriTriIntersectMoller 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()
TriTriIntersectMoller(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 obj)
boolean
inCollision(Triangle P, Triangle Q)
boolean
inCollision(Triangle P, Triangle Q, Transform3D PTQ)
boolean
inCollision(Vector3D P1, Vector3D P2, Vector3D P3, Vector3D Q1, Vector3D Q2, Vector3D Q3)
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(TriTriIntersectMoller obj)
-
delete
public void delete()
-
inCollision
public boolean inCollision(Vector3D P1, Vector3D P2, Vector3D P3, Vector3D Q1, Vector3D Q2, Vector3D Q3)
-
inCollision
public boolean inCollision(Triangle P, Triangle Q, Transform3D PTQ)
-
-