@thi.ng/geom-trace-bitmap 0.3.128 → 0.3.130

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**: 2025-04-01T21:42:04Z
3
+ - **Last updated**: 2025-04-16T11:11:14Z
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/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.128",
3
+ "version": "0.3.130",
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.25",
43
- "@thi.ng/errors": "^2.5.31",
44
- "@thi.ng/grid-iterators": "^4.0.114",
45
- "@thi.ng/matrices": "^2.4.40",
46
- "@thi.ng/pixel": "^7.4.3",
47
- "@thi.ng/vectors": "^7.13.1"
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.1",
46
+ "@thi.ng/pixel": "^7.4.4",
47
+ "@thi.ng/vectors": "^8.0.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "esbuild": "^0.25.2",
51
- "typedoc": "^0.28.1",
52
- "typescript": "^5.8.2"
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": "c88a589f33207b02a43172313b38ea09571265f1\n"
105
+ "gitHead": "69080248c98f9555642384aed76a0431e9f44835\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