|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Accuracy> com.askgeo.astronomy.Accuracy
public enum Accuracy
The accuracy of a new Earth instance is specified with this enumeration. Higher accuracy comes at the cost of longer computation times. The lowest accuracy is sufficient for most purposes.
The primary difference between the accuracy levels is in the number of terms used to represent the nutation of the Earth (described in each value below). In addition, the low and medium accuracy modes are less accurate in computing:
Enum Constant Summary | |
---|---|
HIGH_ACCURACY
Uses the IAU 2000A nutation model that includes 1,365 terms and is the most accurate model we make available. |
|
LOW_ACCURACY
Uses the IAU 2000B nutation model that includes 77-terms and is accurate to about 1 milliarcsecond. |
|
MEDIUM_ACCURACY
Uses the IAU 2000K nutation model that includes the largest 488 terms from the IAU 2000A model and is accurate to about 0.1 milliarcsecond. |
Method Summary | |
---|---|
static Accuracy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Accuracy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Accuracy LOW_ACCURACY
public static final Accuracy MEDIUM_ACCURACY
public static final Accuracy HIGH_ACCURACY
Method Detail |
---|
public static Accuracy[] values()
for (Accuracy c : Accuracy.values()) System.out.println(c);
public static Accuracy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |