public enum Geoid extends java.lang.Enum<Geoid>
Enum Constant and Description |
---|
EARTH_SPHERE |
EARTH_WGS72 |
EARTH_WGS84 |
Modifier and Type | Method and Description |
---|---|
double |
eccentricity()
Get the eccentricity of the geoid
|
double |
polarRadius()
Calculate the polar radius of the geoid, in meters.
|
double |
radius()
Get the equatorial radius of the geoid, in meters.
|
static Geoid |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Geoid[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Geoid EARTH_SPHERE
public static final Geoid EARTH_WGS84
public static final Geoid EARTH_WGS72
public static Geoid[] values()
for (Geoid c : Geoid.values()) System.out.println(c);
public static Geoid 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 namejava.lang.NullPointerException
- if the argument is nullpublic double eccentricity()
public double polarRadius()
public double radius()