// file: Constants.java
//

// Interface: FilterAppletConstants
//
// this interface contains all of the constants for this class
//
public interface Constants {
    
    // set class constants
    //
    
    // 2 * pi
    //
    final static double ISIP_TWOPI = 2 * Math.PI;
    
    // radians to degrees conversion factor
    //
    final static double RAD_TO_DEG = 360/ISIP_TWOPI;
    
    // designators for types of designs
    //
    final static int DIGITAL = 0;
    final static int ANALOG = 1;
    final static int DEFAULT_DESIGN = DIGITAL;
    
    // ranges for both the digital and analog maps
    //
    public final static double DEFAULT_SAMPLE_FREQ = 1.0; 
    public final static double DEFAULT_REAL_RANGE = 1.0;
    public final static double DEFAULT_IMAG_RANGE = 1.0;
    
    // maximum number of poles and zeros the map can hold
    //
    public final static int MAX_ARRAY_SIZE = 100;
    
    // a really large number 
    //
    final static double REALLY_LARGE_NUMBER = Double.MAX_VALUE;
    
    // constants for poles and zero indication
    //
    public final static int POLE_INDICATOR=0;
    public final static int ZERO_INDICATOR=1;
    
    // inset size for panels
    //
    public final static int INSET_SIZE=3;
    
    // preferred width
    //
    public final static int PREFERRED_WIDTH=225;
    
    // preferred height
    //
    public final static int PREFERRED_HEIGHT=225;
    
    // minimum width
    //
    public final static int MINIMUM_WIDTH=225;
    
    // minimum height
    //
    public final static int MINIMUM_HEIGHT=225;    
    
    // log base e of 10
    //
    public final static double LOGE10 = Math.log(10);
    
    // width and height of poles and zeros on the pz_map in pixels
    // PZ_OFFSET should be 1/2 of ZERO_DIM
    //
    public final static int PZ_OFFSET = 6;
    public final static int ZERO_DIM = 12;  
    
    
} // end class Constants
