GeometryComponentFilter class abstract
Geometry
classes support the concept of applying
a GeometryComponentFilter
filter to the Geometry
.
The filter is applied to every component of the Geometry
which is itself a Geometry
and which does not itself contain any components.
(For instance, all the {@link LinearRing}s in {@link Polygon}s are visited,
but in a {@link MultiPolygon} the {@link Polygon}s themselves are not visited.)
Thus the only classes of Geometry which must be
handled as arguments to {@link #filter}
are {@link LineString}s, {@link LinearRing}s and {@link Point}s.
A GeometryComponentFilter
filter can either
record information about the Geometry
or change the Geometry
in some way.
GeometryComponentFilter
is an example of the Gang-of-Four Visitor pattern.
@version 1.7
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
filter(
Geometry geom) → void -
Performs an operation with or on
geom
. -
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