dwv 0.35.0-beta.16 → 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
@@ -698,6 +698,8 @@ export declare class App {
698
698
  addDataViewConfig(dataId: string, config: ViewConfig): void;
699
699
  /**
700
700
  * Remove a data view config.
701
+ * Removes the associated layer if found, removes
702
+ * the layer group if empty.
701
703
  *
702
704
  * @param {string} dataId The data id.
703
705
  * @param {string} divId The div id.
@@ -2143,11 +2145,11 @@ export declare class Geometry {
2143
2145
  * Check if a point is in the origin list.
2144
2146
  *
2145
2147
  * @param {Point3D} point3D The point to check.
2146
- * @param {number} tol The comparison tolerance
2147
- * default to Number.EPSILON.
2148
+ * @param {number} [tol] Optional number comparison tolerance
2149
+ * defaults to Number.EPSILON.
2148
2150
  * @returns {boolean} True if in list.
2149
2151
  */
2150
- includesOrigin(point3D: Point3D, tol: number): boolean;
2152
+ includesOrigin(point3D: Point3D, tol?: number): boolean;
2151
2153
  /**
2152
2154
  * Get the object size.
2153
2155
  * Warning: the size comes as stored in DICOM, meaning that it could
@@ -3637,11 +3639,18 @@ export declare class Matrix33 {
3637
3639
  * Check for Matrix33 equality.
3638
3640
  *
3639
3641
  * @param {Matrix33} rhs The other matrix to compare to.
3640
- * @param {number} [p] A numeric expression for the precision to use in check
3641
- * (ex: 0.001). Defaults to Number.EPSILON if not provided.
3642
3642
  * @returns {boolean} True if both matrices are equal.
3643
3643
  */
3644
- 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;
3645
3654
  /**
3646
3655
  * Get a string representation of the Matrix33.
3647
3656
  *
@@ -4131,11 +4140,11 @@ export declare class Point3D {
4131
4140
  * Check for Point3D similarity.
4132
4141
  *
4133
4142
  * @param {Point3D} rhs The other point to compare to.
4134
- * @param {number} tol Optional comparison tolerance,
4135
- * default to Number.EPSILON.
4136
- * @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.
4137
4146
  */
4138
- isSimilar(rhs: Point3D, tol: number): boolean;
4147
+ isSimilar(rhs: Point3D, tol?: number): boolean;
4139
4148
  /**
4140
4149
  * Get a string representation of the Point3D.
4141
4150
  *