public class LineStringExtracter extends Objectimplements GeometryFilter
LineString elements from a
Geometry.
GeometryExtracter
| Constructor and Description |
|---|
LineStringExtracter(List
Constructs a filter with a list in which to store the elements found.
|
public LineStringExtracter(Listcomps)
public static ListgetLines(Geometry geom, List lines)
geom - the geometry from which to extract
lines - the list to add the extracted LineStrings to
list - the list to add the extracted elements to
public static ListgetLines(Geometry geom)
geom - the geometry from which to extract
public void filter(Geometrygeom)
GeometryFilter
geom.
filter in interface
GeometryFilter
geom - a
Geometry to which the filter is applied.