GeometryComponentFilterpublic class ComponentCoordinateExtracter extends java.lang.Object implements GeometryComponentFilter
Coordinate
from each connected component of a Geometry.| Constructor | Description |
|---|---|
ComponentCoordinateExtracter(java.util.List coords) |
Constructs a LineExtracterFilter with a list in which to store LineStrings found.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
public ComponentCoordinateExtracter(java.util.List coords)
public static java.util.List getCoordinates(Geometry geom)
ComponentCoordinateExtracter instance
and pass it to multiple geometries.geom - the Geometry from which to extractpublic void filter(Geometry geom)
GeometryComponentFiltergeom.filter in interface GeometryComponentFiltergeom - a Geometry to which the filter is applied.Copyright © 2018. All rights reserved.