org.hermit.geo
Enum GeoConstants.Ellipsoid

java.lang.Object
  extended by java.lang.Enum<GeoConstants.Ellipsoid>
      extended by org.hermit.geo.GeoConstants.Ellipsoid
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GeoConstants.Ellipsoid>
Enclosing interface:
GeoConstants

public static enum GeoConstants.Ellipsoid
extends java.lang.Enum<GeoConstants.Ellipsoid>

Selectable ellipsoids, for geodetic calculations.


Enum Constant Summary
AIRY1858
          Airy 1858 ellipsoid.
AIRYM
          Airy Modified ellipsoid.
NAD27
          Clarke 1866 (NAD27) ellipsoid.
SPHERE
          Pseudo-ellipsoid for an assumed spherical Earth.
WGS66
          NWL-9D (WGS 66) ellipsoid.
WGS72
          WGS 72 ellipsoid.
WGS84
          WGS 84 ellipsoid.
 
Field Summary
 double axis
          Equatorial semimajor axis of this ellipsoid (in metres).
 double flat
          Flattening of this ellipsoid.
 java.lang.String name
          User-visible name of this ellipsoid.
 
Method Summary
static GeoConstants.Ellipsoid valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GeoConstants.Ellipsoid[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SPHERE

public static final GeoConstants.Ellipsoid SPHERE
Pseudo-ellipsoid for an assumed spherical Earth.


WGS84

public static final GeoConstants.Ellipsoid WGS84
WGS 84 ellipsoid.


NAD27

public static final GeoConstants.Ellipsoid NAD27
Clarke 1866 (NAD27) ellipsoid.


AIRY1858

public static final GeoConstants.Ellipsoid AIRY1858
Airy 1858 ellipsoid.


AIRYM

public static final GeoConstants.Ellipsoid AIRYM
Airy Modified ellipsoid.


WGS66

public static final GeoConstants.Ellipsoid WGS66
NWL-9D (WGS 66) ellipsoid.


WGS72

public static final GeoConstants.Ellipsoid WGS72
WGS 72 ellipsoid.

Field Detail

name

public final java.lang.String name
User-visible name of this ellipsoid.


axis

public final double axis
Equatorial semimajor axis of this ellipsoid (in metres).


flat

public final double flat
Flattening of this ellipsoid.

Method Detail

values

public static GeoConstants.Ellipsoid[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GeoConstants.Ellipsoid c : GeoConstants.Ellipsoid.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GeoConstants.Ellipsoid valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null