fixes to remove compilation warnings. now DOJ works fine with the Voronoi.
authoryeom <yeom>
Wed, 2 May 2012 17:34:29 +0000 (17:34 +0000)
committeryeom <yeom>
Wed, 2 May 2012 17:34:29 +0000 (17:34 +0000)
Robust/src/Benchmarks/oooJava/voronoi/Edge.java

index 6e574d583e60c88a971ea37c76ed09de59d37455..d07b74d26dc817a022192acb0b1b24dd00631959 100644 (file)
@@ -388,9 +388,9 @@ class Edge {
             Vertex v3 = nex.dest();
             Vertex v4 = snex.dest();
             if (v1.ccw(v2, v3) != v1.ccw(v2, v4)) {
             Vertex v3 = nex.dest();
             Vertex v4 = snex.dest();
             if (v1.ccw(v2, v3) != v1.ccw(v2, v4)) {
-              Vec2 v21 = prev.orig();
-              Vec2 v22 = prev.dest();
-              Vec2 v23 = nex.dest();
+              Vertex v21 = prev.orig();
+              Vertex v22 = prev.dest();
+              Vertex v23 = nex.dest();
               Vec2 vv1 = v21.circle_center(v22, v23);
               v21 = sprev.orig();
               v22 = sprev.dest();
               Vec2 vv1 = v21.circle_center(v22, v23);
               v21 = sprev.orig();
               v22 = sprev.dest();