public class LineStringExtracter extends Object implements GeometryFilter
LineString elements from a Geometry.GeometryExtracter| Constructor and Description |
|---|
LineStringExtracter(List comps)
Constructs a filter with a list in which to store the elements found.
|
public LineStringExtracter(List comps)
public static List getLines(Geometry geom, List lines)
geom - the geometry from which to extractlines - the list to add the extracted LineStrings topublic static List getLines(Geometry geom)
geom - the geometry from which to extractpublic void filter(Geometry geom)
GeometryFiltergeom.filter in interface GeometryFiltergeom - a Geometry to which the filter is applied.Copyright © 2015. All rights reserved.