public static enum DistanceMetric.Ellipsoid extends Enum<DistanceMetric.Ellipsoid>
Enum Constant and Description |
---|
Airy1830 |
Clarke1880 |
GRS67 |
GRS80 |
Intl1924 |
LEGACY |
WGS84 |
Modifier and Type | Method and Description |
---|---|
double |
a()
Major semiaxe A
|
double |
b()
Minor semiaxe B
|
double |
f()
Flattening (A-B) / A
|
String |
getEclipsoindName()
Name of this coordinate system
|
String |
getFirstCoordinateName()
Name of the fist coordinate (e.g., Latitude)
|
String |
getSecondCoordinateName()
Name of the second coordinate (e.g., Longitude)
|
static DistanceMetric.Ellipsoid |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceMetric.Ellipsoid[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceMetric.Ellipsoid LEGACY
public static final DistanceMetric.Ellipsoid WGS84
public static final DistanceMetric.Ellipsoid GRS80
public static final DistanceMetric.Ellipsoid Airy1830
public static final DistanceMetric.Ellipsoid Intl1924
public static final DistanceMetric.Ellipsoid Clarke1880
public static final DistanceMetric.Ellipsoid GRS67
public static DistanceMetric.Ellipsoid[] values()
for (DistanceMetric.Ellipsoid c : DistanceMetric.Ellipsoid.values()) System.out.println(c);
public static DistanceMetric.Ellipsoid valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic double a()
public double b()
public double f()
public String getEclipsoindName()
public String getFirstCoordinateName()
public String getSecondCoordinateName()