@procore/bim-webviewer-sdk 16.3.0-BIM-4701.0 → 16.3.0-BIM-4503.0
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 +0 -1
- package/dist/Procore.Bim.Webviewer.d.ts +8 -8
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/components/RootComponent.d.ts +5 -2
- package/dist/types/src/components/ShortestDistanceComponent.d.ts +2 -2
- package/dist/types/src/components/ToolBarComponent/ToolBarComponent.d.ts +4 -3
- package/dist/types/src/components/WindowViewPropertiesComponent/WindowViewPropertiesComponent.d.ts +0 -4
- package/dist/types/src/measuring/PointToPointManager.d.ts +8 -8
- package/dist/types/src/measuring/button/SplitButton.d.ts +28 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,7 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
|
-
- ([#1355](https://github.com/procore/bim-webviewer/pull/1355)) Measurement-related object properties are now automatically updated when the display units change (e.g. changed through settings), no need to reselect an object for it to update. Only applies for properties that have a typed-value.
|
|
13
12
|
- ([#1346](https://github.com/procore/bim-webviewer/pull/1346)) Point To Point now displays two tooltips, One that follows the mouse cursor and one that displays the name of a snap feature.
|
|
14
13
|
|
|
15
14
|
### Removed
|
|
@@ -1379,7 +1379,7 @@ declare class PointToPointManager {
|
|
|
1379
1379
|
private outlines;
|
|
1380
1380
|
private pivot;
|
|
1381
1381
|
private readonly gui;
|
|
1382
|
-
private
|
|
1382
|
+
private globalOffset;
|
|
1383
1383
|
private temporaryDistanceLabel;
|
|
1384
1384
|
private camera;
|
|
1385
1385
|
private readonly locale;
|
|
@@ -1389,16 +1389,16 @@ declare class PointToPointManager {
|
|
|
1389
1389
|
renderControllerProxy: RenderControllerProxy;
|
|
1390
1390
|
settingsController: SettingsController;
|
|
1391
1391
|
svgRenderer: SvgRenderer;
|
|
1392
|
-
globalOffset: {
|
|
1393
|
-
offsetX: number;
|
|
1394
|
-
offsetY: number;
|
|
1395
|
-
offsetZ: number;
|
|
1396
|
-
};
|
|
1397
1392
|
measurementRenderer: MeasurementRenderer;
|
|
1398
1393
|
locale: string;
|
|
1399
1394
|
});
|
|
1395
|
+
setGlobalOffset(params: {
|
|
1396
|
+
offsetX: number;
|
|
1397
|
+
offsetY: number;
|
|
1398
|
+
offsetZ: number;
|
|
1399
|
+
}): void;
|
|
1400
|
+
getGlobalOffset(): THREE.Vector3;
|
|
1400
1401
|
private onCameraUpdated;
|
|
1401
|
-
private onSelectTool;
|
|
1402
1402
|
private onNavigationChanged;
|
|
1403
1403
|
private onMeasurementObjectMove;
|
|
1404
1404
|
private updateTemporaryDistanceLabel;
|
|
@@ -1408,7 +1408,7 @@ declare class PointToPointManager {
|
|
|
1408
1408
|
static isEnabled(): boolean;
|
|
1409
1409
|
togglePointToPoint(params: {
|
|
1410
1410
|
enable: boolean;
|
|
1411
|
-
}): void
|
|
1411
|
+
}): Promise<void>;
|
|
1412
1412
|
private createCursors;
|
|
1413
1413
|
private removeCursors;
|
|
1414
1414
|
private setCameraAndNavigationControls;
|