Class PolygonExtracter
java.lang.Object
org.locationtech.jts.geom.util.PolygonExtracter
- All Implemented Interfaces:
GeometryFilter
- Version:
- 1.7
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPolygonExtracter(List comps) Constructs a PolygonExtracterFilter with a list in which to store Polygons found. -
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms an operation with or ongeom.static ListgetPolygons(Geometry geom) static ListgetPolygons(Geometry geom, List list)
-
Constructor Details
-
PolygonExtracter
Constructs a PolygonExtracterFilter with a list in which to store Polygons found.
-
-
Method Details
-
getPolygons
-
getPolygons
-
filter
Description copied from interface:GeometryFilterPerforms an operation with or ongeom.- Specified by:
filterin interfaceGeometryFilter- Parameters:
geom- aGeometryto which the filter is applied.
-