public class CheckCorrectness
extends java.lang.Object
Constructor and Description |
---|
CheckCorrectness() |
Modifier and Type | Method and Description |
---|---|
static double |
approx(double x,
int prec) |
static boolean |
checkAdjacent(Jcg.mesh.arraybased.WingededgeInterface ds)
Check the correctness of adjacency method
|
static boolean |
checkListing(Jcg.mesh.arraybased.NavigationInterface ds)
Check the correctness of the vertex normal computation
|
static boolean |
checkVertexDegree(Jcg.mesh.arraybased.NavigationInterface ds)
Check the correctness of the vertex degree computation
|
static void |
checkVertexNormals(CompactTriangleMesh ds1,
CompactTriangleMesh ds2)
Check the correctness of the vertex normal computation
|
public static boolean checkVertexDegree(Jcg.mesh.arraybased.NavigationInterface ds)
Remark: the sum of all vertex degrees must match 2e (twice the number of edges)
public static boolean checkAdjacent(Jcg.mesh.arraybased.WingededgeInterface ds)
Remark: the sum of all vertex degrees must match 2e (twice the number of edges)
public static void checkVertexNormals(CompactTriangleMesh ds1, CompactTriangleMesh ds2)
public static boolean checkListing(Jcg.mesh.arraybased.NavigationInterface ds)
public static double approx(double x, int prec)