@thi.ng/geom-splines 2.1.12 → 2.1.13

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**: 2022-05-07T11:33:35Z
3
+ - **Last updated**: 2022-06-09T16:14:01Z
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.
@@ -17,5 +17,5 @@ import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
17
17
  * @param iter - iterations
18
18
  * @param eps - epsilon value
19
19
  */
20
- export declare const closestPointCubic: (p: ReadonlyVec, a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, d: ReadonlyVec, out?: Vec, res?: number | undefined, iter?: number | undefined, eps?: number | undefined) => Vec;
20
+ export declare const closestPointCubic: (p: ReadonlyVec, a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, d: ReadonlyVec, out?: Vec, res?: number, iter?: number, eps?: number) => Vec;
21
21
  //# sourceMappingURL=cubic-closest-point.d.ts.map
package/cubic-sample.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export declare const sampleCubic: (pts: import("@thi.ng/vectors").ReadonlyVec[], opts?: number | Partial<import("@thi.ng/geom-api/sample").SamplingOpts> | undefined) => import("@thi.ng/vectors").Vec[];
2
- export declare const sampleCubicArray: (segments: import("@thi.ng/vectors").ReadonlyVec[][], closed: boolean | undefined, opts: number | Partial<import("@thi.ng/geom-api/sample").SamplingOpts>) => any[];
1
+ export declare const sampleCubic: (pts: import("@thi.ng/vectors").ReadonlyVec[], opts?: number | Partial<import("@thi.ng/geom-api/sample.js").SamplingOpts> | undefined) => import("@thi.ng/vectors").Vec[];
2
+ export declare const sampleCubicArray: (segments: import("@thi.ng/vectors").ReadonlyVec[][], closed: boolean | undefined, opts: number | Partial<import("@thi.ng/geom-api/sample.js").SamplingOpts>) => any[];
3
3
  //# sourceMappingURL=cubic-sample.d.ts.map
package/cubic-split.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import type { ReadonlyVec } from "@thi.ng/vectors";
2
2
  export declare const cubicSplitAt: (a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, d: ReadonlyVec, t: number) => import("@thi.ng/vectors").Vec[][];
3
- export declare const splitCubicNearPoint: (p: ReadonlyVec, a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, d: ReadonlyVec, res?: number | undefined, iter?: number | undefined) => import("@thi.ng/vectors").Vec[][];
3
+ export declare const splitCubicNearPoint: (p: ReadonlyVec, a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, d: ReadonlyVec, res?: number, iter?: number) => import("@thi.ng/vectors").Vec[][];
4
4
  //# sourceMappingURL=cubic-split.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { Fn2, Fn3 } from "@thi.ng/api";
2
2
  import { SamplingOpts } from "@thi.ng/geom-api/sample";
3
3
  import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
4
- export declare const __sample: (sample: Fn3<Vec[], ReadonlyVec[], number, void>) => (pts: ReadonlyVec[], opts?: number | Partial<SamplingOpts> | undefined) => Vec[];
4
+ export declare const __sample: (sample: Fn3<Vec[], ReadonlyVec[], number, void>) => (pts: ReadonlyVec[], opts?: number | Partial<SamplingOpts>) => Vec[];
5
5
  export declare const __sampleArray: (fn: Fn2<ReadonlyVec[], Partial<SamplingOpts>, Vec[]>) => (segments: ReadonlyVec[][], closed: boolean | undefined, opts: number | Partial<SamplingOpts>) => any[];
6
6
  //# sourceMappingURL=sample.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-splines",
3
- "version": "2.1.12",
3
+ "version": "2.1.13",
4
4
  "description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,21 +34,21 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.6",
38
- "@thi.ng/checks": "^3.1.6",
39
- "@thi.ng/geom-api": "^3.1.12",
40
- "@thi.ng/geom-arc": "^2.1.12",
41
- "@thi.ng/geom-resample": "^2.1.12",
42
- "@thi.ng/math": "^5.3.2",
43
- "@thi.ng/vectors": "^7.5.4"
37
+ "@thi.ng/api": "^8.3.7",
38
+ "@thi.ng/checks": "^3.2.0",
39
+ "@thi.ng/geom-api": "^3.1.13",
40
+ "@thi.ng/geom-arc": "^2.1.13",
41
+ "@thi.ng/geom-resample": "^2.1.13",
42
+ "@thi.ng/math": "^5.3.3",
43
+ "@thi.ng/vectors": "^7.5.5"
44
44
  },
45
45
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.23.1",
47
- "@thi.ng/testament": "^0.2.7",
46
+ "@microsoft/api-extractor": "^7.25.0",
47
+ "@thi.ng/testament": "^0.2.8",
48
48
  "rimraf": "^3.0.2",
49
49
  "tools": "^0.0.1",
50
- "typedoc": "^0.22.15",
51
- "typescript": "^4.6.4"
50
+ "typedoc": "^0.22.17",
51
+ "typescript": "^4.7.3"
52
52
  },
53
53
  "keywords": [
54
54
  "2d",
@@ -144,5 +144,5 @@
144
144
  "geom-subdiv-curve"
145
145
  ]
146
146
  },
147
- "gitHead": "e23901b8582af71d8a29e0ce4929f15ac509f9e5\n"
147
+ "gitHead": "9e516d30a1a537e027a6b3d78bf9121bc5831d31\n"
148
148
  }
@@ -16,5 +16,5 @@ import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
16
16
  * @param iter - iterations
17
17
  * @param eps - epsilon value
18
18
  */
19
- export declare const closestPointQuadratic: (p: ReadonlyVec, a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, out?: Vec, res?: number | undefined, iter?: number | undefined, eps?: number | undefined) => Vec;
19
+ export declare const closestPointQuadratic: (p: ReadonlyVec, a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, out?: Vec, res?: number, iter?: number, eps?: number) => Vec;
20
20
  //# sourceMappingURL=quadratic-closest-point.d.ts.map
@@ -1,3 +1,3 @@
1
- export declare const sampleQuadratic: (pts: import("@thi.ng/vectors").ReadonlyVec[], opts?: number | Partial<import("@thi.ng/geom-api/sample").SamplingOpts> | undefined) => import("@thi.ng/vectors").Vec[];
2
- export declare const sampleQuadraticArray: (segments: import("@thi.ng/vectors").ReadonlyVec[][], closed: boolean | undefined, opts: number | Partial<import("@thi.ng/geom-api/sample").SamplingOpts>) => any[];
1
+ export declare const sampleQuadratic: (pts: import("@thi.ng/vectors").ReadonlyVec[], opts?: number | Partial<import("@thi.ng/geom-api/sample.js").SamplingOpts> | undefined) => import("@thi.ng/vectors").Vec[];
2
+ export declare const sampleQuadraticArray: (segments: import("@thi.ng/vectors").ReadonlyVec[][], closed: boolean | undefined, opts: number | Partial<import("@thi.ng/geom-api/sample.js").SamplingOpts>) => any[];
3
3
  //# sourceMappingURL=quadratic-sample.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import type { ReadonlyVec } from "@thi.ng/vectors";
2
2
  export declare const quadraticSplitAt: (a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, t: number) => import("@thi.ng/vectors").Vec[][];
3
- export declare const quadraticSplitNearPoint: (p: ReadonlyVec, a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, res?: number | undefined, iter?: number | undefined) => import("@thi.ng/vectors").Vec[][];
3
+ export declare const quadraticSplitNearPoint: (p: ReadonlyVec, a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, res?: number, iter?: number) => import("@thi.ng/vectors").Vec[][];
4
4
  //# sourceMappingURL=quadratic-split.d.ts.map