Package skyview.data
Class Gridder
- java.lang.Object
-
- skyview.data.Gridder
-
public class Gridder extends java.lang.Object
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dumpLines()
Display the linesjava.lang.String[]
getLabels()
Get the labels for the linesdouble[][][]
getLines()
Get the line pointsdouble
getScale()
void
grid()
void
setImage(Image image)
Change the imagevoid
setSexigesimal(boolean flag)
Set whether you want sexagesimal labels
-
-
-
Method Detail
-
getScale
public double getScale()
-
grid
public void grid() throws TransformationException
- Throws:
TransformationException
-
setImage
public void setImage(Image image)
Change the image
-
setSexigesimal
public void setSexigesimal(boolean flag)
Set whether you want sexagesimal labels
-
dumpLines
public void dumpLines()
Display the lines
-
getLabels
public java.lang.String[] getLabels()
Get the labels for the lines
-
getLines
public double[][][] getLines()
Get the line points
-
-