|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectskyview.data.Gridder
public class Gridder
This class is used to lines and text to draw coordinate grid grid overlays. in a Graphics context.
| Constructor Summary | |
|---|---|
Gridder(Image image,
boolean sexagesimal)
Create a new Gridder object. |
|
Gridder(Image image,
java.lang.String system)
Create a new Gridder object. |
|
| Method Summary | |
|---|---|
void |
dumpLines()
Display the lines |
java.lang.String[] |
getLabels()
Get the labels for the lines |
double[][][] |
getLines()
Get the line points |
double |
getScale()
|
void |
grid()
|
void |
setImage(Image image)
Change the image |
void |
setSexigesimal(boolean flag)
Set whether you want sexagesimal labels |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Gridder(Image image,
java.lang.String system)
trans - Transforms from pixel coordinates to
celestial positions. Note that positions on the celestial
sphere are given as the three components of the unit vector.
public Gridder(Image image,
boolean sexagesimal)
| Method Detail |
|---|
public double getScale()
public void grid()
throws TransformationException
TransformationExceptionpublic void setImage(Image image)
public void setSexigesimal(boolean flag)
public void dumpLines()
public java.lang.String[] getLabels()
public double[][][] getLines()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||