public class SurfaceMeshCollider extends java.lang.Object implements AbstractCollider
Modifier and Type | Field and Description |
---|---|
SurfaceMeshIntersector |
meshIntersector |
Constructor and Description |
---|
SurfaceMeshCollider() |
Modifier and Type | Method and Description |
---|---|
static void |
collideVerticesWithFaces(java.util.ArrayList<PenetratingPoint> cpps,
PenetrationRegion region,
PolygonalMesh otherMesh) |
java.util.ArrayList<EdgeEdgeContact> |
findEdgeEdgeContacts(ContactInfo cinfo) |
static boolean |
getAjlCollision()
Queries whether AJL collisions are enabled by default.
|
ContactInfo |
getContacts(PolygonalMesh mesh0,
PolygonalMesh mesh1) |
java.util.ArrayList<IntersectionContour> |
getContours(PolygonalMesh mesh0,
PolygonalMesh mesh1) |
double |
getNearestPoint(Point3d nearest,
Face f,
Point3d p) |
static AbstractCollider |
newCollider() |
static void |
setAjlCollision(boolean enable)
Enables the default use of AJL collisions.
|
public SurfaceMeshIntersector meshIntersector
public static void setAjlCollision(boolean enable)
public static boolean getAjlCollision()
public static AbstractCollider newCollider()
public ContactInfo getContacts(PolygonalMesh mesh0, PolygonalMesh mesh1)
getContacts
in interface AbstractCollider
public java.util.ArrayList<IntersectionContour> getContours(PolygonalMesh mesh0, PolygonalMesh mesh1)
public static void collideVerticesWithFaces(java.util.ArrayList<PenetratingPoint> cpps, PenetrationRegion region, PolygonalMesh otherMesh)
public java.util.ArrayList<EdgeEdgeContact> findEdgeEdgeContacts(ContactInfo cinfo)