X-Git-Url: http://git.megacz.com/?p=anneal.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fqfat%2FMesh.java;h=1a210cd1dc152dcaa90165d60d52fcb6c37c6226;hp=8a46c730fa131179ee8ac5689db3ae604f0039eb;hb=77be9651f3e4d3b99582ffdf2561608c50b6208c;hpb=485efa58c987b9a4b5155b36ae7c64eff4251142 diff --git a/src/edu/berkeley/qfat/Mesh.java b/src/edu/berkeley/qfat/Mesh.java index 8a46c73..1a210cd 100644 --- a/src/edu/berkeley/qfat/Mesh.java +++ b/src/edu/berkeley/qfat/Mesh.java @@ -81,8 +81,6 @@ public class Mesh implements Iterable { Matrix binding = Matrix.ONE; Vertex bound_to = this; - public float oldscore = 0; - public Point getPoint() { return p; } public float score() { return oldscore; } @@ -114,18 +112,6 @@ public class Mesh implements Iterable { applyQuadricToNeighbor(); } - public void unApplyQuadricToNeighbor() { - if (nearest_in_other_mesh == null) return; - if (fundamentalQuadric == null) return; - nearest_in_other_mesh.unComputeError(); - nearest_in_other_mesh.quadric = nearest_in_other_mesh.quadric.minus(fundamentalQuadric); - nearest_in_other_mesh.quadric_count--; - if (nearest_in_other_mesh.quadric_count==0) - nearest_in_other_mesh.quadric = Matrix.ZERO; - nearest_in_other_mesh.computeError(); - nearest_in_other_mesh = null; - } - public void applyQuadricToNeighbor() { if (score_against == null) return;