@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 +1 -1
- package/pkg/ifc-lite.d.ts +7 -5
- package/pkg/ifc-lite.js +27 -5
- package/pkg/ifc-lite_bg.wasm +0 -0
package/package.json
CHANGED
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 —
|
|
607
|
-
*
|
|
608
|
-
*
|
|
609
|
-
*
|
|
610
|
-
* `
|
|
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 —
|
|
1712
|
-
*
|
|
1713
|
-
*
|
|
1714
|
-
*
|
|
1715
|
-
* `
|
|
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
|
},
|
package/pkg/ifc-lite_bg.wasm
CHANGED
|
Binary file
|