From a47fbddf8bde6fae2103849d525ba8d4fb26a00c Mon Sep 17 00:00:00 2001 From: Martin Davis Date: Sun, 3 Dec 2023 21:10:04 -0800 Subject: [PATCH] Fix Javadoc --- .../TopologyPreservingSimplifier.java | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/modules/core/src/main/java/org/locationtech/jts/simplify/TopologyPreservingSimplifier.java b/modules/core/src/main/java/org/locationtech/jts/simplify/TopologyPreservingSimplifier.java index d061a44b83..c675dda144 100644 --- a/modules/core/src/main/java/org/locationtech/jts/simplify/TopologyPreservingSimplifier.java +++ b/modules/core/src/main/java/org/locationtech/jts/simplify/TopologyPreservingSimplifier.java @@ -28,8 +28,7 @@ * Simplifies a geometry and ensures that * the result is a valid geometry having the * same dimension and number of components as the input, - * and with the components having the same topological - * relationship. + * and with the components having the same topological relationship. *

* If the input is a polygonal geometry * ( {@link Polygon} or {@link MultiPolygon} ): @@ -45,8 +44,8 @@ * any intersecting line segments, this property * will be preserved in the output. *

- * For polygonal geometries and LinearRings the endpoint will participate - * in simplification. For LineStrings the endpoints will not be unchanged. + * For polygonal geometries and LinearRings the ring endpoint will be simplified. + * For LineStrings the endpoints will be unchanged. *

* For all geometry types, the result will contain * enough vertices to ensure validity. For polygons @@ -60,19 +59,6 @@ *

* The simplification uses a maximum-distance difference algorithm * similar to the Douglas-Peucker algorithm. - * - *

KNOWN BUGS

- * * * @author Martin Davis * @see DouglasPeuckerSimplifier