Class SpatialCalculation


  • public class SpatialCalculation
    extends Object
    Author:
    aripd.com
    • Constructor Detail

      • SpatialCalculation

        protected SpatialCalculation()
    • 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