|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.model.pt.Angle
org.deegree_impl.model.pt.Longitude
A longitude angle. Positive longitudes are East, while negative longitudes are West. This class has no direct OpenGIS equivalent.
Latitude,
AngleFormat,
Serialized Form| Field Summary | |
static double |
MAX_VALUE
Maximum legal value for longitude (+180°). |
static double |
MIN_VALUE
Minimum legal value for longitude (-180°). |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
| Fields inherited from class org.deegree_impl.model.pt.Angle |
|
| Constructor Summary | |
Longitude(double theta)
Contruct a new longitude with the specified value. |
|
Longitude(java.lang.String source)
Constructs a newly allocated Longitude object that
represents the longitude value represented by the string. |
|
| Methods inherited from class org.deegree_impl.model.pt.Angle |
compareTo, degrees, equals, hashCode, radians, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
public static final double MIN_VALUE
public static final double MAX_VALUE
| Constructor Detail |
public Longitude(double theta)
theta - Angle in degrees.
public Longitude(java.lang.String source)
throws java.lang.NumberFormatException
Longitude object that
represents the longitude value represented by the string. The
string should represents an angle in either fractional degrees
(e.g. 45.5°) or degrees with minutes and seconds (e.g. 45°30').
The hemisphere (E or W) is optional (default to East).
source - A string to be converted to a Longitude.
java.lang.NumberFormatException - if the string does not contain a parsable longitude.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||