@pawells/math-extended 1.0.5 → 2.0.0
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/README.md +5 -5
- package/build/angles.d.ts +43 -3
- package/build/angles.d.ts.map +1 -1
- package/build/angles.js +61 -34
- package/build/angles.js.map +1 -1
- package/build/clamp.d.ts +5 -3
- package/build/clamp.d.ts.map +1 -1
- package/build/clamp.js +5 -3
- package/build/clamp.js.map +1 -1
- package/build/interpolation.d.ts +444 -67
- package/build/interpolation.d.ts.map +1 -1
- package/build/interpolation.js +444 -67
- package/build/interpolation.js.map +1 -1
- package/build/matrices/_exports.d.ts +13 -0
- package/build/matrices/_exports.d.ts.map +1 -0
- package/build/matrices/_exports.js +13 -0
- package/build/matrices/_exports.js.map +1 -0
- package/build/matrices/arithmetic.d.ts +170 -181
- package/build/matrices/arithmetic.d.ts.map +1 -1
- package/build/matrices/arithmetic.js +192 -202
- package/build/matrices/arithmetic.js.map +1 -1
- package/build/matrices/asserts.d.ts +244 -116
- package/build/matrices/asserts.d.ts.map +1 -1
- package/build/matrices/asserts.js +291 -94
- package/build/matrices/asserts.js.map +1 -1
- package/build/matrices/core.d.ts +40 -41
- package/build/matrices/core.d.ts.map +1 -1
- package/build/matrices/core.js +12 -13
- package/build/matrices/core.js.map +1 -1
- package/build/matrices/decompositions.d.ts +121 -124
- package/build/matrices/decompositions.d.ts.map +1 -1
- package/build/matrices/decompositions.js +168 -226
- package/build/matrices/decompositions.js.map +1 -1
- package/build/matrices/index.d.ts +3 -2
- package/build/matrices/index.d.ts.map +1 -1
- package/build/matrices/index.js +5 -2
- package/build/matrices/index.js.map +1 -1
- package/build/matrices/linear-algebra.d.ts +18 -13
- package/build/matrices/linear-algebra.d.ts.map +1 -1
- package/build/matrices/linear-algebra.js +58 -23
- package/build/matrices/linear-algebra.js.map +1 -1
- package/build/matrices/normalization.d.ts +8 -8
- package/build/matrices/transformations.d.ts +184 -168
- package/build/matrices/transformations.d.ts.map +1 -1
- package/build/matrices/transformations.js +99 -83
- package/build/matrices/transformations.js.map +1 -1
- package/build/matrices/types.d.ts +12 -12
- package/build/matrices/types.d.ts.map +1 -1
- package/build/quaternions/_exports.d.ts +11 -0
- package/build/quaternions/_exports.d.ts.map +1 -0
- package/build/quaternions/_exports.js +11 -0
- package/build/quaternions/_exports.js.map +1 -0
- package/build/quaternions/asserts.d.ts +115 -7
- package/build/quaternions/asserts.d.ts.map +1 -1
- package/build/quaternions/asserts.js +162 -8
- package/build/quaternions/asserts.js.map +1 -1
- package/build/quaternions/conversions.d.ts +31 -21
- package/build/quaternions/conversions.d.ts.map +1 -1
- package/build/quaternions/conversions.js +28 -18
- package/build/quaternions/conversions.js.map +1 -1
- package/build/quaternions/core.d.ts +73 -41
- package/build/quaternions/core.d.ts.map +1 -1
- package/build/quaternions/core.js +84 -49
- package/build/quaternions/core.js.map +1 -1
- package/build/quaternions/index.d.ts +3 -2
- package/build/quaternions/index.d.ts.map +1 -1
- package/build/quaternions/index.js +5 -2
- package/build/quaternions/index.js.map +1 -1
- package/build/quaternions/interpolation.d.ts +15 -9
- package/build/quaternions/interpolation.d.ts.map +1 -1
- package/build/quaternions/interpolation.js +15 -9
- package/build/quaternions/interpolation.js.map +1 -1
- package/build/quaternions/predefined.d.ts +9 -3
- package/build/quaternions/predefined.d.ts.map +1 -1
- package/build/quaternions/predefined.js +9 -3
- package/build/quaternions/predefined.js.map +1 -1
- package/build/quaternions/types.d.ts +3 -3
- package/build/random.d.ts +5 -2
- package/build/random.d.ts.map +1 -1
- package/build/random.js +20 -17
- package/build/random.js.map +1 -1
- package/build/vectors/_exports.d.ts +10 -0
- package/build/vectors/_exports.d.ts.map +1 -0
- package/build/vectors/_exports.js +10 -0
- package/build/vectors/_exports.js.map +1 -0
- package/build/vectors/asserts.d.ts +153 -49
- package/build/vectors/asserts.d.ts.map +1 -1
- package/build/vectors/asserts.js +202 -52
- package/build/vectors/asserts.js.map +1 -1
- package/build/vectors/core.d.ts +216 -137
- package/build/vectors/core.d.ts.map +1 -1
- package/build/vectors/core.js +217 -158
- package/build/vectors/core.js.map +1 -1
- package/build/vectors/index.d.ts +1 -0
- package/build/vectors/index.d.ts.map +1 -1
- package/build/vectors/index.js +3 -0
- package/build/vectors/index.js.map +1 -1
- package/build/vectors/interpolation.d.ts +39 -27
- package/build/vectors/interpolation.d.ts.map +1 -1
- package/build/vectors/interpolation.js +39 -27
- package/build/vectors/interpolation.js.map +1 -1
- package/build/vectors/predefined.d.ts +48 -24
- package/build/vectors/predefined.d.ts.map +1 -1
- package/build/vectors/predefined.js +38 -18
- package/build/vectors/predefined.js.map +1 -1
- package/package.json +12 -15
package/build/vectors/asserts.js
CHANGED
|
@@ -9,22 +9,27 @@ import { SetExceptionMessage, ThrowException } from '@pawells/typescript-common'
|
|
|
9
9
|
* Thrown when vector assertions fail or vector operations encounter invalid data.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
* ```typescript
|
|
13
|
+
* try {
|
|
14
|
+
* AssertVector("not a vector");
|
|
15
|
+
* } catch (error) {
|
|
16
|
+
* if (error instanceof VectorError) {
|
|
17
|
+
* console.log("Vector validation failed:", error.message);
|
|
18
|
+
* }
|
|
19
|
+
* }
|
|
20
|
+
* ```
|
|
19
21
|
*/
|
|
20
22
|
export class VectorError extends Error {
|
|
23
|
+
code = 'VECTOR_ERROR';
|
|
21
24
|
/**
|
|
22
25
|
* Creates a new VectorError instance.
|
|
23
26
|
*
|
|
24
|
-
* @param message -
|
|
27
|
+
* @param message - Error message describing the validation failure
|
|
28
|
+
* @param options - Optional error context
|
|
29
|
+
* @param options.cause - Original error that caused this error
|
|
25
30
|
*/
|
|
26
|
-
constructor(message) {
|
|
27
|
-
super(message);
|
|
31
|
+
constructor(message, options) {
|
|
32
|
+
super(message, options);
|
|
28
33
|
this.name = 'VectorError';
|
|
29
34
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
30
35
|
}
|
|
@@ -41,16 +46,16 @@ export class VectorError extends Error {
|
|
|
41
46
|
* @throws {VectorError} If the value is not a valid vector meeting all constraints
|
|
42
47
|
*
|
|
43
48
|
* @example
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
* ```typescript
|
|
50
|
+
* ```typescript
|
|
51
|
+
* // Basic validation — passes silently for a valid vector
|
|
52
|
+
* AssertVector([1, 2, 3]);
|
|
53
|
+
* // Validate with size constraint
|
|
54
|
+
* AssertVector([1, 2], { size: 2 });
|
|
55
|
+
* // Throws VectorError for non-array input
|
|
56
|
+
* AssertVector("not a vector"); // throws VectorError
|
|
57
|
+
* ```
|
|
58
|
+
* ```
|
|
54
59
|
*/
|
|
55
60
|
export function AssertVector(vector, args = {}, exception = {}) {
|
|
56
61
|
// Initialize exception configuration with defaults
|
|
@@ -101,11 +106,13 @@ export function AssertVector(vector, args = {}, exception = {}) {
|
|
|
101
106
|
* @throws {VectorError} If the value is not a 2-component vector
|
|
102
107
|
*
|
|
103
108
|
* @example
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
+
* ```typescript
|
|
110
|
+
* ```typescript
|
|
111
|
+
* AssertVector2([1, 2]); // passes
|
|
112
|
+
* AssertVector2([1, 2, 3]); // throws — too many components
|
|
113
|
+
* AssertVector2("not a vec"); // throws
|
|
114
|
+
* ```
|
|
115
|
+
* ```
|
|
109
116
|
*/
|
|
110
117
|
export function AssertVector2(vector, exception = {}) {
|
|
111
118
|
AssertVector(vector, { size: 2 }, exception);
|
|
@@ -118,11 +125,13 @@ export function AssertVector2(vector, exception = {}) {
|
|
|
118
125
|
* @throws {VectorError} If the value is not a 3-component vector
|
|
119
126
|
*
|
|
120
127
|
* @example
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
128
|
+
* ```typescript
|
|
129
|
+
* ```typescript
|
|
130
|
+
* AssertVector3([1, 2, 3]); // passes
|
|
131
|
+
* AssertVector3([1, 2]); // throws — too few components
|
|
132
|
+
* AssertVector3(null); // throws
|
|
133
|
+
* ```
|
|
134
|
+
* ```
|
|
126
135
|
*/
|
|
127
136
|
export function AssertVector3(vector, exception = {}) {
|
|
128
137
|
AssertVector(vector, { size: 3 }, exception);
|
|
@@ -135,11 +144,13 @@ export function AssertVector3(vector, exception = {}) {
|
|
|
135
144
|
* @throws {VectorError} If the value is not a 4-component vector
|
|
136
145
|
*
|
|
137
146
|
* @example
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
147
|
+
* ```typescript
|
|
148
|
+
* ```typescript
|
|
149
|
+
* AssertVector4([1, 2, 3, 4]); // passes
|
|
150
|
+
* AssertVector4([1, 2, 3]); // throws — too few components
|
|
151
|
+
* AssertVector4(undefined); // throws
|
|
152
|
+
* ```
|
|
153
|
+
* ```
|
|
143
154
|
*/
|
|
144
155
|
export function AssertVector4(vector, exception = {}) {
|
|
145
156
|
AssertVector(vector, { size: 4 }, exception);
|
|
@@ -156,13 +167,15 @@ export function AssertVector4(vector, exception = {}) {
|
|
|
156
167
|
* @throws {VectorError} If the value is not a valid number or violates any constraint
|
|
157
168
|
*
|
|
158
169
|
* @example
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
170
|
+
* ```typescript
|
|
171
|
+
* ```typescript
|
|
172
|
+
* AssertVectorValue(3.14); // passes
|
|
173
|
+
* AssertVectorValue(3.14, { finite: true }); // passes
|
|
174
|
+
* AssertVectorValue(Infinity, { finite: true }); // throws
|
|
175
|
+
* AssertVectorValue(NaN); // throws
|
|
176
|
+
* AssertVectorValue(5, { gte: 0, lte: 10 }); // passes
|
|
177
|
+
* ```
|
|
178
|
+
* ```
|
|
166
179
|
*/
|
|
167
180
|
export function AssertVectorValue(value, args = {}, exception = {}) {
|
|
168
181
|
// Initialize exception configuration with defaults
|
|
@@ -230,16 +243,14 @@ export function AssertVectorValue(value, args = {}, exception = {}) {
|
|
|
230
243
|
* differ when `sameSize` is `true`
|
|
231
244
|
*
|
|
232
245
|
* @example
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
* AssertVectors([[1, 2], [1, 2, 3]], { sameSize: true }); // throws
|
|
242
|
-
* ```
|
|
246
|
+
* ```typescript
|
|
247
|
+
* // Validate an array of 3D vectors
|
|
248
|
+
* AssertVectors([[1, 2, 3], [4, 5, 6]]);
|
|
249
|
+
* // Require all vectors to share the same length
|
|
250
|
+
* AssertVectors([[1, 2], [3, 4]], { sameSize: true });
|
|
251
|
+
* // Throws because vectors have different sizes
|
|
252
|
+
* AssertVectors([[1, 2], [1, 2, 3]], { sameSize: true }); // throws
|
|
253
|
+
* ```
|
|
243
254
|
*/
|
|
244
255
|
export function AssertVectors(vectors, args, exception) {
|
|
245
256
|
const exc = exception ?? {};
|
|
@@ -282,4 +293,143 @@ export function AssertVectors(vectors, args, exception) {
|
|
|
282
293
|
}
|
|
283
294
|
}
|
|
284
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* Validates that an unknown value is a valid vector without throwing an error.
|
|
298
|
+
*
|
|
299
|
+
* This function performs the same validation as AssertVector but returns
|
|
300
|
+
* a boolean instead of throwing an exception, making it suitable for
|
|
301
|
+
* conditional logic where exceptions are not desired.
|
|
302
|
+
*
|
|
303
|
+
* @param vector - The value to validate as a vector
|
|
304
|
+
* @param args - Validation configuration options
|
|
305
|
+
* @returns true if the vector is valid, false otherwise
|
|
306
|
+
*
|
|
307
|
+
* @example
|
|
308
|
+
* ```typescript
|
|
309
|
+
* if (ValidateVector([1, 2, 3])) {
|
|
310
|
+
* // Process the valid vector
|
|
311
|
+
* }
|
|
312
|
+
* ```
|
|
313
|
+
*/
|
|
314
|
+
export function ValidateVector(vector, args = {}) {
|
|
315
|
+
try {
|
|
316
|
+
AssertVector(vector, args);
|
|
317
|
+
return true;
|
|
318
|
+
}
|
|
319
|
+
catch {
|
|
320
|
+
return false;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Validates that an unknown value is a valid 2D vector without throwing an error.
|
|
325
|
+
*
|
|
326
|
+
* @param vector - The value to validate as a 2D vector
|
|
327
|
+
* @returns true if the vector is valid, false otherwise
|
|
328
|
+
*
|
|
329
|
+
* @example
|
|
330
|
+
* ```typescript
|
|
331
|
+
* if (ValidateVector2([1, 2])) {
|
|
332
|
+
* // Process the valid 2D vector
|
|
333
|
+
* }
|
|
334
|
+
* ```
|
|
335
|
+
*/
|
|
336
|
+
export function ValidateVector2(vector) {
|
|
337
|
+
try {
|
|
338
|
+
AssertVector2(vector);
|
|
339
|
+
return true;
|
|
340
|
+
}
|
|
341
|
+
catch {
|
|
342
|
+
return false;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Validates that an unknown value is a valid 3D vector without throwing an error.
|
|
347
|
+
*
|
|
348
|
+
* @param vector - The value to validate as a 3D vector
|
|
349
|
+
* @returns true if the vector is valid, false otherwise
|
|
350
|
+
*
|
|
351
|
+
* @example
|
|
352
|
+
* ```typescript
|
|
353
|
+
* if (ValidateVector3([1, 2, 3])) {
|
|
354
|
+
* // Process the valid 3D vector
|
|
355
|
+
* }
|
|
356
|
+
* ```
|
|
357
|
+
*/
|
|
358
|
+
export function ValidateVector3(vector) {
|
|
359
|
+
try {
|
|
360
|
+
AssertVector3(vector);
|
|
361
|
+
return true;
|
|
362
|
+
}
|
|
363
|
+
catch {
|
|
364
|
+
return false;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Validates that an unknown value is a valid 4D vector without throwing an error.
|
|
369
|
+
*
|
|
370
|
+
* @param vector - The value to validate as a 4D vector
|
|
371
|
+
* @returns true if the vector is valid, false otherwise
|
|
372
|
+
*
|
|
373
|
+
* @example
|
|
374
|
+
* ```typescript
|
|
375
|
+
* if (ValidateVector4([1, 2, 3, 4])) {
|
|
376
|
+
* // Process the valid 4D vector
|
|
377
|
+
* }
|
|
378
|
+
* ```
|
|
379
|
+
*/
|
|
380
|
+
export function ValidateVector4(vector) {
|
|
381
|
+
try {
|
|
382
|
+
AssertVector4(vector);
|
|
383
|
+
return true;
|
|
384
|
+
}
|
|
385
|
+
catch {
|
|
386
|
+
return false;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Validates that an unknown value is a valid vector element without throwing an error.
|
|
391
|
+
*
|
|
392
|
+
* @param value - The value to validate as a vector element
|
|
393
|
+
* @param args - Validation configuration options
|
|
394
|
+
* @returns true if the value is valid, false otherwise
|
|
395
|
+
*
|
|
396
|
+
* @example
|
|
397
|
+
* ```typescript
|
|
398
|
+
* if (ValidateVectorValue(1.5)) {
|
|
399
|
+
* // Process the valid element
|
|
400
|
+
* }
|
|
401
|
+
* ```
|
|
402
|
+
*/
|
|
403
|
+
export function ValidateVectorValue(value, args = {}) {
|
|
404
|
+
try {
|
|
405
|
+
AssertVectorValue(value, args);
|
|
406
|
+
return true;
|
|
407
|
+
}
|
|
408
|
+
catch {
|
|
409
|
+
return false;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Validates that an unknown value is an array of valid vectors without throwing an error.
|
|
414
|
+
*
|
|
415
|
+
* @param vectors - The value to validate as an array of vectors
|
|
416
|
+
* @param args - Validation configuration options
|
|
417
|
+
* @returns true if all vectors are valid, false otherwise
|
|
418
|
+
*
|
|
419
|
+
* @example
|
|
420
|
+
* ```typescript
|
|
421
|
+
* if (ValidateVectors([v1, v2, v3])) {
|
|
422
|
+
* // Process the valid vector array
|
|
423
|
+
* }
|
|
424
|
+
* ```
|
|
425
|
+
*/
|
|
426
|
+
export function ValidateVectors(vectors, args) {
|
|
427
|
+
try {
|
|
428
|
+
AssertVectors(vectors, args);
|
|
429
|
+
return true;
|
|
430
|
+
}
|
|
431
|
+
catch {
|
|
432
|
+
return false;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
285
435
|
//# sourceMappingURL=asserts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asserts.js","sourceRoot":"","sources":["../../src/vectors/asserts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAyD,mBAAmB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AA2CxI
|
|
1
|
+
{"version":3,"file":"asserts.js","sourceRoot":"","sources":["../../src/vectors/asserts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAyD,mBAAmB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AA2CxI;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,WAAY,SAAQ,KAAK;IACrB,IAAI,GAAW,cAAc,CAAC;IAE9C;;;;;;OAMG;IACH,YAAY,OAAe,EAAE,OAA6B;QACzD,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;QAC1B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACnD,CAAC;CACD;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,UAAU,YAAY,CAAC,MAAe,EAAE,OAA0B,EAAE,EAAE,YAAoC,EAAE;IACjH,mDAAmD;IACnD,MAAM,GAAG,GAA2B,SAAS,IAAI,EAAE,CAAC;IACpD,GAAG,CAAC,KAAK,KAAK,WAAW,CAAC;IAE1B,oCAAoC;IACpC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAA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