|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object skyview.data.AngScale
public class AngScale
Find an appropriate delta to use for getting grid intervals.
Constructor Summary | |
---|---|
AngScale()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
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? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AngScale()
Method Detail |
---|
public double scale(double delta)
delta
- The range of the coordinate.sexagesimal
- Do we sant sexagesimal coordinates?public double[] scaling(double min, double max)
min
- The minimum coordinate value.max
- The maximum coordinate valuesexagesimal
- Do we want sexagesimal coordinates.
public void setSexagesimal(boolean flag)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |