@thi.ng/geom-clip-line 2.3.129 → 2.3.131

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/clip-poly.d.ts CHANGED
@@ -13,7 +13,7 @@ import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
13
13
  * @param b
14
14
  * @param poly
15
15
  */
16
- export declare const clipLinePoly: (a: ReadonlyVec, b: ReadonlyVec, poly: ReadonlyVec[]) => Vec[][] | undefined;
16
+ export declare const clipLinePoly: (a: ReadonlyVec, b: ReadonlyVec, poly: ReadonlyVec[]) => Vec<number>[][] | undefined;
17
17
  /**
18
18
  * Similar to {@link clipLinePoly}, but only considers intersections within the
19
19
  * given line segment.
@@ -22,7 +22,7 @@ export declare const clipLinePoly: (a: ReadonlyVec, b: ReadonlyVec, poly: Readon
22
22
  * @param b
23
23
  * @param poly
24
24
  */
25
- export declare const clipLineSegmentPoly: (a: ReadonlyVec, b: ReadonlyVec, poly: ReadonlyVec[]) => Vec[][] | undefined;
25
+ export declare const clipLineSegmentPoly: (a: ReadonlyVec, b: ReadonlyVec, poly: ReadonlyVec[]) => Vec<number>[][] | undefined;
26
26
  /**
27
27
  * Similar to {@link clipLineSegmentPoly}, but for polylines. Returns array of
28
28
  * new vertex chunks where the given polyline is inside the given bounding poly.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-clip-line",
3
- "version": "2.3.129",
3
+ "version": "2.3.131",
4
4
  "description": "2D line clipping (Liang-Barsky)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,14 +39,14 @@
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/geom-isec": "^4.0.39",
44
- "@thi.ng/vectors": "^7.13.0"
42
+ "@thi.ng/api": "^8.11.26",
43
+ "@thi.ng/geom-isec": "^4.0.41",
44
+ "@thi.ng/vectors": "^8.0.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "esbuild": "^0.25.2",
48
- "typedoc": "^0.28.1",
49
- "typescript": "^5.8.2"
48
+ "typedoc": "^0.28.2",
49
+ "typescript": "^5.8.3"
50
50
  },
51
51
  "keywords": [
52
52
  "2d",
@@ -90,5 +90,5 @@
90
90
  "tag": "clipping",
91
91
  "year": 2013
92
92
  },
93
- "gitHead": "87aa2d0e64a357476c10fd57aabdfded13c79f7d\n"
93
+ "gitHead": "c464b6948f92cba90c2ea75b59203dad894fb450\n"
94
94
  }