public class AngScale2
extends skyview.data.AngScale
This subclasses the SkyView AngScale class in order to modify its behaviour slightly. The original implementation is copied from the original skyview source.
The changes consist of addding some larger values to the
*Bigs[] arrays, so that lower crowding values
actually yield more sparse grids. That includes values that
correspond to no grid lines at all (180/360 degrees for lat/lon).
| Constructor and Description |
|---|
AngScale2() |
| Modifier and Type | Method and Description |
|---|---|
double |
scale(double delta)
Get an appropriate scaling for this coordinate.
|
double[] |
scaling(double min,
double max)
Get the desired starting values and scaling interval.
|
void |
setSexagesimal(boolean flag)
Do we want sexagesimal coordinates?
|
void |
setTime(boolean flag)
Do we want coordinates in time?
|
public double scale(double delta)
scale in class skyview.data.AngScaledelta - The range of the coordinate.public double[] scaling(double min,
double max)
scaling in class skyview.data.AngScalemin - The minimum coordinate value.max - The maximum coordinate valuepublic void setSexagesimal(boolean flag)
setSexagesimal in class skyview.data.AngScalepublic void setTime(boolean flag)
setTime in class skyview.data.AngScaleCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.