@thi.ng/geom-voronoi 2.2.38 → 2.2.40
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 +6 -9
- package/index.d.ts +1 -1
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/geom-voronoi)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -62,11 +62,8 @@ ES module import:
|
|
|
62
62
|
|
|
63
63
|
For Node.js REPL:
|
|
64
64
|
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
node --experimental-repl-await
|
|
68
|
-
|
|
69
|
-
> const geomVoronoi = await import("@thi.ng/geom-voronoi");
|
|
65
|
+
```js
|
|
66
|
+
const geomVoronoi = await import("@thi.ng/geom-voronoi");
|
|
70
67
|
```
|
|
71
68
|
|
|
72
69
|
Package sizes (brotli'd, pre-treeshake): ESM: 1.29 KB
|
|
@@ -133,7 +130,7 @@ document.body.innerHtml = g.asSvg(
|
|
|
133
130
|
|
|
134
131
|
## Authors
|
|
135
132
|
|
|
136
|
-
Karsten Schmidt
|
|
133
|
+
- [Karsten Schmidt](https://thi.ng)
|
|
137
134
|
|
|
138
135
|
If this project contributes to an academic publication, please cite it as:
|
|
139
136
|
|
|
@@ -148,4 +145,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
148
145
|
|
|
149
146
|
## License
|
|
150
147
|
|
|
151
|
-
© 2016 - 2022 Karsten Schmidt // Apache
|
|
148
|
+
© 2016 - 2022 Karsten Schmidt // Apache License 2.0
|
package/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Pair } from "@thi.ng/api";
|
|
|
2
2
|
import { BitField } from "@thi.ng/bitfield/bitfield";
|
|
3
3
|
import { Edge } from "@thi.ng/quad-edge";
|
|
4
4
|
import { ReadonlyVec, Vec, VecPair } from "@thi.ng/vectors/api";
|
|
5
|
-
export
|
|
5
|
+
export type Visitor<T> = (e: Edge<Vertex<T>>, vistedEdges: BitField, visitedVerts: BitField) => void;
|
|
6
6
|
export interface Vertex<T> {
|
|
7
7
|
pos: ReadonlyVec;
|
|
8
8
|
id: number;
|
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.40",
|
|
4
4
|
"description": "Fast, incremental 2D Delaunay & Voronoi mesh implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
38
|
-
"@thi.ng/bitfield": "^2.2.
|
|
39
|
-
"@thi.ng/checks": "^3.3.
|
|
40
|
-
"@thi.ng/geom-clip-line": "^2.2.
|
|
41
|
-
"@thi.ng/geom-clip-poly": "^2.1.
|
|
42
|
-
"@thi.ng/geom-isec": "^2.1.
|
|
43
|
-
"@thi.ng/geom-poly-utils": "^2.3.
|
|
44
|
-
"@thi.ng/math": "^5.3.
|
|
45
|
-
"@thi.ng/quad-edge": "^3.1.
|
|
46
|
-
"@thi.ng/vectors": "^7.5.
|
|
37
|
+
"@thi.ng/api": "^8.6.1",
|
|
38
|
+
"@thi.ng/bitfield": "^2.2.16",
|
|
39
|
+
"@thi.ng/checks": "^3.3.5",
|
|
40
|
+
"@thi.ng/geom-clip-line": "^2.2.2",
|
|
41
|
+
"@thi.ng/geom-clip-poly": "^2.1.39",
|
|
42
|
+
"@thi.ng/geom-isec": "^2.1.39",
|
|
43
|
+
"@thi.ng/geom-poly-utils": "^2.3.23",
|
|
44
|
+
"@thi.ng/math": "^5.3.17",
|
|
45
|
+
"@thi.ng/quad-edge": "^3.1.18",
|
|
46
|
+
"@thi.ng/vectors": "^7.5.28"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@microsoft/api-extractor": "^7.33.
|
|
50
|
-
"@thi.ng/testament": "^0.3.
|
|
49
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
50
|
+
"@thi.ng/testament": "^0.3.7",
|
|
51
51
|
"rimraf": "^3.0.2",
|
|
52
52
|
"tools": "^0.0.1",
|
|
53
|
-
"typedoc": "^0.23.
|
|
54
|
-
"typescript": "^4.
|
|
53
|
+
"typedoc": "^0.23.22",
|
|
54
|
+
"typescript": "^4.9.4"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
57
57
|
"2d",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
],
|
|
92
92
|
"year": 2016
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
|
|
95
95
|
}
|