com.vividsolutions.jts.geom.util
Class PointExtracter
java.lang.Objectcom.vividsolutions.jts.geom.util.PointExtracter
- GeometryFilter
public class PointExtracter
extends java.lang.Object
Extracts all the 0-dimensional (
Point) components from a
Geometry.
PointExtracter(List pts)- Constructs a PointExtracterFilter with a list in which to store Points found.
|
PointExtracter
public PointExtracter(List pts)
Constructs a PointExtracterFilter with a list in which to store Points found.
getPoints
public static List getPoints(Geometry geom)
Returns the Point components from a single geometry.
If more than one geometry is to be processed, it is more
efficient to create a single PointExtracterFilter instance
and pass it to multiple geometries.