Package org.locationtech.jts.simplify
Class TopologyPreservingSimplifier.LineStringMapBuilderFilter
java.lang.Object
org.locationtech.jts.simplify.TopologyPreservingSimplifier.LineStringMapBuilderFilter
- All Implemented Interfaces:
GeometryComponentFilter
- Enclosing class:
TopologyPreservingSimplifier
static class TopologyPreservingSimplifier.LineStringMapBuilderFilter
extends Object
implements GeometryComponentFilter
A filter to add linear geometries to the linestring map
with the appropriate minimum size constraint.
Closed
LineString
s (including LinearRing
s
have a minimum output size constraint of 4,
to ensure the output is valid.
For all other linestrings, the minimum size is 2 points.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tps
-
-
Constructor Details
-
LineStringMapBuilderFilter
LineStringMapBuilderFilter(TopologyPreservingSimplifier tps)
-
-
Method Details
-
filter
Filters linear geometries. geom a geometry of any type- Specified by:
filter
in interfaceGeometryComponentFilter
- Parameters:
geom
- aGeometry
to which the filter is applied.
-