import java.applet.Applet; import java.awt.event.*; import java.awt.*; import java.awt.geom.*; public class PolyWedge { Complex[] z=new Complex[10]; int count; public PolyWedge() {} public PolyWedge(Complex z0,Complex z1,Complex z2) { this.count=3; this.z[0]=z0; this.z[1]=z1; this.z[2]=z2; } public GeneralPath toGeneralPath() { GeneralPath gp=new GeneralPath(); gp.moveTo((float)(z[0].x),(float)(z[0].y)); for(int i=0;i