public class GeometryExtracter extends Object implements GeometryFilter
Geometry
.Constructor and Description |
---|
GeometryExtracter(Class clz,
List comps)
Deprecated.
|
GeometryExtracter(String geometryType,
List comps)
Constructs a filter with a list in which to store the elements found.
|
Modifier and Type | Method and Description |
---|---|
static List |
extract(Geometry geom,
Class clz)
Deprecated.
|
static List |
extract(Geometry geom,
Class clz,
List list)
Deprecated.
|
static List |
extract(Geometry geom,
String geometryType) |
static List |
extract(Geometry geom,
String geometryType,
List list)
|
void |
filter(Geometry geom)
Performs an operation with or on
geom . |
public GeometryExtracter(Class clz, List comps)
clz
- the class of the components to extract (null means all types)comps
- the list to extract intopublic static List extract(Geometry geom, Class clz, List list)
extract(Geometry, String, List)
geom
- the geometry from which to extractlist
- the list to add the extracted elements topublic static List extract(Geometry geom, String geometryType, List list)
geom
- the geometry from which to extractgeometryType
- Geometry type to extract (null means all types)list
- the list to add the extracted elements topublic static List extract(Geometry geom, Class clz)
extract(Geometry, String)
geom
- the geometry from which to extractpublic void filter(Geometry geom)
GeometryFilter
geom
.filter
in interface GeometryFilter
geom
- a Geometry
to which the filter is applied.Copyright © 2024. All rights reserved.