public final class GeoUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoUtils.LatLong |
| Constructor and Description |
|---|
GeoUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
calculateAreaOfGPSPolygonOnEarthInSquareMeters(List<GeoUtils.LatLong> latLongs)
Calculates the enclosed area that is defined by a list of gps coordinates on earth.
|
static double |
calculateDistance(List<GeoUtils.LatLong> points)
Returns the sum of the distances between points[i] and [i - 1], for all points starting with the second point
|
public static double calculateAreaOfGPSPolygonOnEarthInSquareMeters(List<GeoUtils.LatLong> latLongs)
latLongs - the list of coordinates.public static double calculateDistance(List<GeoUtils.LatLong> points)
points - the points between which the distances are to be summedCopyright © 2024. All rights reserved.