@procore/bim-webviewer-sdk 15.5.0-plane-mapping.0 → 15.5.0-plane-mapping.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/CHANGELOG.md +1 -0
- package/dist/Procore.Bim.Webviewer.d.ts +0 -6
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/controllers/RenderController.d.ts +3 -2
- package/dist/types/src/controllers/RenderControllerProxy.d.ts +1 -1
- package/dist/types/src/controllers/ShortestDistanceController.d.ts +16 -0
- package/dist/types/src/controllers/__tests__/ShortestDistanceController.test.d.ts +1 -0
- package/dist/types/src/pwfreader/PWF.d.ts +0 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Changed
|
|
11
11
|
|
|
12
|
+
- [Internal] Move shortest distance related functions into `ShortestDistanceController.ts` and use virtualMeshnodeIndex for all the shortestDistance functions.
|
|
12
13
|
- [Internal] Refactored `GlobalBoundingBox` class (used as a singleton) to have one main method (`getGlobalBoundingBox`) that abstracts away the difference between the "user defined global bounding box" and the "refined global bounding box", which was the class's original purpose but it wasn't fulfilling as well as it could have. This also required updating it to be fully initialized in its constructor and consolidating the `RenderController` code that initializes it.
|
|
13
14
|
- Color override methods now accept an optional `resourceId` parameter, which allows color overriding objects on multiple loaded models. If no `resourceId` is provided then the object ids will be assumed to reference the first model.
|
|
14
15
|
|
|
@@ -783,12 +783,6 @@ declare class PWF {
|
|
|
783
783
|
getVirtualMeshnodeIndexesByNodeId(nodeId: any): any[];
|
|
784
784
|
getNamedNode(nodeId: any): Node_2 | undefined;
|
|
785
785
|
getSubTreeVirtualMeshnodeIndexes(node: any, subArr: any): void;
|
|
786
|
-
getMeasureIds(): any[];
|
|
787
|
-
addMeasureIds(meshnodeIndices: any): void;
|
|
788
|
-
clearMeasureIds(): void;
|
|
789
|
-
refresh: boolean | undefined;
|
|
790
|
-
hasMeasureIds(arr: any): boolean;
|
|
791
|
-
removeMeasureIds(meshnodeIndices: any): void;
|
|
792
786
|
getMeshnodeFromNodeId(nodeId: any): Meshnode | Node_2;
|
|
793
787
|
getMeshnode(offset: any): Meshnode;
|
|
794
788
|
getNode(offset: any): Meshnode | Node_2;
|