|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geom.util.ComponentCoordinateExtracter
public class ComponentCoordinateExtracter
Extracts a single representative Coordinate
from each connected component of a Geometry
.
Constructor Summary | |
---|---|
ComponentCoordinateExtracter(java.util.List coords)
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.List |
getCoordinates(Geometry geom)
Extracts the linear components from a single geometry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentCoordinateExtracter(java.util.List coords)
Method Detail |
---|
public static java.util.List getCoordinates(Geometry geom)
LineExtracterFilter
instance
and pass it to multiple geometries.
geom
- the Geometry from which to extract
public void filter(Geometry geom)
GeometryComponentFilter
geom
.
filter
in interface GeometryComponentFilter
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 |