Package org.locationtech.jts.geom.util
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 TypeMethodDescriptionvoid
Performs an operation with or ongeom
.static List
getPolygons
(Geometry geom) static List
getPolygons
(Geometry geom, List list)
-
Constructor Details
-
PolygonExtracter
Constructs a PolygonExtracterFilter with a list in which to store Polygons found.
-
-
Method Details
-
getPolygons
- Parameters:
geom
- the geometry from which to extractlist
- the list to add the extracted elements to
-
getPolygons
- Parameters:
geom
- the geometry from which to extract
-
filter
Description copied from interface:GeometryFilter
Performs an operation with or ongeom
.- Specified by:
filter
in interfaceGeometryFilter
- Parameters:
geom
- aGeometry
to which the filter is applied.
-