public class GeometryExtracter extends Object implements GeometryFilter
Geometry
.Constructor and Description |
---|
GeometryExtracter(Class clz,
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)
|
static List |
extract(Geometry geom,
Class clz,
List list)
|
void |
filter(Geometry geom)
Performs an operation with or on
geom . |
protected static boolean |
isOfClass(Object o,
Class clz) |
public static List extract(Geometry geom, Class clz, List list)
geom
- the geometry from which to extractlist
- the list to add the extracted elements topublic static List extract(Geometry geom, Class clz)
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 © 2016. All rights reserved.