public class UTMLocation extends Object
A location in UTM coordinates. This class is immutable.
Constructor and Description |
---|
UTMLocation(int meridian,
double north,
double east,
double height)
Construct a
UTMLocation . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
getEast()
The UTM east coordinate, in meters
|
double |
getHeight()
The altitude above/below sea-level, in meters.
|
double |
getNorth()
The UTM north coordinate, in meters
|
int |
getZone()
This location’s UTM zone (meridian)
|
int |
hashCode() |
public UTMLocation(int meridian, double north, double east, double height)
Construct a UTMLocation
.
meridian
- the locations meridian (UTM zone).north
- the north coordinate, in meters.east
- the east coordinate in metersheight
- the height coordinate in meters above/below sea-level.