Skip to content

Commit 4a73a8c

Browse files
committed
Update link to Chaikin's algorithm
1 parent 2131d78 commit 4a73a8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/turf-polygon-smooth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Returns **[FeatureCollection][4]<([Polygon][1] | [MultiPolygon][2])>** FeatureCo
3131

3232
[2]: https://tools.ietf.org/html/rfc7946#section-3.1.7
3333

34-
[3]: http://graphics.cs.ucdavis.edu/education/CAGDNotes/Chaikins-Algorithm/Chaikins-Algorithm.html
34+
[3]: https://www.cs.unc.edu/~dm/UNC/COMP258/LECTURES/Chaikins-Algorithm.pdf
3535

3636
[4]: https://tools.ietf.org/html/rfc7946#section-3.3
3737

packages/turf-polygon-smooth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { featureCollection, multiPolygon, polygon } from "@turf/helpers";
99
import { coordEach, geomEach } from "@turf/meta";
1010

1111
/**
12-
* Smooths a {@link Polygon} or {@link MultiPolygon}. Based on [Chaikin's algorithm](http://graphics.cs.ucdavis.edu/education/CAGDNotes/Chaikins-Algorithm/Chaikins-Algorithm.html).
12+
* Smooths a {@link Polygon} or {@link MultiPolygon}. Based on [Chaikin's algorithm](https://www.cs.unc.edu/~dm/UNC/COMP258/LECTURES/Chaikins-Algorithm.pdf).
1313
* Warning: may create degenerate polygons.
1414
*
1515
* @function

0 commit comments

Comments
 (0)