public enum LatLonFormat extends java.lang.Enum<LatLonFormat>
Note: The integer values for this enumeration cannot be arbitrarily assigned. They must match the values expected by other parts of the SSC software.
Enum Constant and Description |
---|
LAT_90_LON_180
A format of latitude (-90,+90) and longitude (-180,+180).
|
LAT_90_LON_360
A format of latitude (-90,+90) and longitude (0,360).
|
LAT_90_SN_LON_180_WE
A format of latitude (90S,90N) and longitude (180W,180E).
|
Modifier and Type | Method and Description |
---|---|
static LatLonFormat |
fromValue(int value)
Provides the latitude/longitude format corresponding to the
given integer value.
|
java.lang.String |
toString()
Provides a string representation of this latitude/longitude
format.
|
int |
value()
Provides the integer value corresponding to this
latitude/longitude format.
|
static LatLonFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LatLonFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LatLonFormat LAT_90_LON_360
public static final LatLonFormat LAT_90_LON_180
public static final LatLonFormat LAT_90_SN_LON_180_WE
public static LatLonFormat[] values()
for (LatLonFormat c : LatLonFormat.values()) System.out.println(c);
public static LatLonFormat 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 int value()
public static LatLonFormat fromValue(int value)
value
- integer value corresponding to a latitude/longitude
formatjava.lang.IllegalArgumentException
- if the given value does not
correspond to any latitude/longitude formatpublic java.lang.String toString()
toString
in class java.lang.Enum<LatLonFormat>
SSC Feedback.
Copyright © 2003-2018 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Rights Reserved.