package Current.popups.Deg100; import Current.*; import java.applet.Applet; import java.awt.event.*; import java.awt.*; import java.awt.geom.*; import java.math.*; /**This is a self contained file which verifies that our polygon list for the 100 degree theorem makes a covering. There is some overlay between the geometric routines here and the ones in the Deg100IntegerPolygon class. The largest denominator we see is 2^18, but we need to allow for doing at most 9 subdivisions, so we multiply by the larger 2^27.*/ public class Deg100CoveringPolygon { BigInteger[] K1=new BigInteger[8]; BigInteger[] K2=new BigInteger[8]; int[] right=new int[8]; int n; int age; int index; /**Constructor routines. Basically we take a dyadic polygon and inflate it by 2^27**/ public Deg100CoveringPolygon() {} public Deg100CoveringPolygon(Deg100Polygon P) { this.n=P.n; for(int i=0;i