Class DegreesCentroid


  • public class DegreesCentroid
    extends Object
    Centroid calculations for geometries in degrees
    Since:
    2.0.5
    Author:
    osbornb
    • Constructor Detail

      • DegreesCentroid

        public DegreesCentroid​(Geometry geometry)
        Constructor
        Parameters:
        geometry - geometry
    • Method Detail

      • getCentroid

        public static Point getCentroid​(Geometry geometry)
        Get the degree geometry centroid
        Parameters:
        geometry - geometry
        Returns:
        centroid point
      • getCentroid

        public Point getCentroid()
        Get the centroid point
        Returns:
        centroid point