Skip to content

Commit

Permalink
Merge pull request #2804 from Armatorix/page-not-found-chaikins-ppdf
Browse files Browse the repository at this point in the history
Updated link to Chaikin's algorithm - access forbidden to the old link.
  • Loading branch information
smallsaucepan authored Jan 9, 2025
2 parents 991d3ac + 2a2cee5 commit 8410246
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/turf-boolean-intersects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Boolean-intersects returns (TRUE) if the intersection of the two geometries is N
* `feature2` **([Geometry][1] | [Feature][2]\<any>)** 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

Expand Down
2 changes: 1 addition & 1 deletion packages/turf-polygon-smooth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/turf-polygon-smooth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8410246

Please sign in to comment.