public class PointExtracter extends Object implements GeometryFilter
GeometryExtracter
Constructor and Description |
---|
PointExtracter(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 List |
getPoints(Geometry geom)
|
static List |
getPoints(Geometry geom,
List list)
|
public PointExtracter(List pts)
public static List getPoints(Geometry geom, List list)
geom
- the geometry from which to extractlist
- the list to add the extracted elements topublic static 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.Copyright © 2024. All rights reserved.