public class SurfaceMeshIntersector
extends java.lang.Object
Constructor and Description |
---|
SurfaceMeshIntersector() |
Modifier and Type | Method and Description |
---|---|
void |
addContainedRegions(PenetrationRegion region,
Face face,
java.util.ArrayList<PenetrationRegion> nested,
boolean clockwiseContour) |
HalfEdge |
edgeIntersectingFace(Face face,
Face otherFace,
IntersectionContour contour) |
java.util.ArrayList<IntersectionContour> |
findContours(PolygonalMesh mesh0,
PolygonalMesh mesh1) |
boolean |
findContoursAndRegions(ContactInfo cinfo,
PolygonalMesh mesh0,
PolygonalMesh mesh1) |
int |
findIntersectionContours(java.util.ArrayList<IntersectionContour> contours,
Boundable[] elems0,
Boundable[] elems1,
boolean edgeOnMesh0)
Look for intersecting triangles in elems0 and elems1.
|
java.util.ArrayList<PenetrationRegion> |
getContainedRegions(PenetrationRegion region,
Face face,
java.util.ArrayList<PenetrationRegion> nested,
int numCheck,
boolean clockwiseContour) |
java.util.ArrayList<IntersectionPoint> |
getEdgeMips(HalfEdge he) |
void |
setDegenerate() |
static java.lang.String |
toString(HalfEdge he)
String representation of a half edge using its head and tail indices
|
static java.lang.String |
toString(IntersectionPoint p,
PolygonalMesh mesh)
Comprehensive string representation of a mesh intersection point,
showing most relevant information.
|
public java.util.ArrayList<IntersectionPoint> getEdgeMips(HalfEdge he)
public static java.lang.String toString(HalfEdge he)
public static java.lang.String toString(IntersectionPoint p, PolygonalMesh mesh)
public java.util.ArrayList<IntersectionContour> findContours(PolygonalMesh mesh0, PolygonalMesh mesh1)
public boolean findContoursAndRegions(ContactInfo cinfo, PolygonalMesh mesh0, PolygonalMesh mesh1)
public int findIntersectionContours(java.util.ArrayList<IntersectionContour> contours, Boundable[] elems0, Boundable[] elems1, boolean edgeOnMesh0)
public java.util.ArrayList<PenetrationRegion> getContainedRegions(PenetrationRegion region, Face face, java.util.ArrayList<PenetrationRegion> nested, int numCheck, boolean clockwiseContour)
public void addContainedRegions(PenetrationRegion region, Face face, java.util.ArrayList<PenetrationRegion> nested, boolean clockwiseContour)
public void setDegenerate()
public HalfEdge edgeIntersectingFace(Face face, Face otherFace, IntersectionContour contour)