@procore/bim-webviewer-sdk 15.5.0-plane-mapping.1 → 15.5.0-plane-mapping.2

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.
Files changed (25) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/Procore.Bim.Webviewer.d.ts +4 -1
  3. package/dist/Procore.Bim.Webviewer.js +1 -1
  4. package/dist/types/src/controllers/RenderController.d.ts +1 -0
  5. package/dist/types/src/controllers/RenderControllerProxy.d.ts +1 -0
  6. package/dist/types/src/controllers/RenderControllerWorker.d.ts +1 -0
  7. package/dist/types/src/procoregl/GetNextRenderingStage.d.ts +1 -1
  8. package/dist/types/src/procoregl/HiddenNodeServices/HiddenNodeServices.d.ts +21 -21
  9. package/dist/types/src/procoregl/MeshTopology/Centroid.d.ts +12 -0
  10. package/dist/types/src/procoregl/MeshTopology/HalfEdge.d.ts +26 -0
  11. package/dist/types/src/procoregl/MeshTopology/MeshTopology.d.ts +24 -0
  12. package/dist/types/src/procoregl/MeshTopology/Position.d.ts +18 -0
  13. package/dist/types/src/procoregl/MeshTopology/SpatialNode.d.ts +11 -0
  14. package/dist/types/src/procoregl/MeshTopology/SpatialObject.d.ts +5 -0
  15. package/dist/types/src/procoregl/MeshTopology/SpatialTree.d.ts +10 -0
  16. package/dist/types/src/procoregl/MeshTopology/__tests__/HalfEdge.test.d.ts +1 -0
  17. package/dist/types/src/procoregl/MeshTopology/__tests__/MeshTopology.test.d.ts +1 -0
  18. package/dist/types/src/procoregl/MeshTopology/__tests__/PWFMeshMock.d.ts +17 -0
  19. package/dist/types/src/procoregl/MeshTopology/__tests__/Position.test.d.ts +1 -0
  20. package/dist/types/src/procoregl/MeshTopology/__tests__/TopologyFixtures.d.ts +7 -0
  21. package/dist/types/src/procoregl/MeshTopology/index.d.ts +5 -0
  22. package/dist/types/src/procoregl/Models/Models.d.ts +1 -4
  23. package/dist/types/src/procoregl/ObjectTree/ObjectTree.d.ts +2 -0
  24. package/dist/types/src/types/WebviewerOptions.d.ts +4 -1
  25. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,11 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Added
11
+
12
+ - Added beta feature flag `enablePointToPoint` to enable the Point to Point mode as an optional measurement mode for the Measure Tool.
13
+ - [Internal] Adds MeshTopology to the web viewer. This new class is intended to be used when we start putting the Point-to-Point feature.
14
+
10
15
  ### Changed
11
16
 
12
17
  - [Internal] Move shortest distance related functions into `ShortestDistanceController.ts` and use virtualMeshnodeIndex for all the shortestDistance functions.
13
18
  - [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.
14
19
  - 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.
20
+ - [Internal] Refactored `HiddenNodeServices` to handle multiple `resources` such that only one `HiddenNodeServices` is instantiated even when there are multiple models.
21
+ - [Internal] Update logic around when the `homeViewpointActivated` event is fired which is the last condition that triggers hiding the loading screen.
22
+
23
+ ### Removed
24
+
25
+ - [Breaking Change] Removed `enableObjectTreeSearch` feature flag as it is now always enabled and cannot be disabled.
15
26
 
16
27
  ## [15.5.0] - 2024-08-02
17
28
 
@@ -161,7 +161,10 @@ export declare namespace ErrorLogger {
161
161
  }
162
162
 
163
163
  export declare type FeatureFlags = Partial<{
164
- enableObjectTreeSearch: boolean;
164
+ /**
165
+ * @beta Enables the new measurement mode Point to Point, which allows users to measure the distance between two points in the model.
166
+ */
167
+ enablePointToPoint: boolean;
165
168
  }>;
166
169
 
167
170
  export declare type FileExtraction = {