@thi.ng/geom-isoline 2.1.7 → 2.1.8
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 +5 -5
- package/index.js +5 -5
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ export declare const setBorder: (src: Vec, w: number, h: number, val: number) =>
|
|
|
8
8
|
* factor or vector. The default scale of 1.0 will result in coords in these
|
|
9
9
|
* ranges: [0.5 .. w-0.5] (for X) and [0.5 .. h-0.5] (for Y).
|
|
10
10
|
*
|
|
11
|
-
* @param src
|
|
12
|
-
* @param w
|
|
13
|
-
* @param h
|
|
14
|
-
* @param iso
|
|
15
|
-
* @param scale
|
|
11
|
+
* @param src -
|
|
12
|
+
* @param w -
|
|
13
|
+
* @param h -
|
|
14
|
+
* @param iso -
|
|
15
|
+
* @param scale -
|
|
16
16
|
*/
|
|
17
17
|
export declare function isolines(src: ReadonlyVec, w: number, h: number, iso: number, scale?: ReadonlyVec | number): Generator<Vec[], void, unknown>;
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -63,11 +63,11 @@ const contourVertex = [
|
|
|
63
63
|
* factor or vector. The default scale of 1.0 will result in coords in these
|
|
64
64
|
* ranges: [0.5 .. w-0.5] (for X) and [0.5 .. h-0.5] (for Y).
|
|
65
65
|
*
|
|
66
|
-
* @param src
|
|
67
|
-
* @param w
|
|
68
|
-
* @param h
|
|
69
|
-
* @param iso
|
|
70
|
-
* @param scale
|
|
66
|
+
* @param src -
|
|
67
|
+
* @param w -
|
|
68
|
+
* @param h -
|
|
69
|
+
* @param iso -
|
|
70
|
+
* @param scale -
|
|
71
71
|
*/
|
|
72
72
|
export function* isolines(src, w, h, iso, scale = 1) {
|
|
73
73
|
const coded = encodeCrossings(src, w, h, iso);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-isoline",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "Fast 2D contour line extraction / generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/transducers": "^8.
|
|
39
|
-
"@thi.ng/vectors": "^7.
|
|
37
|
+
"@thi.ng/api": "^8.3.4",
|
|
38
|
+
"@thi.ng/transducers": "^8.3.0",
|
|
39
|
+
"@thi.ng/vectors": "^7.5.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@microsoft/api-extractor": "^7.19.
|
|
43
|
-
"@thi.ng/testament": "^0.2.
|
|
42
|
+
"@microsoft/api-extractor": "^7.19.4",
|
|
43
|
+
"@thi.ng/testament": "^0.2.4",
|
|
44
44
|
"rimraf": "^3.0.2",
|
|
45
45
|
"tools": "^0.0.1",
|
|
46
|
-
"typedoc": "^0.22.
|
|
47
|
-
"typescript": "^4.
|
|
46
|
+
"typedoc": "^0.22.13",
|
|
47
|
+
"typescript": "^4.6.2"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
50
50
|
"2d",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"parent": "@thi.ng/geom",
|
|
78
78
|
"year": 2015
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n"
|
|
81
81
|
}
|