@ifc-lite/wasm 4.5.0 → 4.5.1

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "IFC-Lite Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings for IFC-Lite",
8
- "version": "4.5.0",
8
+ "version": "4.5.1",
9
9
  "license": "MPL-2.0",
10
10
  "repository": {
11
11
  "type": "git",
package/pkg/ifc-lite.d.ts CHANGED
@@ -603,11 +603,13 @@ export class IfcAPI {
603
603
  * Enable or disable per-entity geometry fingerprinting in
604
604
  * `processGeometryBatch`, used by the viewer's revision-diff feature.
605
605
  *
606
- * Pass a positive `tolerance` (metres) to enable — it is the quantization
607
- * grid the hash snaps positions to (larger = more tolerant of float noise,
608
- * smaller = catches finer edits; the `f32` precision floor of model-local
609
- * coordinates means values below ~1 mm mostly hash noise). Pass `null`/
610
- * `undefined` (or a non-positive value) to disable. Default: disabled.
606
+ * Pass a positive `tolerance` (metres) to enable — the quantization grid
607
+ * positions snap to (larger tolerates more float noise, smaller catches
608
+ * finer edits; below the `f32` precision floor of model-local coordinates,
609
+ * ~1 mm, mostly hashes noise). Finer than
610
+ * `ifc_lite_geometry::MIN_GEOM_HASH_TOLERANCE` (1e-6 m) is clamped up to it
611
+ * — see that constant's doc for why (an `i128` overflow surface, not a
612
+ * precision win). `null`/`undefined`/non-positive disables. Default: off.
611
613
  */
612
614
  setComputeGeometryHashes(tolerance?: number | null): void;
613
615
  /**
package/pkg/ifc-lite.js CHANGED
@@ -1708,11 +1708,13 @@ export class IfcAPI {
1708
1708
  * Enable or disable per-entity geometry fingerprinting in
1709
1709
  * `processGeometryBatch`, used by the viewer's revision-diff feature.
1710
1710
  *
1711
- * Pass a positive `tolerance` (metres) to enable — it is the quantization
1712
- * grid the hash snaps positions to (larger = more tolerant of float noise,
1713
- * smaller = catches finer edits; the `f32` precision floor of model-local
1714
- * coordinates means values below ~1 mm mostly hash noise). Pass `null`/
1715
- * `undefined` (or a non-positive value) to disable. Default: disabled.
1711
+ * Pass a positive `tolerance` (metres) to enable — the quantization grid
1712
+ * positions snap to (larger tolerates more float noise, smaller catches
1713
+ * finer edits; below the `f32` precision floor of model-local coordinates,
1714
+ * ~1 mm, mostly hashes noise). Finer than
1715
+ * `ifc_lite_geometry::MIN_GEOM_HASH_TOLERANCE` (1e-6 m) is clamped up to it
1716
+ * — see that constant's doc for why (an `i128` overflow surface, not a
1717
+ * precision win). `null`/`undefined`/non-positive disables. Default: off.
1716
1718
  * @param {number | null} [tolerance]
1717
1719
  */
1718
1720
  setComputeGeometryHashes(tolerance) {
@@ -4614,6 +4616,10 @@ function __wbg_get_imports() {
4614
4616
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4615
4617
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4616
4618
  },
4619
+ __wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
4620
+ const ret = getObject(arg0) === undefined;
4621
+ return ret;
4622
+ },
4617
4623
  __wbg___wbindgen_memory_de265df8aadd6273: function() {
4618
4624
  const ret = wasm.memory;
4619
4625
  return addHeapObject(ret);
@@ -4728,6 +4734,22 @@ function __wbg_get_imports() {
4728
4734
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4729
4735
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4730
4736
  },
4737
+ __wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
4738
+ const ret = typeof global === 'undefined' ? null : global;
4739
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
4740
+ },
4741
+ __wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
4742
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
4743
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
4744
+ },
4745
+ __wbg_static_accessor_SELF_146583524fe1469b: function() {
4746
+ const ret = typeof self === 'undefined' ? null : self;
4747
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
4748
+ },
4749
+ __wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
4750
+ const ret = typeof window === 'undefined' ? null : window;
4751
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
4752
+ },
4731
4753
  __wbg_warn_b1370d804fa3e259: function(arg0) {
4732
4754
  console.warn(getObject(arg0));
4733
4755
  },
Binary file