public class PointExtracter extends java.lang.Object implements GeometryFilter
GeometryExtracter
Modifier and Type | Field and Description |
---|---|
private java.util.List |
pts |
Constructor and Description |
---|
PointExtracter(java.util.List pts)
Constructs a PointExtracterFilter with a list in which to store Points found.
|
Modifier and Type | Method and Description |
---|---|
void |
filter(Geometry geom)
Performs an operation with or on
geom . |
static java.util.List |
getPoints(Geometry geom)
|
static java.util.List |
getPoints(Geometry geom,
java.util.List list)
|
public PointExtracter(java.util.List pts)
public static java.util.List getPoints(Geometry geom, java.util.List list)
geom
- the geometry from which to extractlist
- the list to add the extracted elements topublic static java.util.List getPoints(Geometry geom)
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.