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.
|
Modifier and Type | Method and Description |
---|---|
void |
filter(Geometry geom)
Performs an operation with or on
geom . |
static List |
getLines(Geometry geom)
|
static List |
getLines(Geometry geom,
List lines)
|
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)
GeometryFilter
geom
.filter
in interface GeometryFilter
geom
- a Geometry
to which the filter is applied.Copyright © 2015. All rights reserved.