diff --git a/pom.xml b/pom.xml index de21e185..672bf88e 100644 --- a/pom.xml +++ b/pom.xml @@ -300,7 +300,7 @@ com.github.openjump-gis topology-extension - v2.0.5 + 9c1d788f8d com.github.scoutant diff --git a/src/main/java/micycle/pgs/PGS_Meshing.java b/src/main/java/micycle/pgs/PGS_Meshing.java index cb407153..070f7913 100644 --- a/src/main/java/micycle/pgs/PGS_Meshing.java +++ b/src/main/java/micycle/pgs/PGS_Meshing.java @@ -740,7 +740,7 @@ public static PShape simplifyMesh(PShape mesh, double tolerance, boolean preserv CoverageSimplifier simplifier = new CoverageSimplifier(geometries); Geometry[] output; if (preservePerimeter) { - output = simplifier.simplifyInner(tolerance); + output = CoverageSimplifier.simplifyInner(geometries, tolerance); } else { output = simplifier.simplify(tolerance); }