@fbltd/math 1.0.23 → 1.0.24

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.
@@ -67,19 +67,9 @@ export class Matrix2d {
67
67
  return Matrix2d.multiply(m, Matrix2d.skewIdentity(x, y, units));
68
68
  }
69
69
  static isApproximatelyEqual(m1, m2) {
70
- return (approximately(m1[0], m2[0]) &&
71
- approximately(m1[1], m2[1]) &&
72
- approximately(m1[2], m2[2]) &&
73
- approximately(m1[3], m2[3]) &&
74
- approximately(m1[4], m2[4]) &&
75
- approximately(m1[5], m2[5]));
70
+ return m1.every((element, index) => approximately(element, m2[index]));
76
71
  }
77
72
  static isEqual(m1, m2) {
78
- return (m1[0], m2[0] &&
79
- m1[1], m2[1] &&
80
- m1[2], m2[2] &&
81
- m1[3], m2[3] &&
82
- m1[4], m2[4] &&
83
- m1[5], m2[5]);
73
+ return m1.every((element, index) => element === m2[index]);
84
74
  }
85
75
  }
@@ -1,4 +1,5 @@
1
- import { approximately } from "../../index.js";
1
+ import { Angle, AngleUnits, approximately } from "../../index.js";
2
+ import { validateType } from "../type.utils.js";
2
3
  export const identityMatrix3d = [1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0];
3
4
  Object.freeze(identityMatrix3d);
4
5
  export class Matrix3d {
@@ -28,32 +29,71 @@ export class Matrix3d {
28
29
  point[0] * matrix[2] + point[1] * matrix[5] + point[2] * matrix[8] + matrix[11],
29
30
  ];
30
31
  }
32
+ static translateIdentity(x, y = 0, z = 0) {
33
+ return [
34
+ 1, 0, 0, 0, 1, 0, 0, 0, 1, x, y, z
35
+ ];
36
+ }
37
+ static scaleIdentity(x, y = 1, z = 1) {
38
+ return [
39
+ x, 0, 0, 0, y, 0, 0, 0, z, 0, 0, 0
40
+ ];
41
+ }
42
+ static rotateIdentityX(value, unit = AngleUnits.Deg) {
43
+ value = Angle.toRad(value, unit);
44
+ const cos = Math.cos(value);
45
+ const sin = Math.sin(value);
46
+ return [1, 0, 0, 0, cos, sin, 0, -sin, cos, 0, 0, 0];
47
+ }
48
+ static rotateIdentityY(value, unit = AngleUnits.Deg) {
49
+ value = Angle.toRad(value, unit);
50
+ const cos = Math.cos(value);
51
+ const sin = Math.sin(value);
52
+ return [cos, 0, -sin, 0, 1, 0, sin, 0, cos, 0, 0, 0];
53
+ }
54
+ static rotateIdentityZ(value, unit = AngleUnits.Deg) {
55
+ value = Angle.toRad(value, unit);
56
+ const cos = Math.cos(value);
57
+ const sin = Math.sin(value);
58
+ return [cos, sin, 0, -sin, cos, 0, 0, 0, 1, 0, 0, 0];
59
+ }
60
+ static translate(m, x, y = 0, z = 0) {
61
+ return Matrix3d.multiply(m, Matrix3d.translateIdentity(x, y, z));
62
+ }
63
+ static translateX(m, x) {
64
+ return Matrix3d.translate(m, x);
65
+ }
66
+ static translateY(m, y) {
67
+ return Matrix3d.translate(m, 0, y);
68
+ }
69
+ static translateZ(m, z) {
70
+ return Matrix3d.translate(m, 0, 0, z);
71
+ }
72
+ static scale(m, x, y, z) {
73
+ return Matrix3d.multiply(m, Matrix3d.scaleIdentity(x, y, z));
74
+ }
75
+ static scaleX(m, x) {
76
+ return Matrix3d.scale(m, x);
77
+ }
78
+ static scaleY(m, y) {
79
+ return Matrix3d.scale(m, 1, y);
80
+ }
81
+ static scaleZ(m, z) {
82
+ return Matrix3d.scale(m, 1, 1, z);
83
+ }
84
+ static rotateX(m, angle, units = AngleUnits.Deg) {
85
+ return Matrix3d.multiply(m, Matrix3d.rotateIdentityX(angle, units));
86
+ }
87
+ static rotateY(m, angle, units = AngleUnits.Deg) {
88
+ return Matrix3d.multiply(m, Matrix3d.rotateIdentityY(angle, units));
89
+ }
90
+ static rotateZ(m, angle, units = AngleUnits.Deg) {
91
+ return Matrix3d.multiply(m, Matrix3d.rotateIdentityZ(angle, units));
92
+ }
31
93
  static isApproximatelyEqual(m1, m2) {
32
- return (approximately(m1[0], m2[0]) &&
33
- approximately(m1[1], m2[1]) &&
34
- approximately(m1[2], m2[2]) &&
35
- approximately(m1[3], m2[3]) &&
36
- approximately(m1[4], m2[4]) &&
37
- approximately(m1[5], m2[5]) &&
38
- approximately(m1[6], m2[6]) &&
39
- approximately(m1[7], m2[7]) &&
40
- approximately(m1[8], m2[8]) &&
41
- approximately(m1[9], m2[9]) &&
42
- approximately(m1[10], m2[10]) &&
43
- approximately(m1[11], m2[11]));
94
+ return m1.every((element, index) => approximately(element, m2[index]));
44
95
  }
