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 java.lang.Object implements GeometryComponentFilter
A filter to add linear geometries to the linestring map with the appropriate minimum size constraint. ClosedLineStrings (includingLinearRings 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 Modifier and Type Field Description (package private) TopologyPreservingSimplifiertps
-
Constructor Summary
Constructors Constructor Description LineStringMapBuilderFilter(TopologyPreservingSimplifier tps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(Geometry geom)Filters linear geometries.
-
-
-
Field Detail
-
tps
TopologyPreservingSimplifier tps
-
-
Constructor Detail
-
LineStringMapBuilderFilter
LineStringMapBuilderFilter(TopologyPreservingSimplifier tps)
-
-
Method Detail
-
filter
public void filter(Geometry geom)
Filters linear geometries. geom a geometry of any type- Specified by:
filterin interfaceGeometryComponentFilter- Parameters:
geom- aGeometryto which the filter is applied.
-
-