@thi.ng/geom-trace-bitmap 0.3.127 → 0.3.129
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/extract.d.ts +2 -2
- package/package.json +10 -10
- package/trace.d.ts +2 -2
package/CHANGELOG.md
CHANGED
package/extract.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import type { ReadonlyVec, Vec, VecPair } from "@thi.ng/vectors";
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const extractSegmentsX: (pts: ReadonlyVec[], maxD?: number) => {
|
|
20
20
|
segments: VecPair[];
|
|
21
|
-
points: Vec[];
|
|
21
|
+
points: Vec<number>[];
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Similar to {@link extractSegmentsX}, but for extracting vertical line
|
|
@@ -29,6 +29,6 @@ export declare const extractSegmentsX: (pts: ReadonlyVec[], maxD?: number) => {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare const extractSegmentsY: (pts: ReadonlyVec[], maxDist?: number) => {
|
|
31
31
|
segments: VecPair[];
|
|
32
|
-
points: Vec[];
|
|
32
|
+
points: Vec<number>[];
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=extract.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-trace-bitmap",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.129",
|
|
4
4
|
"description": "Bitmap image to hairline vector and point cloud conversions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.11.
|
|
43
|
-
"@thi.ng/errors": "^2.5.
|
|
44
|
-
"@thi.ng/grid-iterators": "^4.0.
|
|
45
|
-
"@thi.ng/matrices": "^
|
|
46
|
-
"@thi.ng/pixel": "^7.4.
|
|
47
|
-
"@thi.ng/vectors": "^
|
|
42
|
+
"@thi.ng/api": "^8.11.26",
|
|
43
|
+
"@thi.ng/errors": "^2.5.32",
|
|
44
|
+
"@thi.ng/grid-iterators": "^4.0.115",
|
|
45
|
+
"@thi.ng/matrices": "^3.0.0",
|
|
46
|
+
"@thi.ng/pixel": "^7.4.4",
|
|
47
|
+
"@thi.ng/vectors": "^8.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"esbuild": "^0.25.2",
|
|
51
|
-
"typedoc": "^0.28.
|
|
52
|
-
"typescript": "^5.8.
|
|
51
|
+
"typedoc": "^0.28.2",
|
|
52
|
+
"typescript": "^5.8.3"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
55
55
|
"bitmap",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"status": "alpha",
|
|
103
103
|
"year": 2022
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "c464b6948f92cba90c2ea75b59203dad894fb450\n"
|
|
106
106
|
}
|
package/trace.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import type { TraceBitmapOpts, TraceOpts } from "./api.js";
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const traceBitmap: (opts: TraceBitmapOpts) => {
|
|
23
23
|
lines: VecPair[];
|
|
24
|
-
points: Vec[];
|
|
24
|
+
points: Vec<number>[];
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* Extracts line segments in the orientation/order of given grid iterator and
|
|
@@ -40,5 +40,5 @@ export declare const traceLines: (opts: TraceOpts, order: Fn<GridIterOpts2D, Ite
|
|
|
40
40
|
* @param opts
|
|
41
41
|
* @param acc
|
|
42
42
|
*/
|
|
43
|
-
export declare const tracePoints: ({ img, select, clear }: TraceOpts, acc?: Vec[]) => Vec[];
|
|
43
|
+
export declare const tracePoints: ({ img, select, clear }: TraceOpts, acc?: Vec[]) => Vec<number>[];
|
|
44
44
|
//# sourceMappingURL=trace.d.ts.map
|