|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jts.geom.util.LinearComponentExtracter
Extracts all the 1-dimensional (LineString) components from a Geometry.
| Constructor Summary | |
LinearComponentExtracter(java.util.Collection lines)
Constructs a LineExtracterFilter with a list in which to store LineStrings found. |
|
LinearComponentExtracter(java.util.Collection lines,
boolean isForcedToLineString)
Constructs a LineExtracterFilter with a list in which to store LineStrings found. |
|
| Method Summary | |
void |
filter(Geometry geom)
Performs an operation with or on geom. |
static java.util.Collection |
getLines(java.util.Collection geoms,
java.util.Collection lines)
Extracts the linear components from a single Geometry
and adds them to the provided Collection. |
static java.util.Collection |
getLines(java.util.Collection geoms,
java.util.Collection lines,
boolean forceToLineString)
Extracts the linear components from a single Geometry
and adds them to the provided Collection. |
static java.util.List |
getLines(Geometry geom)
Extracts the linear components from a single geometry. |
static java.util.Collection |
getLines(Geometry geom,
java.util.Collection lines)
Extracts the linear components from a single Geometry
and adds them to the provided Collection. |
static java.util.Collection |
getLines(Geometry geom,
java.util.Collection lines,
boolean forceToLineString)
Extracts the linear components from a single Geometry
and adds them to the provided Collection. |
void |
setForceToLineString(boolean isForcedToLineString)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LinearComponentExtracter(java.util.Collection lines)
public LinearComponentExtracter(java.util.Collection lines,
boolean isForcedToLineString)
| Method Detail |
public static java.util.Collection getLines(java.util.Collection geoms,
java.util.Collection lines)
Geometry
and adds them to the provided Collection.
geoms - the Collection of geometries from which to extract linear componentslines - the collection to add the extracted linear components to
public static java.util.Collection getLines(java.util.Collection geoms,
java.util.Collection lines,
boolean forceToLineString)
Geometry
and adds them to the provided Collection.
geoms - the Collection of geometries from which to extract linear componentslines - the collection to add the extracted linear components to
public static java.util.Collection getLines(Geometry geom,
java.util.Collection lines)
Geometry
and adds them to the provided Collection.
geom - the geometry from which to extract linear componentslines - the Collection to add the extracted linear components to
public static java.util.Collection getLines(Geometry geom,
java.util.Collection lines,
boolean forceToLineString)
Geometry
and adds them to the provided Collection.
geom - the geometry from which to extract linear componentslines - the Collection to add the extracted linear components to
public static java.util.List getLines(Geometry geom)
LineExtracterFilter instance
and pass it to multiple geometries.
geom - the geometry from which to extract linear components
public void setForceToLineString(boolean isForcedToLineString)
public void filter(Geometry geom)
GeometryComponentFiltergeom.
filter in interface GeometryComponentFiltergeom - a Geometry to which the filter is applied.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||