public class PolygonExtracter extends Object implements GeometryFilter
GeometryExtracter| Constructor and Description |
|---|
PolygonExtracter(List comps)
Constructs a PolygonExtracterFilter with a list in which to store Polygons found.
|
| Modifier and Type | Method and Description |
|---|---|
void |
filter(Geometry geom)
Performs an operation with or on
geom. |
static List |
getPolygons(Geometry geom)
|
static List |
getPolygons(Geometry geom,
List list)
|
public PolygonExtracter(List comps)
public static List getPolygons(Geometry geom, List list)
geom - the geometry from which to extractlist - the list to add the extracted elements topublic static List getPolygons(Geometry geom)
geom - the geometry from which to extractpublic void filter(Geometry geom)
GeometryFiltergeom.filter in interface GeometryFiltergeom - a Geometry to which the filter is applied.Copyright © 2024. All rights reserved.