Package edu.sc.seis.TauP
Class SvgEarthScaling
java.lang.Object
edu.sc.seis.TauP.SvgEarthScaling
Scaling SVG plots of earth models.
-
Constructor Summary
ConstructorsConstructorDescriptionSvgEarthScaling(double R) Whole earth scaling, given radius of earthSvgEarthScaling(double[] boundingBox, double R) -
Method Summary
Modifier and TypeMethodDescriptionstatic float[]calcZoomScaleTranslate(float zoomXMin, float zoomXMax, float zoomYMin, float zoomYMax, float R, float minDist, float maxDist) float[]floatfloatfloat
-
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)
-