public class MeshCollider extends java.lang.Object implements AbstractCollider
Modifier and Type | Field and Description |
---|---|
static double |
maxErr |
static int |
numIntNodes |
Constructor and Description |
---|
MeshCollider() |
Modifier and Type | Method and Description |
---|---|
ContactInfo |
getContacts(PolygonalMesh mesh0,
PolygonalMesh mesh1,
boolean calculateLoops) |
double |
getEpsilon() |
int |
getNumextremaaxes()
See setter.
|
double |
getPointTolerance() |
double |
getRegionTolerance() |
void |
setEpsilon(double epsilon) |
void |
setNumextremaaxes(int numextremaaxes)
Set the number of axes along which to take the extrema points when
throwing out redundant contact points.
|
void |
setPointTolerance(double tolerance) |
void |
setRegionTolerance(double regiontolerance) |
public double getEpsilon()
getEpsilon
in interface AbstractCollider
public void setEpsilon(double epsilon)
public ContactInfo getContacts(PolygonalMesh mesh0, PolygonalMesh mesh1, boolean calculateLoops)
getContacts
in interface AbstractCollider
public double getPointTolerance()
getPointTolerance
in interface AbstractCollider
public void setPointTolerance(double tolerance)
setPointTolerance
in interface AbstractCollider
public double getRegionTolerance()
getRegionTolerance
in interface AbstractCollider
public void setRegionTolerance(double regiontolerance)
setRegionTolerance
in interface AbstractCollider
public int getNumextremaaxes()
public void setNumextremaaxes(int numextremaaxes)
numextremaaxes
-