Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
testing area
  • Loading branch information
JimmyBoivie authored and JimmyBoivie committed Dec 6, 2015
1 parent 25b9020 commit 2f0ce17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main/main.pde
Expand Up @@ -25,7 +25,12 @@ public void setup() {
HalfEdge h3 = new HalfEdge(p3, p1);
HalfEdge h4 = new HalfEdge(p1, p5);
HalfEdge h5 = new HalfEdge(p3, p4);
float f = CompGeo.signedArea(h2.gettwin());
float f2 = CompGeo.signedArea(h2);
System.out.println("Signed Area: " + f);
System.out.println("Signed Area: " + f2);
h1.gettwin().printFace();
h2.printFace();
if (CompGeo.inside(h1.gettwin(), p6, p7)) {
System.out.println("INSIDE");
} else { System.out.println("OUTSIDE"); }
Expand Down

0 comments on commit 2f0ce17

Please sign in to comment.