dwv 0.33.0-beta.37 → 0.33.0-beta.39

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
@@ -1021,6 +1021,12 @@ export declare class DicomWriter {
1021
1021
  * @param {boolean} flag True to use UN VR.
1022
1022
  */
1023
1023
  setUseUnVrForPrivateSq(flag: boolean): void;
1024
+ /**
1025
+ * Set the vr=UN check and fix flag.
1026
+ *
1027
+ * @param {boolean} flag True to activate the check and fix.
1028
+ */
1029
+ setFixUnknownVR(flag: boolean): void;
1024
1030
  /**
1025
1031
  * Set the writing rules.
1026
1032
  * List of writer rules indexed by either `default`,
@@ -3227,6 +3233,13 @@ export declare class Point3D {
3227
3233
  * @returns {number} Ths distance to the input point.
3228
3234
  */
3229
3235
  getDistance(point3D: Point3D): number;
3236
+ /**
3237
+ * Get the closest point to this in a Point3D list.
3238
+ *
3239
+ * @param {Point3D[]} pointList The list to check.
3240
+ * @returns {number} The index of the closest point in the input list.
3241
+ */
3242
+ getClosest(pointList: Point3D[]): number;
3230
3243
  /**
3231
3244
  * Get the difference to another Point3D.
3232
3245
  *
@@ -3809,6 +3822,13 @@ export declare class Vector3D {
3809
3822
  * @returns {number} The dot product.
3810
3823
  */
3811
3824
  dotProduct(vector3D: Vector3D): number;
3825
+ /**
3826
+ * Is this vector codirectional to an input one.
3827
+ *
3828
+ * @param {Vector3D} vector3D The vector to test.
3829
+ * @returns {boolean} True if codirectional, false is opposite.
3830
+ */
3831
+ isCodirectional(vector3D: Vector3D): boolean;
3812
3832
  #private;
3813
3833
  }
3814
3834