com.vividsolutions.jts.operation.distance
Class ConnectedElementPointFilter
java.lang.Object
com.vividsolutions.jts.operation.distance.ConnectedElementPointFilter
- GeometryFilter
public class ConnectedElementPointFilter
extends java.lang.Object
Extracts a single point
from each connected element in a Geometry
(e.g. a polygon, linestring or point)
and returns them in a list
void | filter(Geometry geom)
|
static List | getCoordinates(Geometry geom) - Returns a list containing a Coordinate from each Polygon, LineString, and Point
found inside the specified geometry.
|
getCoordinates
public static List getCoordinates(Geometry geom)
Returns a list containing a Coordinate from each Polygon, LineString, and Point
found inside the specified geometry. Thus, if the specified geometry is
not a GeometryCollection, an empty list will be returned.