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. - * - *