|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DistanceMetric.Ellipsoid>
net.sf.cpsolver.ifs.util.DistanceMetric.Ellipsoid
public static enum DistanceMetric.Ellipsoid
Enum Constant Summary | |
---|---|
Airy1830
|
|
Clarke1880
|
|
GRS67
|
|
GRS80
|
|
Intl1924
|
|
LEGACY
|
|
WGS84
|
Method Summary | |
---|---|
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. |
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 |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic double a()
public double b()
public double f()
public String getEclipsoindName()
public String getFirstCoordinateName()
public String getSecondCoordinateName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |