Find an appropriate delta to use for getting grid intervals. This class finds
appropriate delta's given the range of the values and the fashion in which it
is being displayed, e.g., sexagesimal or decimal. The intent is the the
returned intervals can be displayed as exact values.
This function defines an appropriate interval between the grid values,
given the absolute value of the range of the interval. We look at
increasingly small candidate values until we find one which will split
the range into an appropriate number of intervals.
delta - The range of the coordinate.
public double scaling(double min,
Get the desired starting values and scaling interval. First we get the
delta between values, then we find the first value is 0 modulo the delta.
min - The minimum coordinate value.
max - The maximum coordinate value
a two element vector giving the starting value and delta to be