From 4a73a8c8f98196c807cbd0bf174612b4fe6b3301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Soko=C5=82owski?= Date: Tue, 31 Dec 2024 14:57:25 +0100 Subject: [PATCH 1/2] Update link to Chaikin's algorithm --- packages/turf-polygon-smooth/README.md | 2 +- packages/turf-polygon-smooth/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/turf-polygon-smooth/README.md b/packages/turf-polygon-smooth/README.md index f028a5a5e..5600c63b2 100644 --- a/packages/turf-polygon-smooth/README.md +++ b/packages/turf-polygon-smooth/README.md @@ -31,7 +31,7 @@ Returns **[FeatureCollection][4]<([Polygon][1] | [MultiPolygon][2])>** FeatureCo [2]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[3]: http://graphics.cs.ucdavis.edu/education/CAGDNotes/Chaikins-Algorithm/Chaikins-Algorithm.html +[3]: https://www.cs.unc.edu/~dm/UNC/COMP258/LECTURES/Chaikins-Algorithm.pdf [4]: https://tools.ietf.org/html/rfc7946#section-3.3 diff --git a/packages/turf-polygon-smooth/index.ts b/packages/turf-polygon-smooth/index.ts index c74991eac..5c0ea49cf 100644 --- a/packages/turf-polygon-smooth/index.ts +++ b/packages/turf-polygon-smooth/index.ts @@ -9,7 +9,7 @@ import { featureCollection, multiPolygon, polygon } from "@turf/helpers"; import { coordEach, geomEach } from "@turf/meta"; /** - * Smooths a {@link Polygon} or {@link MultiPolygon}. Based on [Chaikin's algorithm](http://graphics.cs.ucdavis.edu/education/CAGDNotes/Chaikins-Algorithm/Chaikins-Algorithm.html). + * Smooths a {@link Polygon} or {@link MultiPolygon}. Based on [Chaikin's algorithm](https://www.cs.unc.edu/~dm/UNC/COMP258/LECTURES/Chaikins-Algorithm.pdf). * Warning: may create degenerate polygons. * * @function From a35ce5c18d8ebf897fc4d518aae69b5ff8609871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Soko=C5=82owski?= Date: Tue, 31 Dec 2024 15:05:48 +0100 Subject: [PATCH 2/2] Running `pnpm run docs` --- packages/turf-boolean-intersects/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/turf-boolean-intersects/README.md b/packages/turf-boolean-intersects/README.md index 2ad0ceadb..910856c88 100644 --- a/packages/turf-boolean-intersects/README.md +++ b/packages/turf-boolean-intersects/README.md @@ -12,7 +12,7 @@ Boolean-intersects returns (TRUE) if the intersection of the two geometries is N * `feature2` **([Geometry][1] | [Feature][2]\)** GeoJSON Feature or Geometry * `options` **[Object][3]** Optional parameters (optional, default `{}`) - * `options.ignoreSelfIntersections` **[boolean][4]** ignores self-intersections on input features (optional, default `false`) + * `options.ignoreSelfIntersections` **[boolean][4]** ignore self-intersections on input features (optional, default `true`) ### Examples