com.vividsolutions.jts.geom.util
public class PointExtracter extends java.lang.Object implements GeometryFilter
GeometryExtracter
Constructor and Description |
---|
PointExtracter(java.util.List pts)
Constructs a PointExtracterFilter with a list in which to store Points found.
|
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.