Package skyview.data
Class Gridder
java.lang.Object
skyview.data.Gridder
This class is used to find the lines and text to draw coordinate grid overlays.
in a Graphics context. This actually drawing is done elsewhere.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Display the linesString[]
Get the labels for the linesdouble[][][]
getLines()
Get the line pointsdouble
getScale()
void
grid()
void
Change the imagevoid
setSexigesimal
(boolean flag) Set whether you want sexagesimal labels
-
Constructor Details
-
Gridder
Create a new Gridder object. -
Gridder
Create a new Gridder object.
-
-
Method Details
-
getScale
public double getScale() -
grid
- Throws:
TransformationException
-
setImage
Change the image -
setSexigesimal
public void setSexigesimal(boolean flag) Set whether you want sexagesimal labels -
dumpLines
public void dumpLines()Display the lines -
getLabels
Get the labels for the lines -
getLines
public double[][][] getLines()Get the line points
-