public class EdgeEdgeContact
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
double | 
displacement  | 
HalfEdge | 
edge0  | 
HalfEdge | 
edge1  | 
Point3d | 
point0  | 
Point3d | 
point1  | 
Vector3d | 
point1ToPoint0Normal  | 
PenetrationRegion | 
region  | 
double | 
s0  | 
double | 
s1  | 
Vector3d | 
w  | 
| Constructor and Description | 
|---|
EdgeEdgeContact()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
calculate(SurfaceMeshCollider collider)  | 
boolean | 
calculate(SurfaceMeshCollider collider,
         HalfEdge e0,
         HalfEdge e1)  | 
double | 
getContactArea()
Returns the average area associated with this contact, or -1
 if this information is not available. 
 | 
public HalfEdge edge0
public HalfEdge edge1
public Point3d point0
public Point3d point1
public Vector3d point1ToPoint0Normal
public double displacement
public PenetrationRegion region
public double s0
public double s1
public Vector3d w
public boolean calculate(SurfaceMeshCollider collider, HalfEdge e0, HalfEdge e1)
public double getContactArea()
public boolean calculate(SurfaceMeshCollider collider)