dwv 0.35.0-beta.17 → 0.35.0-beta.18

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/dist/dwv.d.ts CHANGED
@@ -2145,11 +2145,11 @@ export declare class Geometry {
2145
2145
  * Check if a point is in the origin list.
2146
2146
  *
2147
2147
  * @param {Point3D} point3D The point to check.
2148
- * @param {number} tol The comparison tolerance
2149
- * default to Number.EPSILON.
2148
+ * @param {number} [tol] Optional number comparison tolerance
2149
+ * defaults to Number.EPSILON.
2150
2150
  * @returns {boolean} True if in list.
2151
2151
  */
2152
- includesOrigin(point3D: Point3D, tol: number): boolean;
2152
+ includesOrigin(point3D: Point3D, tol?: number): boolean;
2153
2153
  /**
2154
2154
  * Get the object size.
2155
2155
  * Warning: the size comes as stored in DICOM, meaning that it could
@@ -3639,11 +3639,18 @@ export declare class Matrix33 {
3639
3639
  * Check for Matrix33 equality.
3640
3640
  *
3641
3641
  * @param {Matrix33} rhs The other matrix to compare to.
3642
- * @param {number} [p] A numeric expression for the precision to use in check
3643
- * (ex: 0.001). Defaults to Number.EPSILON if not provided.
3644
3642
  * @returns {boolean} True if both matrices are equal.
3645
3643
  */
3646
- equals(rhs: Matrix33, p?: number): boolean;
3644
+ equals(rhs: Matrix33): boolean;
3645
+ /**
3646
+ * Check for Matrix33 similarity.
3647
+ *
3648
+ * @param {Matrix33} rhs The other matrix to compare to.
3649
+ * @param {number} [tol] Optional number comparison tolerance,
3650
+ * defaults to Number.EPSILON.
3651
+ * @returns {boolean} True if both matrices are similar.
3652
+ */
3653
+ isSimilar(rhs: Matrix33, tol?: number): boolean;
3647
3654
  /**
3648
3655
  * Get a string representation of the Matrix33.
3649
3656
  *
@@ -4133,11 +4140,11 @@ export declare class Point3D {
4133
4140
  * Check for Point3D similarity.
4134
4141
  *
4135
4142
  * @param {Point3D} rhs The other point to compare to.
4136
- * @param {number} tol Optional comparison tolerance,
4137
- * default to Number.EPSILON.
4138
- * @returns {boolean} True if both points are equal.
4143
+ * @param {number} [tol] Optional number comparison tolerance,
4144
+ * defaults to Number.EPSILON.
4145
+ * @returns {boolean} True if both points are similar.
4139
4146
  */
4140
- isSimilar(rhs: Point3D, tol: number): boolean;
4147
+ isSimilar(rhs: Point3D, tol?: number): boolean;
4141
4148
  /**
4142
4149
  * Get a string representation of the Point3D.
4143
4150
  *