public final class Latitude extends Angle
Longitude
,
AngleFormat
,
Serialized FormModifier and Type | Field and Description |
---|---|
static double |
MAX_VALUE
Maximum legal value for latitude (+90°).
|
static double |
MIN_VALUE
Minimum legal value for latitude (-90°).
|
public static final double MIN_VALUE
public static final double MAX_VALUE
public Latitude(double theta)
theta
- Angle in degrees.public Latitude(String theta) throws NumberFormatException
Latitude
object that represents the latitude 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 (N or S) is
optional (default to North).theta
- A string to be converted to a Latitude
.NumberFormatException
- if the string does not contain a parsable latitude.Copyright © 1996–2019 Geotools. All rights reserved.