import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.applet.*; import java.awt.geom.*; import java.math.*; /**This class has routines that help facilitate the sanity checks.**/ public class SanityCheckSupport { /**These routines start with a list of dyadic squares or segments and produce a new list by subdividing each square into squares of half the size. The new list is twice as long if we have a list of segments, and 4 times as long if we have a list of squares **/ public static Box[] getBoxList(Box INITIAL,int t) { Box[] B1=new Box[1]; B1[0]=new Box(INITIAL); for(int i=0;i