public class GeometryUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static double |
APP_EARTH_RADIUS
Approximate earth radius [kilometers]
|
static double |
LAT_DEGREE_DIST
Meridian length = 20000km Angular length = 180 degree distance of one degree = 111.11
|
| Modifier and Type | Method and Description |
|---|---|
protected static double |
fixOverlappedLatitude(double latitude) |
protected static double |
fixOverlappedLongitude(double longitude) |
protected static double |
getCircleOfLatitudeLength(double latitude) |
static double |
getElipticalDistanceKM(GPS gpsFrom,
GPS gpsTo)
Returns Elliptical distance between two gps coordinates
|
static java.util.List<GPS> |
getSquareOfTolerance(GPS center,
double radius)
returns list of coordinates locations being the top-left and bottom-right corners of the tolerance square
|
protected static GlobalCoordinates |
igps2GlobalCoordinates(GPS igps) |
static boolean |
isPointInEurope(GPS point) |
public static final double LAT_DEGREE_DIST
public static final double APP_EARTH_RADIUS
public static double getElipticalDistanceKM(GPS gpsFrom, GPS gpsTo)
gpsFrom - gpsTo - protected static GlobalCoordinates igps2GlobalCoordinates(GPS igps)
protected static double getCircleOfLatitudeLength(double latitude)
public static java.util.List<GPS> getSquareOfTolerance(GPS center, double radius)
center - GPSradius - [kilometers]GPSGeoLocatorExceptionprotected static double fixOverlappedLongitude(double longitude)
protected static double fixOverlappedLatitude(double latitude)
public static boolean isPointInEurope(GPS point)
Copyright © 2018 SAP SE. All Rights Reserved.