@thi.ng/geom-voronoi 2.2.7 → 2.2.10
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 +1 -1
- package/README.md +1 -1
- package/index.d.ts +4 -4
- package/index.js +4 -4
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -23,10 +23,10 @@ export declare class DVMesh<T> {
|
|
|
23
23
|
* If adding multiple points, ensure `computeDual` will only be called
|
|
24
24
|
* for/after the last point insertion to avoid computational overhead.
|
|
25
25
|
*
|
|
26
|
-
* @param p
|
|
27
|
-
* @param val
|
|
28
|
-
* @param eps
|
|
29
|
-
* @param update
|
|
26
|
+
* @param p -
|
|
27
|
+
* @param val -
|
|
28
|
+
* @param eps -
|
|
29
|
+
* @param update -
|
|
30
30
|
*/
|
|
31
31
|
add(p: ReadonlyVec, val?: T, eps?: number, update?: boolean): boolean;
|
|
32
32
|
addKeys(pts: Iterable<ReadonlyVec>, eps?: number): void;
|
package/index.js
CHANGED
|
@@ -44,10 +44,10 @@ export class DVMesh {
|
|
|
44
44
|
* If adding multiple points, ensure `computeDual` will only be called
|
|
45
45
|
* for/after the last point insertion to avoid computational overhead.
|
|
46
46
|
*
|
|
47
|
-
* @param p
|
|
48
|
-
* @param val
|
|
49
|
-
* @param eps
|
|
50
|
-
* @param update
|
|
47
|
+
* @param p -
|
|
48
|
+
* @param val -
|
|
49
|
+
* @param eps -
|
|
50
|
+
* @param update -
|
|
51
51
|
*/
|
|
52
52
|
add(p, val, eps = EPS, update = true) {
|
|
53
53
|
let [e, exists] = this.locate(p, eps);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-voronoi",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.10",
|
|
4
4
|
"description": "Fast, incremental 2D Delaunay & Voronoi mesh implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/bitfield": "^2.1.
|
|
39
|
-
"@thi.ng/checks": "^3.1.
|
|
40
|
-
"@thi.ng/geom-clip-line": "^2.1.
|
|
41
|
-
"@thi.ng/geom-clip-poly": "^2.1.
|
|
42
|
-
"@thi.ng/geom-isec": "^2.1.
|
|
43
|
-
"@thi.ng/geom-poly-utils": "^2.
|
|
44
|
-
"@thi.ng/math": "^5.
|
|
45
|
-
"@thi.ng/quad-edge": "^3.1.
|
|
46
|
-
"@thi.ng/vectors": "^7.
|
|
37
|
+
"@thi.ng/api": "^8.3.5",
|
|
38
|
+
"@thi.ng/bitfield": "^2.1.6",
|
|
39
|
+
"@thi.ng/checks": "^3.1.5",
|
|
40
|
+
"@thi.ng/geom-clip-line": "^2.1.10",
|
|
41
|
+
"@thi.ng/geom-clip-poly": "^2.1.10",
|
|
42
|
+
"@thi.ng/geom-isec": "^2.1.10",
|
|
43
|
+
"@thi.ng/geom-poly-utils": "^2.2.2",
|
|
44
|
+
"@thi.ng/math": "^5.3.1",
|
|
45
|
+
"@thi.ng/quad-edge": "^3.1.5",
|
|
46
|
+
"@thi.ng/vectors": "^7.5.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@microsoft/api-extractor": "^7.19.
|
|
50
|
-
"@thi.ng/testament": "^0.2.
|
|
49
|
+
"@microsoft/api-extractor": "^7.19.4",
|
|
50
|
+
"@thi.ng/testament": "^0.2.5",
|
|
51
51
|
"rimraf": "^3.0.2",
|
|
52
52
|
"tools": "^0.0.1",
|
|
53
|
-
"typedoc": "^0.22.
|
|
54
|
-
"typescript": "^4.
|
|
53
|
+
"typedoc": "^0.22.13",
|
|
54
|
+
"typescript": "^4.6.2"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
57
57
|
"2d",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
],
|
|
82
82
|
"exports": {
|
|
83
83
|
".": {
|
|
84
|
-
"
|
|
84
|
+
"default": "./index.js"
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"thi.ng": {
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
],
|
|
92
92
|
"year": 2016
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "542bf14bd0c7a56b4e6297718189eea772a824b7\n"
|
|
95
95
|
}
|