@thi.ng/geom-hull 2.1.35 → 2.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-16T12:52:25Z
3
+ - **Last updated**: 2022-12-22T21:47:07Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -20,7 +20,7 @@ This project is part of the
20
20
 
21
21
  ## About
22
22
 
23
- Fast 2D convex hull (Graham Scan)
23
+ Fast 2D convex hull (Graham Scan). This is a support package for [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/develop/packages/geom).
24
24
 
25
25
  Current implementation is partially based on Clojure version of
26
26
  [thi.ng/geom](http://thi.ng/geom).
package/graham-scan.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import type { ReadonlyVec } from "@thi.ng/vectors";
2
2
  /**
3
- * Returns array of points defining the 2D Convex Hull of `pts` using
4
- * the Graham Scan method.
3
+ * Returns array of points defining the 2D Convex Hull of `pts` using the Graham
4
+ * Scan method.
5
5
  *
6
- * - {@link https://en.wikipedia.org/wiki/Graham_scan}
7
- * - {@link http://c.thi.ng/}
6
+ * - https://en.wikipedia.org/wiki/Graham_scan
7
+ * - http://c.thi.ng/
8
8
  *
9
9
  * @param pts - input points
10
10
  * @param eps - tolerance for colinear neighbor detection
package/graham-scan.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { EPS } from "@thi.ng/math/api";
2
2
  const atan2 = Math.atan2;
3
3
  /**
4
- * Returns array of points defining the 2D Convex Hull of `pts` using
5
- * the Graham Scan method.
4
+ * Returns array of points defining the 2D Convex Hull of `pts` using the Graham
5
+ * Scan method.
6
6
  *
7
- * - {@link https://en.wikipedia.org/wiki/Graham_scan}
8
- * - {@link http://c.thi.ng/}
7
+ * - https://en.wikipedia.org/wiki/Graham_scan
8
+ * - http://c.thi.ng/
9
9
  *
10
10
  * @param pts - input points
11
11
  * @param eps - tolerance for colinear neighbor detection
@@ -53,7 +53,7 @@ export const grahamScan2 = (pts, eps = EPS) => {
53
53
  * Returns true, if triangle defined by ABC is NOT counter clockwise,
54
54
  * i.e. clockwise or colinear.
55
55
  *
56
- * {@link @thi.ng/vectors#signedArea2}
56
+ * [`signedArea2()`](https://docs.thi.ng/umbrella/vectors/functions/signedArea2.html)
57
57
  *
58
58
  * @param ax -
59
59
  * @param ay -
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-hull",
3
- "version": "2.1.35",
3
+ "version": "2.1.37",
4
4
  "description": "Fast 2D convex hull (Graham Scan)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,12 +34,12 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/math": "^5.3.16",
38
- "@thi.ng/vectors": "^7.5.27"
37
+ "@thi.ng/math": "^5.3.18",
38
+ "@thi.ng/vectors": "^7.5.29"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-extractor": "^7.33.7",
42
- "@thi.ng/testament": "^0.3.7",
42
+ "@thi.ng/testament": "^0.3.8",
43
43
  "rimraf": "^3.0.2",
44
44
  "tools": "^0.0.1",
45
45
  "typedoc": "^0.23.22",
@@ -76,5 +76,5 @@
76
76
  "parent": "@thi.ng/geom",
77
77
  "year": 2013
78
78
  },
79
- "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
79
+ "gitHead": "bc6f7f5e2765bb96fe64db804eaf4b2443b47fc6\n"
80
80
  }