public class GeoProjectionUtils extends Object
Modifier and Type | Field and Description |
---|---|
static double |
ECCENTRICITY
first eccentricity (e)
|
static double |
FLATTENING
earth flattening factor (f)
|
static double |
MAX_LAT_RADIANS
max latitude value in radians
|
static double |
MAX_LON_RADIANS
max longitude value in radians
|
static double |
MIN_LAT_RADIANS
min latitude value in radians
|
static double |
MIN_LON_RADIANS
min longitude value in radians
|
static double |
SEMIMAJOR_AXIS
major (a) axis in meters
|
static double |
SEMIMAJOR_AXIS2
major axis squared (a2)
|
static double |
SEMIMINOR_AXIS
minor (b) axis in meters
|
static double |
SEMIMINOR_AXIS2
minor axis squared (b2)
|
Modifier and Type | Method and Description |
---|---|
static double |
bearingGreatCircle(double lat1,
double lon1,
double lat2,
double lon2)
Finds the bearing (in degrees) between 2 geo points (lat, lon) using great circle arc
|
static double[] |
llaToECF(double lat,
double lon,
double alt,
double[] ecf)
Converts from geodesic lat lon alt to geocentric earth-centered earth-fixed
|
static double[] |
pointFromLonLatBearingGreatCircle(double lat,
double lon,
double bearing,
double dist,
double[] pt)
Finds a point along a bearing from a given lat,lon geolocation using great circle arc
|
public static final double SEMIMAJOR_AXIS
public static final double FLATTENING
public static final double SEMIMINOR_AXIS
public static final double ECCENTRICITY
public static final double SEMIMAJOR_AXIS2
public static final double SEMIMINOR_AXIS2
public static final double MIN_LON_RADIANS
public static final double MIN_LAT_RADIANS
public static final double MAX_LON_RADIANS
public static final double MAX_LAT_RADIANS
public static final double[] llaToECF(double lat, double lon, double alt, double[] ecf)
lat
- geodesic latitudelon
- geodesic longitudealt
- geodesic altitudeecf
- reusable earth-centered earth-fixed resultpublic static final double[] pointFromLonLatBearingGreatCircle(double lat, double lon, double bearing, double dist, double[] pt)
lat
- origin latitude in degreeslon
- origin longitude in degreesbearing
- azimuthal bearing in degreesdist
- distance in meterspt
- resulting pointpublic static double bearingGreatCircle(double lat1, double lon1, double lat2, double lon2)
lat1
- first point latitude in degreeslon1
- first point longitude in degreeslat2
- second point latitude in degreeslon2
- second point longitude in degreesCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.