import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.applet.*; import java.awt.geom.*; import java.math.*; /**This file contains the routines we use to show that a list of polygons partitions a given region.**/ class PolyCover { public static void failMessage() { throw new ProofException("PolyCover"); } /**Main routine: checks that each vertex in the tiling has the following property: If it lies in the polywedge HOME then its link is a circle. This result, combined with the convexity test, shows that HOME is covered by the list of tiles.**/ public static void coverTest(GoldenPolyWedge[] ALL0,int total,GoldenPolyWedge HOME) { System.out.print("start cover test -- "); GoldenPolyWedge[] ALL=clean(ALL0,HOME); boolean cvx=positiveConvex(ALL,total); if(cvx==false) failMessage(); for(int i=0;i