|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geom.util.LineStringExtracter
public class LineStringExtracter
Extracts all the LineString
elements from a Geometry
.
GeometryExtracter
Constructor Summary | |
---|---|
LineStringExtracter(List comps)
Constructs a filter with a list in which to store the elements found. |
Method Summary | |
---|---|
void |
filter(Geometry geom)
Performs an operation with or on geom . |
static List |
getLines(Geometry geom)
Extracts the LineString elements from a single Geometry
and returns them in a List . |
static List |
getLines(Geometry geom,
List lines)
Extracts the LineString elements from a single Geometry
and adds them to the provided List . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineStringExtracter(List comps)
Method Detail |
---|
public static List getLines(Geometry geom, List lines)
LineString
elements from a single Geometry
and adds them to the provided List
.
geom
- the geometry from which to extractlines
- the list to add the extracted LineStrings topublic static List getLines(Geometry geom)
LineString
elements from a single Geometry
and returns them in a List
.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |