|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.geom.util.PolygonExtracter
Extracts all the 2-dimensional (Polygon
) components from a Geometry
.
Constructor Summary | |
PolygonExtracter(java.util.List comps)
Constructs a PolygonExtracterFilter with a list in which to store Polygons found. |
Method Summary | |
void |
filter(Geometry geom)
Performs an operation with or on geom . |
static java.util.List |
getPolygons(Geometry geom)
Returns the Polygon 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 PolygonExtracter(java.util.List comps)
Method Detail |
public static java.util.List getPolygons(Geometry geom)
PolygonExtracterFilter
instance
and pass it to multiple geometries.
public 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 |