ConnectedElementLocationFilter class
A ConnectedElementPointFilter extracts a single point from each connected element in a Geometry (e.g. a polygon, linestring or point) and returns them in a list. The elements of the list are {@link org.locationtech.jts.operation.distance.GeometryLocation}s.
@version 1.7
- Implemented types
Constructors
- ConnectedElementLocationFilter(List locations)
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
-
getLocations(
Geometry geom) → List - Returns a list containing a point from each Polygon, LineString, and Point found inside the specified geometry. Thus, if the specified geometry is not a GeometryCollection, an empty list will be returned. The elements of the list are {@link org.locationtech.jts.operation.distance.GeometryLocation}s.