public class PolygonExtracter extends Objectimplements GeometryFilter
GeometryExtracter
| Constructor and Description |
|---|
PolygonExtracter(List
Constructs a PolygonExtracterFilter with a list in which to store Polygons found.
|
| Modifier and Type | Method and Description |
|---|---|
void |
filter(Geometry
Performs an operation with or on
geom.
|
static List |
getPolygons(Geometry
|
static List |
getPolygons(Geometry
|
public PolygonExtracter(Listcomps)
public static ListgetPolygons(Geometry geom, List list)
geom - the geometry from which to extract
list - the list to add the extracted elements to
public static ListgetPolygons(Geometry geom)
geom - the geometry from which to extract
public void filter(Geometrygeom)
GeometryFilter
geom.
filter in interface
GeometryFilter
geom - a
Geometry to which the filter is applied.