Class SimpleOverlayArea
- java.lang.Object
-
- org.locationtech.jts.operation.overlayarea.SimpleOverlayArea
-
public class SimpleOverlayArea extends Object
Computes the result area of an overlay usng the Overlay-Area, for simple polygons. Simple polygons have no holes. No indexing is used. This is faster thanOverlayArea
for polygons with low vertex count.- Author:
- mdavis
-
-
Constructor Summary
Constructors Constructor Description SimpleOverlayArea(Polygon geom0, Polygon geom1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getArea()
static double
intersectionArea(Polygon poly0, Polygon poly1)
Computes the area of intersection of two polygons with no holes.
-