public class GeoProjectionUtils extends Object
| Constructor and Description |
|---|
GeoProjectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
ecfToENU(double x,
double y,
double z,
double centerLon,
double centerLat,
double centerAlt,
double[] enu)
Convert from Earth-Centered-Fixed to Easting, Northing, Up Right Hand System
|
static double[] |
ecfToLLA(double x,
double y,
double z,
double[] lla)
Converts from geocentric earth-centered earth-fixed to geodesic lat/lon/alt
|
static double[] |
enuToECF(double x,
double y,
double z,
double centerLon,
double centerLat,
double centerAlt,
double[] ecf)
Convert from Easting, Northing, Up Right-Handed system to Earth Centered Fixed system
|
static double[] |
enuToLLA(double x,
double y,
double z,
double centerLon,
double centerLat,
double centerAlt,
double[] lla)
Converts from East North Up right-hand rule to lat lon alt in degrees
|
static double[] |
llaToECF(double lon,
double lat,
double alt,
double[] ecf)
Converts from geodesic lon lat alt to geocentric earth-centered earth-fixed
|
static double[] |
llaToENU(double lon,
double lat,
double alt,
double centerLon,
double centerLat,
double centerAlt,
double[] enu)
Converts from lat lon alt (in degrees) to East North Up right-hand coordinate system
|
static double[] |
pointFromLonLatBearing(double lon,
double lat,
double bearing,
double dist,
double[] pt)
Finds a point along a bearing from a given lon,lat geolocation using vincenty's distance formula
|
public static final double[] ecfToLLA(double x,
double y,
double z,
double[] lla)
x - Cartesian x coordinatey - Cartesian y coordinatez - Cartesian z coordinatella - 0: longitude 1: latitude: 2: altitudepublic static final double[] llaToECF(double lon,
double lat,
double alt,
double[] ecf)
lon - geodesic longitudelat - geodesic latitudealt - geodesic altitudeecf - reusable earth-centered earth-fixed resultpublic static double[] llaToENU(double lon,
double lat,
double alt,
double centerLon,
double centerLat,
double centerAlt,
double[] enu)
lon - longitude in degreeslat - latitude in degreesalt - altitude in meterscenterLon - reference point longitude in degreescenterLat - reference point latitude in degreescenterAlt - reference point altitude in metersenu - result east, north, up coordinatepublic static double[] enuToLLA(double x,
double y,
double z,
double centerLon,
double centerLat,
double centerAlt,
double[] lla)
x - easting (in meters)y - northing (in meters)z - up (in meters)centerLon - reference point longitude (in degrees)centerLat - reference point latitude (in degrees)centerAlt - reference point altitude (in meters)lla - resulting lat, lon, alt point (in degrees)public static double[] ecfToENU(double x,
double y,
double z,
double centerLon,
double centerLat,
double centerAlt,
double[] enu)
x - ECF X coordinate (in meters)y - ECF Y coordinate (in meters)z - ECF Z coordinate (in meters)centerLon - ENU origin longitude (in degrees)centerLat - ENU origin latitude (in degrees)centerAlt - ENU altitude (in meters)enu - reusable enu resultpublic static double[] enuToECF(double x,
double y,
double z,
double centerLon,
double centerLat,
double centerAlt,
double[] ecf)
x - ENU x coordinate (in meters)y - ENU y coordinate (in meters)z - ENU z coordinate (in meters)centerLon - ENU origin longitude (in degrees)centerLat - ENU origin latitude (in degrees)centerAlt - ENU origin altitude (in meters)ecf - reusable ecf resultpublic static final double[] pointFromLonLatBearing(double lon,
double lat,
double bearing,
double dist,
double[] pt)
lon - origin longitude in degreeslat - origin latitude in degreesbearing - azimuthal bearing in degreesdist - distance in meterspt - resulting pointCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.