45
96
  static isEqual(m1, m2) {
46
- return (m1[0], m2[0] &&
47
- m1[1], m2[1] &&
48
- m1[2], m2[2] &&
49
- m1[3], m2[3] &&
50
- m1[4], m2[4] &&
51
- m1[5], m2[5] &&
52
- m1[6], m2[6] &&
53
- m1[7], m2[7] &&
54
- m1[8], m2[8] &&
55
- m1[9], m2[9] &&
56
- m1[10], m2[10] &&
57
- m1[11], m2[11]);
97
+ return m1.every((element, index) => element === m2[index]);
58
98
  }
59
99
  }
@@ -1 +1,3 @@
1
- export {};
1
+ export function validateType(value) {
2
+ throw new Error('Wrong type passed into');
3
+ }
@@ -19,6 +19,6 @@ export declare class Matrix2d {
19
19
  static skewY(m: IMatrix2d, y: number, units?: AngleUnits): IMatrix2d;
20
20
  static skew(m: IMatrix2d, x: number, y?: number, units?: AngleUnits): IMatrix2d;
21
21
  static isApproximatelyEqual(m1: IMatrix2d, m2: IMatrix2d): boolean;
22
- static isEqual(m1: IMatrix2d, m2: IMatrix2d): number;
22
+ static isEqual(m1: IMatrix2d, m2: IMatrix2d): boolean;
23
23
  }
24
24
  //# sourceMappingURL=matrix2d.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"matrix2d.d.ts","sourceRoot":"","sources":["../../../../src/matrices/matrix2d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAiB,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,MAAM,SAA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leUnits, type IPoint3 } from "../../index.js";
2
+ import { type IFixedLengthArray, type INonEmptyArray } from "../type.utils.js";
3
3
  export type IMatrix3d = IFixedLengthArray<12, number>;
4
4
  export declare const identityMatrix3d: IMatrix3d;
5
5
  export declare class Matrix3d {
6
6
  static multiply(matrix: IMatrix3d, ...rest: INonEmptyArray<IMatrix3d>): [number, number, number, number, number, number, number, number, number, number, number, number];
7
7
  static apply(matrix: IMatrix3d, point: IPoint3): IPoint3;
8
+ static translateIdentity(x: number, y?: number, z?: number): IMatrix3d;
9
+ static scaleIdentity(x: number, y?: number, z?: number): IMatrix3d;
10
+ static rotateIdentityX(value: number, unit?: AngleUnits): IMatrix3d;
11
+ static rotateIdentityY(value: number, unit?: AngleUnits): IMatrix3d;
12
+ static rotateIdentityZ(value: number, unit?: AngleUnits): IMatrix3d;
13
+ static translate(m: IMatrix3d, x: number, y?: number, z?: number): IMatrix3d;
14
+ static translateX(m: IMatrix3d, x: number): IMatrix3d;
15
+ static translateY(m: IMatrix3d, y: number): IMatrix3d;
16
+ static translateZ(m: IMatrix3d, z: number): IMatrix3d;
17
+ static scale(m: IMatrix3d, x: number, y?: number, z?: number): IMatrix3d;
18
+ static scaleX(m: IMatrix3d, x: number): IMatrix3d;
19
+ static scaleY(m: IMatrix3d, y: number): IMatrix3d;
20
+ static scaleZ(m: IMatrix3d, z: number): IMatrix3d;
21
+ static rotateX(m: IMatrix3d, angle: number, units?: AngleUnits): [number, number, number, number, number, number, number, number, number, number, number, number];
22
+ static rotateY(m: IMatrix3d, angle: number, units?: AngleUnits): [number, number, number, number, number, number, number, number, number, number, number, number];
23
+ static rotateZ(m: IMatrix3d, angle: number, units?: AngleUnits): [number, number, number, number, number, number, number, number, number, number, number, number];
8
24
  static isApproximatelyEqual(m1: IMatrix3d, m2: IMatrix3d): boolean;
9
- static isEqual(m1: IMatrix3d, m2: IMatrix3d): number;
25
+ static isEqual(m1: IMatrix3d, m2: IMatrix3d): boolean;
10
26
  }
