easting, northing, zone_letter, zone_number
Constructor and Description |
---|
ZonedUTMPoint()
Constructor pass-through.
|
ZonedUTMPoint(double northing,
double easting,
int zone_number,
char zone_letter) |
ZonedUTMPoint(LatLonPoint llpoint)
Constructor pass-through.
|
ZonedUTMPoint(LatLonPoint llpoint,
Ellipsoid ellip)
Constructor pass-through.
|
ZonedUTMPoint(UTMPoint point)
Constructor pass-through.
|
Modifier and Type | Method and Description |
---|---|
protected char |
getLetterDesignator(double lat)
Determines the correct MGRS letter designator for the given latitude
returns 'Z' if latitude is outside the MGRS limits of 84N to 80S.
|
static LatLonPoint |
ZonedUTMtoLL(Ellipsoid ellip,
double UTMNorthing,
double UTMEasting,
int ZoneNumber,
char ZoneLetter,
LatLonPoint llpoint)
Converts UTM coords to lat/long given an ellipsoid.
|
checkZone, equals, getZoneNumber, hashCode, LLtoUTM, LLtoUTM, LLtoUTM, LLtoUTM, toLatLonPoint, toLatLonPoint, toLatLonPoint, toString, UTMtoLL, UTMtoLL, UTMtoLL, UTMtoLL
public ZonedUTMPoint()
public ZonedUTMPoint(double northing, double easting, int zone_number, char zone_letter)
northing
- The northing component.easting
- The easting component.zone_number
- The zone of the coordinate.zone_letter
- MGRS zone letterpublic ZonedUTMPoint(UTMPoint point)
public ZonedUTMPoint(LatLonPoint llpoint)
public ZonedUTMPoint(LatLonPoint llpoint, Ellipsoid ellip)
public static LatLonPoint ZonedUTMtoLL(Ellipsoid ellip, double UTMNorthing, double UTMEasting, int ZoneNumber, char ZoneLetter, LatLonPoint llpoint)
Equations from USGS Bulletin 1532
East Longitudes are positive, West longitudes are negative.
North latitudes are positive, South latitudes are negative.
ellip
- an ellipsoid definition.UTMNorthing
- A float value for the northing to be converted.UTMEasting
- A float value for the easting to be converted.ZoneNumber
- An int value specifiying the UTM zone number.ZoneLetter
- A char value specifying the ZoneLetter within the
ZoneNumber, letter being MGRS zone.llpoint
- a LatLonPoint, if you want it to be filled in with the
results. If null, a new LatLonPoint will be allocated.null
if conversion failed. If you pass in a
LatLonPoint, it will be returned as well, if successful.protected char getLetterDesignator(double lat)
getLetterDesignator
in class UTMPoint
lat
- The float value of the latitude.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details