PolygonExtracter class
Extracts all the {@link Polygon} elements from a {@link Geometry}.
@version 1.7 @see GeometryExtracter
- Implemented types
Constructors
- PolygonExtracter(List comps)
- Constructs a PolygonExtracterFilter with a list in which to store Polygons found.
Properties
Methods
-
filter(
Geometry geom) → void -
Performs an operation with or on
geom
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getPolygons(
Geometry geom) → List - Extracts the {@link Polygon} elements from a single {@link Geometry} and returns them in a {@link List}.
-
getPolygonsWithList(
Geometry geom, List< Polygon> list) → List<Polygon> - Extracts the {@link Polygon} elements from a single {@link Geometry} and adds them to the provided {@link List}.