Class SvgEarthScaling

java.lang.Object
edu.sc.seis.TauP.SvgEarthScaling

public class SvgEarthScaling extends Object
Scaling SVG plots of earth models.
  • Constructor Details

    • SvgEarthScaling

      public SvgEarthScaling(double R)
      Whole earth scaling, given radius of earth
    • SvgEarthScaling

      public SvgEarthScaling(double[] boundingBox, double R)
  • Method Details

    • getZoomScale

      public float getZoomScale()
    • getZoomTranslateX

      public float getZoomTranslateX()
    • getZoomTranslateY

      public float getZoomTranslateY()
    • getLabelRange

      public float[] getLabelRange()
    • calcZoomScaleTranslate

      public static float[] calcZoomScaleTranslate(float zoomXMin, float zoomXMax, float zoomYMin, float zoomYMax, float R, float minDist, float maxDist)