11
27
  //# sourceMappingURL=matrix3d.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"matrix3d.d.ts","sourceRoot":"","sources":["../../../../src/matrices/matrix3d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE1E,MAAM,MAAM,SAAS,GAAG,iBAAiB,CAAC,EAAE,EAAE,MAAM,CAAC,CAAA;AAErD,eAAO,MAAM,gBAAgB,EAAE,SAAgD,CAAC;AAGhF,qBAAa,QAAQ;IACjB,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC;IAyBrE,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO;IAQxD,MAAM,CAAC,oBAAoB,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;IAiBxD,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;CAgB9C"}
1
+ {"version":3,"file":"matrix3d.d.ts","sourceRoot":"","sources":["../../../../src/matrices/matrix3d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAiB,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAgB,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE7F,MAAM,MAAM,SAAS,GAAG,iBAAiB,CAAC,EAAE,EAAE,MAAM,CAAC,CAAA;AAErD,eAAO,MAAM,gBAAgB,EAAE,SAAgD,CAAC;AAGhF,qBAAa,QAAQ;IACjB,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC;IAyBrE,MAAM,CAAC,KAA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,MAAM,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS;IAIjD,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,UAA2B;IAO9E,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,UAA2B;IAO9E,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,UAA2B;IAQ9E,MAAM,CAAC,oBAAoB,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;IAIxD,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;CAG9C"}
@@ -1,5 +1,6 @@
1
1
  export type INonEmptyArray<T = any> = [T, ...T[]];
2
2
  type IFixedLengthArrayUtil<TLength extends number, TItem extends any, TArray extends Array<TItem>> = TArray['length'] extends TLength ? TArray : IFixedLengthArrayUtil<TLength, TItem, [TItem, ...TArray]>;
3
3
  export type IFixedLengthArray<TLength extends number, TItem> = number extends TLength ? never : TLength extends number ? IFixedLengthArrayUtil<TLength, TItem, [TItem]> : never;
4
+ export declare function validateType(value: never): never;
4
5
  export {};
5
6
  //# sourceMappingURL=type.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.utils.d.ts","sourceRoot":"","sources":["../../../src/type.utils.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAA;AAGjD,KAAK,qBAAqB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,SAAS,GAAG,EAAE,MAAM,SAAS,KAAK,CAAC,KAAK,CAAC,IAC7F,MAAM,CAAC,QAAQ,CAAC,SAAS,OAAO,GAAG,MAAM,GAAG,qBAAqB,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,MAAM,CAAC,CAAC,CAAA;AAKzG,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,IACvD,MAAM,SAAS,OAAO,GAAG,KAAK,GAC9B,OAAO,SAAS,MAAM,GAAG,qBAAqB,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,GACvE,KAAK,CAAA"}
1
+ {"version":3,"file":"type.utils.d.ts","sourceRoot":"","sources":["../../../src/type.utils.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAA;AAGjD,KAAK,qBAAqB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,SAAS,GAAG,EAAE,MAAM,SAAS,KAAK,CAAC,KAAK,CAAC,IAC7F,MAAM,CAAC,QAAQ,CAAC,SAAS,OAAO,GAAG,MAAM,GAAG,qBAAqB,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,MAAM,CAAC,CAAC,CAAA;AAKzG,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,IACvD,MAAM,SAAS,OAAO,GAAG,KAAK,GAC9B,OAAO,SAAS,MAAM,GAAG,qBAAqB,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,GACvE,KAAK,CAAA;AAET,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAEhD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fbltd/math",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Math and geometry utilities",
5
5
  "sideEffects": false,
6
6
  "main": "dist/bin/index.js",