import java.applet.Applet; import java.awt.event.*; import java.awt.*; import java.awt.geom.*; /**This class is a polygon class in which the individual points are 3D vectors. Usually we use the other polygon class, PolyWedge, but these routines are useful for our routines which intersect two PolyWedges. We find it useful to convert the PolyWedges into PolyVectors and then use vector algebra.**/ public class PolyVector { Vector[] V=new Vector[10]; int count,radius; public PolyVector() { for(int i=0;i<9;++i) V[i]=new Vector(); } public PolyVector(PolyVector Q) { this.count=Q.count; for(int i=0;i