maspack.apps
Class SignedDistanceGridTest
java.lang.Object
maspack.apps.SignedDistanceGridTest
public class SignedDistanceGridTest
- extends java.lang.Object
This is a test class for SignedDistanceGrid.
Many of the tests are visual, so if the user wants to see where the test is
failing, the test should be run without any other tests. The grid will then
be rendered a different colour where the test has failed.
- Author:
- Bruce Haines, bruce DOT a DOT haines AT gmail.com
Method Summary |
void |
checkCellArray()
This test is a basic verification of SignedDistanceGrid.gridCellArray[]. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignedDistanceGridTest
public SignedDistanceGridTest()
SignedDistanceGridTest
public SignedDistanceGridTest(PolygonalMesh mesh,
SignedDistanceGrid grid,
boolean render)
main
public static void main(java.lang.String[] args)
checkCellArray
public void checkCellArray()
- This test is a basic verification of SignedDistanceGrid.gridCellArray[].
We're making sure that it matches phi[]. This is a trivial but important
assurance because the visual inspection tests rely on gridCellArray to
match phi.