Package com.aripd.util.spatial
Class SpatialCalculation
- java.lang.Object
-
- com.aripd.util.spatial.SpatialCalculation
-
public class SpatialCalculation extends Object
- Author:
- aripd.com
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SpatialCalculation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Point2D.Double
midpoint(List<Point2D.Double> points)
Calculation of the geographic midpoint (also known as the geographic center, or center of gravity) for two or more points on the earth's surface Ref: http://www.geomidpoint.com/calculation.html
-
-
-
Method Detail
-
midpoint
public static Point2D.Double midpoint(List<Point2D.Double> points)
Calculation of the geographic midpoint (also known as the geographic center, or center of gravity) for two or more points on the earth's surface Ref: http://www.geomidpoint.com/calculation.html- Parameters:
points
- List- Returns:
- Point2D.Double
-
-