Class GeometryArea

java.lang.Object
org.locationtech.jts.operation.overlayarea.GeometryArea

public class GeometryArea extends Object
Computes the area of a geometry using the EdgeVector summing approach. This provides a validation of the correctness of the OverlayArea approach. It is not intended to replace the standard polygon area computation.
Author:
Martin Davis
  • Constructor Details

    • GeometryArea

      public GeometryArea(Geometry geom)
  • Method Details

    • area

      public static double area(Geometry geom)
    • areaRing

      public double areaRing(LinearRing ring)