@vertexvis/viewer 0.13.2-canary.0 → 0.13.2-canary.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/dist/cjs/{config-90ee43d5.js → config-5f5b8436.js} +1 -1
- package/dist/cjs/{entities-aa59890e.js → entities-67d92b62.js} +2 -2
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{mapper-f6e6cafe.js → mapper-42ba5d0c.js} +1 -1
- package/dist/cjs/{scene-d420fd26.js → scene-a5abcedc.js} +1 -1
- package/dist/cjs/{streamAttributes-d6236448.js → streamAttributes-555b6f44.js} +33 -14
- package/dist/cjs/vertex-scene-tree.cjs.entry.js +2 -2
- package/dist/cjs/vertex-viewer-dom-element_3.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-measurement-details.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-measurement-distance.cjs.entry.js +2 -2
- package/dist/cjs/vertex-viewer-measurement-line_2.cjs.entry.js +2 -2
- package/dist/cjs/vertex-viewer-measurement-precise.cjs.entry.js +4 -4
- package/dist/cjs/vertex-viewer-measurement-tool.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-measurements.cjs.entry.js +2 -2
- package/dist/cjs/vertex-viewer-view-cube.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer.cjs.entry.js +3 -3
- package/dist/collection/lib/types/clippingPlanes.js +34 -17
- package/dist/custom-elements/index.js +34 -15
- package/dist/esm/{config-604c644e.js → config-ba09575e.js} +1 -1
- package/dist/esm/{entities-759d97cd.js → entities-ff16388b.js} +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.mjs +4 -4
- package/dist/esm/{mapper-4b815e31.js → mapper-924f9226.js} +1 -1
- package/dist/esm/{scene-2c2460d5.js → scene-91e4bbd4.js} +1 -1
- package/dist/esm/{streamAttributes-d623bb60.js → streamAttributes-d781ec4e.js} +34 -15
- package/dist/esm/vertex-scene-tree.entry.js +2 -2
- package/dist/esm/vertex-viewer-dom-element_3.entry.js +1 -1
- package/dist/esm/vertex-viewer-measurement-details.entry.js +1 -1
- package/dist/esm/vertex-viewer-measurement-distance.entry.js +2 -2
- package/dist/esm/vertex-viewer-measurement-line_2.entry.js +2 -2
- package/dist/esm/vertex-viewer-measurement-precise.entry.js +4 -4
- package/dist/esm/vertex-viewer-measurement-tool.entry.js +1 -1
- package/dist/esm/vertex-viewer-measurements.entry.js +2 -2
- package/dist/esm/vertex-viewer-view-cube.entry.js +1 -1
- package/dist/esm/vertex-viewer.entry.js +3 -3
- package/dist/types/lib/types/clippingPlanes.d.ts +1 -0
- package/dist/viewer/index.esm.js +1 -1
- package/dist/viewer/{p-085e908a.js → p-13a9f7e1.js} +1 -1
- package/dist/viewer/{p-a0df0e0c.js → p-24b8368d.js} +1 -1
- package/dist/viewer/{p-fe11d694.js → p-48046214.js} +1 -1
- package/dist/viewer/{p-c62cb926.entry.js → p-5d830380.entry.js} +1 -1
- package/dist/viewer/{p-f8d01b8a.entry.js → p-5fac802d.entry.js} +1 -1
- package/dist/viewer/{p-432267bc.entry.js → p-6bfe94fd.entry.js} +1 -1
- package/dist/viewer/{p-671c113c.entry.js → p-718f311e.entry.js} +1 -1
- package/dist/viewer/{p-364ce21c.js → p-90c822fe.js} +1 -1
- package/dist/viewer/{p-e2297df2.entry.js → p-91103223.entry.js} +1 -1
- package/dist/viewer/{p-25eaab00.entry.js → p-bcbed013.entry.js} +1 -1
- package/dist/viewer/{p-d90f2f6d.entry.js → p-be90dae9.entry.js} +1 -1
- package/dist/viewer/{p-f7cb7e59.js → p-c5972672.js} +1 -1
- package/dist/viewer/{p-915d95ad.entry.js → p-dc461f63.entry.js} +1 -1
- package/dist/viewer/{p-6e80f8b0.entry.js → p-df328e06.entry.js} +1 -1
- package/dist/viewer/{p-353cfc7a.entry.js → p-f060df2f.entry.js} +1 -1
- package/dist/viewer/viewer.esm.js +1 -1
- package/package.json +7 -7
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const mapper = require('./mapper-
|
|
6
|
+
const mapper = require('./mapper-42ba5d0c.js');
|
|
7
7
|
const grpcWebClient_umd = require('./grpc-web-client.umd-60a79aae.js');
|
|
8
|
-
const streamAttributes = require('./streamAttributes-
|
|
8
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
9
9
|
const browser_esm = require('./browser.esm-31b03292.js');
|
|
10
10
|
|
|
11
11
|
function requestUnary(caller) {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const scene = require('./scene-
|
|
8
|
+
const scene = require('./scene-a5abcedc.js');
|
|
9
9
|
const cursors = require('./cursors-ad2fd395.js');
|
|
10
|
-
const entities = require('./entities-
|
|
10
|
+
const entities = require('./entities-67d92b62.js');
|
|
11
11
|
const model = require('./model-4ec0c36e.js');
|
|
12
12
|
const overlays = require('./overlays-40c6cbc7.js');
|
|
13
13
|
const results = require('./results-bc325974.js');
|
|
14
|
-
const streamAttributes = require('./streamAttributes-
|
|
14
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
15
15
|
const markup = require('./markup-fb1553b1.js');
|
|
16
16
|
const viewport = require('./viewport-8c39089f.js');
|
|
17
17
|
require('./browser.esm-31b03292.js');
|
|
18
18
|
require('./bundle.esm-dc0a8361.js');
|
|
19
|
-
require('./mapper-
|
|
19
|
+
require('./mapper-42ba5d0c.js');
|
|
20
20
|
require('./_commonjsHelpers-537d719a.js');
|
|
21
21
|
require('./grpc-web-client.umd-60a79aae.js');
|
|
22
22
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
7
7
|
const grpcWebClient_umd = require('./grpc-web-client.umd-60a79aae.js');
|
|
8
8
|
const browser_esm = require('./browser.esm-31b03292.js');
|
|
9
|
-
const streamAttributes = require('./streamAttributes-
|
|
9
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
10
10
|
|
|
11
11
|
var uuid_pb = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
12
12
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
const browser_esm = require('./browser.esm-31b03292.js');
|
|
7
7
|
const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
8
|
-
const streamAttributes = require('./streamAttributes-
|
|
8
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
9
9
|
|
|
10
10
|
const defaultColor = {
|
|
11
11
|
opacity: 100,
|
|
@@ -35821,24 +35821,43 @@ class Token {
|
|
|
35821
35821
|
}
|
|
35822
35822
|
|
|
35823
35823
|
function fromBoundingBoxAndLookAtCamera(boundingBox, camera) {
|
|
35824
|
+
return fromBoundingBoxAndPerspectiveCamera(boundingBox, camera);
|
|
35825
|
+
}
|
|
35826
|
+
// Logic pulled from https://github.com/Vertexvis/rendering-client-lib-java/blob/master/src/main/java/com/vertexvis/rendering/graphics/PerspectiveCamera.java#L65
|
|
35827
|
+
// and needs to remain in sync with that computation.
|
|
35828
|
+
// TODO: revisit computation of these values in a single location
|
|
35829
|
+
function fromBoundingBoxAndPerspectiveCamera(boundingBox, camera) {
|
|
35824
35830
|
const boundingBoxCenter = bundle_esm.boundingBox.center(boundingBox);
|
|
35825
|
-
const cameraToCenter = bundle_esm.vector3.subtract(camera.position, boundingBoxCenter);
|
|
35826
35831
|
const centerToBoundingPlane = bundle_esm.vector3.subtract(boundingBox.max, boundingBoxCenter);
|
|
35827
|
-
const
|
|
35828
|
-
const
|
|
35829
|
-
|
|
35830
|
-
|
|
35831
|
-
|
|
35832
|
-
|
|
35833
|
-
|
|
35834
|
-
|
|
35835
|
-
|
|
35836
|
-
|
|
35832
|
+
const radius = bundle_esm.vector3.magnitude(centerToBoundingPlane);
|
|
35833
|
+
const length = Math.max(radius, bundle_esm.vector3.magnitude(boundingBoxCenter));
|
|
35834
|
+
const epsilon = length === 0 ? 1.0 : length * 1e-6;
|
|
35835
|
+
const minRange = epsilon * 1e2;
|
|
35836
|
+
const signedDistToEye = bundle_esm.vector3.dot(bundle_esm.vector3.subtract(boundingBoxCenter, camera.position), bundle_esm.vector3.normalize(bundle_esm.vector3.subtract(camera.lookAt, camera.position)));
|
|
35837
|
+
const bRadius = Math.max(radius, minRange);
|
|
35838
|
+
let newFar = bRadius + signedDistToEye < minRange
|
|
35839
|
+
? bRadius * 3.0
|
|
35840
|
+
: bRadius + signedDistToEye;
|
|
35841
|
+
let newNear = newFar - bRadius * 2.0 < minRange
|
|
35842
|
+
? Math.min(minRange, newFar)
|
|
35843
|
+
: newFar - bRadius * 2.0;
|
|
35844
|
+
if (newFar - newNear < minRange) {
|
|
35845
|
+
newNear = Math.max(newNear, minRange);
|
|
35846
|
+
newFar += newNear + minRange;
|
|
35837
35847
|
}
|
|
35838
|
-
else {
|
|
35839
|
-
|
|
35848
|
+
else if (newNear / newFar < 0.0001) {
|
|
35849
|
+
newNear = newFar * 0.0001;
|
|
35840
35850
|
}
|
|
35841
|
-
|
|
35851
|
+
if (newNear > newFar - bRadius * 2.0) {
|
|
35852
|
+
if (newNear > 1000 + minRange) {
|
|
35853
|
+
newFar -= newNear - 1000;
|
|
35854
|
+
newNear = 1000;
|
|
35855
|
+
}
|
|
35856
|
+
}
|
|
35857
|
+
return {
|
|
35858
|
+
near: newNear,
|
|
35859
|
+
far: newFar,
|
|
35860
|
+
};
|
|
35842
35861
|
}
|
|
35843
35862
|
|
|
35844
35863
|
function create$2(data = {}) {
|
|
@@ -9,10 +9,10 @@ const index = require('./index-e100709a.js');
|
|
|
9
9
|
const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
10
10
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
11
11
|
const grpcWebClient_umd = require('./grpc-web-client.umd-60a79aae.js');
|
|
12
|
-
const config = require('./config-
|
|
12
|
+
const config = require('./config-5f5b8436.js');
|
|
13
13
|
const browser_esm = require('./browser.esm-31b03292.js');
|
|
14
14
|
const dom = require('./dom-d162f898.js');
|
|
15
|
-
require('./streamAttributes-
|
|
15
|
+
require('./streamAttributes-555b6f44.js');
|
|
16
16
|
|
|
17
17
|
window.requestIdleCallback =
|
|
18
18
|
window.requestIdleCallback ||
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-e100709a.js');
|
|
9
9
|
const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
10
|
-
require('./streamAttributes-
|
|
10
|
+
require('./streamAttributes-555b6f44.js');
|
|
11
11
|
const viewport = require('./viewport-8c39089f.js');
|
|
12
12
|
require('./browser.esm-31b03292.js');
|
|
13
13
|
require('./_commonjsHelpers-537d719a.js');
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-e100709a.js');
|
|
9
|
-
const streamAttributes = require('./streamAttributes-
|
|
9
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
10
10
|
const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
11
11
|
const index$1 = require('./index-3bc6bac0.js');
|
|
12
12
|
require('./browser.esm-31b03292.js');
|
|
@@ -10,9 +10,9 @@ const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
|
10
10
|
const constants = require('./constants-be2deb55.js');
|
|
11
11
|
const cursors = require('./cursors-ad2fd395.js');
|
|
12
12
|
const dom = require('./dom-dd265f48.js');
|
|
13
|
-
require('./mapper-
|
|
13
|
+
require('./mapper-42ba5d0c.js');
|
|
14
14
|
require('./grpc-web-client.umd-60a79aae.js');
|
|
15
|
-
const streamAttributes = require('./streamAttributes-
|
|
15
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
16
16
|
const model = require('./model-4ec0c36e.js');
|
|
17
17
|
const overlays = require('./overlays-40c6cbc7.js');
|
|
18
18
|
const results = require('./results-bc325974.js');
|
|
@@ -7,9 +7,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-e100709a.js');
|
|
9
9
|
const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
10
|
-
require('./mapper-
|
|
10
|
+
require('./mapper-42ba5d0c.js');
|
|
11
11
|
require('./grpc-web-client.umd-60a79aae.js');
|
|
12
|
-
require('./streamAttributes-
|
|
12
|
+
require('./streamAttributes-555b6f44.js');
|
|
13
13
|
const overlays = require('./overlays-40c6cbc7.js');
|
|
14
14
|
const utils = require('./utils-545b1865.js');
|
|
15
15
|
require('./_commonjsHelpers-537d719a.js');
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-e100709a.js');
|
|
9
|
-
const mapper = require('./mapper-
|
|
9
|
+
const mapper = require('./mapper-42ba5d0c.js');
|
|
10
10
|
const grpcWebClient_umd = require('./grpc-web-client.umd-60a79aae.js');
|
|
11
|
-
const config = require('./config-
|
|
12
|
-
const entities = require('./entities-
|
|
13
|
-
const streamAttributes = require('./streamAttributes-
|
|
11
|
+
const config = require('./config-5f5b8436.js');
|
|
12
|
+
const entities = require('./entities-67d92b62.js');
|
|
13
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
14
14
|
const model = require('./model-4ec0c36e.js');
|
|
15
15
|
const overlays = require('./overlays-40c6cbc7.js');
|
|
16
16
|
const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-e100709a.js');
|
|
9
9
|
const constants = require('./constants-be2deb55.js');
|
|
10
10
|
const templates = require('./templates-e57b3741.js');
|
|
11
|
-
require('./streamAttributes-
|
|
11
|
+
require('./streamAttributes-555b6f44.js');
|
|
12
12
|
const measurement = require('./measurement-aba1e0e8.js');
|
|
13
13
|
const utils = require('./utils-545b1865.js');
|
|
14
14
|
require('./bundle.esm-dc0a8361.js');
|
|
@@ -7,9 +7,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-e100709a.js');
|
|
9
9
|
const constants = require('./constants-be2deb55.js');
|
|
10
|
-
require('./mapper-
|
|
10
|
+
require('./mapper-42ba5d0c.js');
|
|
11
11
|
require('./grpc-web-client.umd-60a79aae.js');
|
|
12
|
-
require('./streamAttributes-
|
|
12
|
+
require('./streamAttributes-555b6f44.js');
|
|
13
13
|
const model = require('./model-4ec0c36e.js');
|
|
14
14
|
const results = require('./results-bc325974.js');
|
|
15
15
|
const templates = require('./templates-e57b3741.js');
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
const index = require('./index-e100709a.js');
|
|
9
9
|
const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
10
10
|
const stencil = require('./stencil-a664cd10.js');
|
|
11
|
-
const streamAttributes = require('./streamAttributes-
|
|
11
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
12
12
|
const index$1 = require('./index-3bc6bac0.js');
|
|
13
13
|
require('./browser.esm-31b03292.js');
|
|
14
14
|
require('./_commonjsHelpers-537d719a.js');
|
|
@@ -7,13 +7,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-e100709a.js');
|
|
9
9
|
const bundle_esm = require('./bundle.esm-dc0a8361.js');
|
|
10
|
-
const streamAttributes = require('./streamAttributes-
|
|
10
|
+
const streamAttributes = require('./streamAttributes-555b6f44.js');
|
|
11
11
|
const browser_esm = require('./browser.esm-31b03292.js');
|
|
12
12
|
const index$1 = require('./index-3bc6bac0.js');
|
|
13
|
-
const config = require('./config-
|
|
13
|
+
const config = require('./config-5f5b8436.js');
|
|
14
14
|
const cursors = require('./cursors-ad2fd395.js');
|
|
15
15
|
const dom = require('./dom-dd265f48.js');
|
|
16
|
-
const scene = require('./scene-
|
|
16
|
+
const scene = require('./scene-a5abcedc.js');
|
|
17
17
|
const viewport = require('./viewport-8c39089f.js');
|
|
18
18
|
require('./_commonjsHelpers-537d719a.js');
|
|
19
19
|
|
|
@@ -1,24 +1,41 @@
|
|
|
1
1
|
import { BoundingBox, Vector3 } from '@vertexvis/geometry';
|
|
2
2
|
export function fromBoundingBoxAndLookAtCamera(boundingBox, camera) {
|
|
3
|
+
return fromBoundingBoxAndPerspectiveCamera(boundingBox, camera);
|
|
4
|
+
}
|
|
5
|
+
// Logic pulled from https://github.com/Vertexvis/rendering-client-lib-java/blob/master/src/main/java/com/vertexvis/rendering/graphics/PerspectiveCamera.java#L65
|
|
6
|
+
// and needs to remain in sync with that computation.
|
|
7
|
+
// TODO: revisit computation of these values in a single location
|
|
8
|
+
export function fromBoundingBoxAndPerspectiveCamera(boundingBox, camera) {
|
|
3
9
|
const boundingBoxCenter = BoundingBox.center(boundingBox);
|
|
4
|
-
const cameraToCenter = Vector3.subtract(camera.position, boundingBoxCenter);
|
|
5
10
|
const centerToBoundingPlane = Vector3.subtract(boundingBox.max, boundingBoxCenter);
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
const radius = Vector3.magnitude(centerToBoundingPlane);
|
|
12
|
+
const length = Math.max(radius, Vector3.magnitude(boundingBoxCenter));
|
|
13
|
+
const epsilon = length === 0 ? 1.0 : length * 1e-6;
|
|
14
|
+
const minRange = epsilon * 1e2;
|
|
15
|
+
const signedDistToEye = Vector3.dot(Vector3.subtract(boundingBoxCenter, camera.position), Vector3.normalize(Vector3.subtract(camera.lookAt, camera.position)));
|
|
16
|
+
const bRadius = Math.max(radius, minRange);
|
|
17
|
+
let newFar = bRadius + signedDistToEye < minRange
|
|
18
|
+
? bRadius * 3.0
|
|
19
|
+
: bRadius + signedDistToEye;
|
|
20
|
+
let newNear = newFar - bRadius * 2.0 < minRange
|
|
21
|
+
? Math.min(minRange, newFar)
|
|
22
|
+
: newFar - bRadius * 2.0;
|
|
23
|
+
if (newFar - newNear < minRange) {
|
|
24
|
+
newNear = Math.max(newNear, minRange);
|
|
25
|
+
newFar += newNear + minRange;
|
|
18
26
|
}
|
|
19
|
-
else {
|
|
20
|
-
|
|
27
|
+
else if (newNear / newFar < 0.0001) {
|
|
28
|
+
newNear = newFar * 0.0001;
|
|
29
|
+
}
|
|
30
|
+
if (newNear > newFar - bRadius * 2.0) {
|
|
31
|
+
if (newNear > 1000 + minRange) {
|
|
32
|
+
newFar -= newNear - 1000;
|
|
33
|
+
newNear = 1000;
|
|
34
|
+
}
|
|
21
35
|
}
|
|
22
|
-
return {
|
|
36
|
+
return {
|
|
37
|
+
near: newNear,
|
|
38
|
+
far: newFar,
|
|
39
|
+
};
|
|
23
40
|
}
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpcHBpbmdQbGFuZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3R5cGVzL2NsaXBwaW5nUGxhbmVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxXQUFXLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFTM0QsTUFBTSxVQUFVLDhCQUE4QixDQUM1QyxXQUFvQyxFQUNwQyxNQUFtQjtFQUVuQixPQUFPLG1DQUFtQyxDQUFDLFdBQVcsRUFBRSxNQUFNLENBQUMsQ0FBQztBQUNsRSxDQUFDO0FBRUQsaUtBQWlLO0FBQ2pLLHFEQUFxRDtBQUNyRCxpRUFBaUU7QUFDakUsTUFBTSxVQUFVLG1DQUFtQyxDQUNqRCxXQUFvQyxFQUNwQyxNQUFtQjtFQUVuQixNQUFNLGlCQUFpQixHQUFHLFdBQVcsQ0FBQyxNQUFNLENBQUMsV0FBVyxDQUFDLENBQUM7RUFDMUQsTUFBTSxxQkFBcUIsR0FBRyxPQUFPLENBQUMsUUFBUSxDQUM1QyxXQUFXLENBQUMsR0FBRyxFQUNmLGlCQUFpQixDQUNsQixDQUFDO0VBQ0YsTUFBTSxNQUFNLEdBQUcsT0FBTyxDQUFDLFNBQVMsQ0FBQyxxQkFBcUIsQ0FBQyxDQUFDO0VBQ3hELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxTQUFTLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDO0VBQ3RFLE1BQU0sT0FBTyxHQUFHLE1BQU0sS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQztFQUNuRCxNQUFNLFFBQVEsR0FBRyxPQUFPLEdBQUcsR0FBRyxDQUFDO0VBRS9CLE1BQU0sZUFBZSxHQUFHLE9BQU8sQ0FBQyxHQUFHLENBQ2pDLE9BQU8sQ0FBQyxRQUFRLENBQUMsaUJBQWlCLEVBQUUsTUFBTSxDQUFDLFFBQVEsQ0FBQyxFQUNwRCxPQUFPLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsTUFBTSxDQUFDLE1BQU0sRUFBRSxNQUFNLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FDcEUsQ0FBQztFQUVGLE1BQU0sT0FBTyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsTUFBTSxFQUFFLFFBQVEsQ0FBQyxDQUFDO0VBRTNDLElBQUksTUFBTSxHQUNSLE9BQU8sR0FBRyxlQUFlLEdBQUcsUUFBUTtJQUNsQyxDQUFDLENBQUMsT0FBTyxHQUFHLEdBQUc7SUFDZixDQUFDLENBQUMsT0FBTyxHQUFHLGVBQWUsQ0FBQztFQUVoQyxJQUFJLE9BQU8sR0FDVCxNQUFNLEdBQUcsT0FBTyxHQUFHLEdBQUcsR0FBRyxRQUFRO0lBQy9CLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLFFBQVEsRUFBRSxNQUFNLENBQUM7SUFDNUIsQ0FBQyxDQUFDLE1BQU0sR0FBRyxPQUFPLEdBQUcsR0FBRyxDQUFDO0VBRTdCLElBQUksTUFBTSxHQUFHLE9BQU8sR0FBRyxRQUFRLEVBQUU7SUFDL0IsT0FBTyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsT0FBTyxFQUFFLFFBQVEsQ0FBQyxDQUFDO0lBQ3RDLE1BQU0sSUFBSSxPQUFPLEdBQUcsUUFBUSxDQUFDO0dBQzlCO09BQU0sSUFBSSxPQUFPLEdBQUcsTUFBTSxHQUFHLE1BQU0sRUFBRTtJQUNwQyxPQUFPLEdBQUcsTUFBTSxHQUFHLE1BQU0sQ0FBQztHQUMzQjtFQUVELElBQUksT0FBTyxHQUFHLE1BQU0sR0FBRyxPQUFPLEdBQUcsR0FBRyxFQUFFO0lBQ3BDLElBQUksT0FBTyxHQUFHLElBQUksR0FBRyxRQUFRLEVBQUU7TUFDN0IsTUFBTSxJQUFJLE9BQU8sR0FBRyxJQUFJLENBQUM7TUFDekIsT0FBTyxHQUFHLElBQUksQ0FBQztLQUNoQjtHQUNGO0VBRUQsT0FBTztJQUNMLElBQUksRUFBRSxPQUFPO0lBQ2IsR0FBRyxFQUFFLE1BQU07R0FDWixDQUFDO0FBQ0osQ0FBQyJ9
|
|
@@ -53062,25 +53062,44 @@ const defaultAnimationConfig = {
|
|
|
53062
53062
|
durationMs: DEFAULT_ANIMATION_DURATION,
|
|
53063
53063
|
};
|
|
53064
53064
|
|
|
53065
|
-
function fromBoundingBoxAndLookAtCamera(boundingBox
|
|
53065
|
+
function fromBoundingBoxAndLookAtCamera(boundingBox, camera) {
|
|
53066
|
+
return fromBoundingBoxAndPerspectiveCamera(boundingBox, camera);
|
|
53067
|
+
}
|
|
53068
|
+
// Logic pulled from https://github.com/Vertexvis/rendering-client-lib-java/blob/master/src/main/java/com/vertexvis/rendering/graphics/PerspectiveCamera.java#L65
|
|
53069
|
+
// and needs to remain in sync with that computation.
|
|
53070
|
+
// TODO: revisit computation of these values in a single location
|
|
53071
|
+
function fromBoundingBoxAndPerspectiveCamera(boundingBox$1, camera) {
|
|
53066
53072
|
const boundingBoxCenter = boundingBox.center(boundingBox$1);
|
|
53067
|
-
const cameraToCenter = vector3.subtract(camera.position, boundingBoxCenter);
|
|
53068
53073
|
const centerToBoundingPlane = vector3.subtract(boundingBox$1.max, boundingBoxCenter);
|
|
53069
|
-
const
|
|
53070
|
-
const
|
|
53071
|
-
|
|
53072
|
-
|
|
53073
|
-
|
|
53074
|
-
|
|
53075
|
-
|
|
53076
|
-
|
|
53077
|
-
|
|
53074
|
+
const radius = vector3.magnitude(centerToBoundingPlane);
|
|
53075
|
+
const length = Math.max(radius, vector3.magnitude(boundingBoxCenter));
|
|
53076
|
+
const epsilon = length === 0 ? 1.0 : length * 1e-6;
|
|
53077
|
+
const minRange = epsilon * 1e2;
|
|
53078
|
+
const signedDistToEye = vector3.dot(vector3.subtract(boundingBoxCenter, camera.position), vector3.normalize(vector3.subtract(camera.lookAt, camera.position)));
|
|
53079
|
+
const bRadius = Math.max(radius, minRange);
|
|
53080
|
+
let newFar = bRadius + signedDistToEye < minRange
|
|
53081
|
+
? bRadius * 3.0
|
|
53082
|
+
: bRadius + signedDistToEye;
|
|
53083
|
+
let newNear = newFar - bRadius * 2.0 < minRange
|
|
53084
|
+
? Math.min(minRange, newFar)
|
|
53085
|
+
: newFar - bRadius * 2.0;
|
|
53086
|
+
if (newFar - newNear < minRange) {
|
|
53087
|
+
newNear = Math.max(newNear, minRange);
|
|
53088
|
+
newFar += newNear + minRange;
|
|
53089
|
+
}
|
|
53090
|
+
else if (newNear / newFar < 0.0001) {
|
|
53091
|
+
newNear = newFar * 0.0001;
|
|
53092
|
+
}
|
|
53093
|
+
if (newNear > newFar - bRadius * 2.0) {
|
|
53094
|
+
if (newNear > 1000 + minRange) {
|
|
53095
|
+
newFar -= newNear - 1000;
|
|
53096
|
+
newNear = 1000;
|
|
53078
53097
|
}
|
|
53079
53098
|
}
|
|
53080
|
-
|
|
53081
|
-
near
|
|
53082
|
-
|
|
53083
|
-
|
|
53099
|
+
return {
|
|
53100
|
+
near: newNear,
|
|
53101
|
+
far: newFar,
|
|
53102
|
+
};
|
|
53084
53103
|
}
|
|
53085
53104
|
|
|
53086
53105
|
function create$2(data = {}) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
import { o as objects } from './browser.esm-59e914f6.js';
|
|
5
|
-
import './streamAttributes-
|
|
5
|
+
import './streamAttributes-d781ec4e.js';
|
|
6
6
|
|
|
7
7
|
const DEFAULT_ANIMATION_DURATION = 500;
|
|
8
8
|
const defaultAnimationConfig = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**!
|
|
2
2
|
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
|
-
import { m as mapMeasureResponseOrThrow, s as scene_view_api_pb, a as model_entity_pb, g as geometry_pb } from './mapper-
|
|
4
|
+
import { m as mapMeasureResponseOrThrow, s as scene_view_api_pb, a as model_entity_pb, g as geometry_pb } from './mapper-924f9226.js';
|
|
5
5
|
import { g as grpcWebClient_umd, w as wrappers_pb } from './grpc-web-client.umd-5982b7b0.js';
|
|
6
|
-
import { e as fromPbVector3f, v as vertexvis } from './streamAttributes-
|
|
6
|
+
import { e as fromPbVector3f, v as vertexvis } from './streamAttributes-d781ec4e.js';
|
|
7
7
|
import { m as mapper } from './browser.esm-59e914f6.js';
|
|
8
8
|
|
|
9
9
|
function requestUnary(caller) {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**!
|
|
2
2
|
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
|
-
export { c as ColorMaterial, l as LoadableResource, S as Scene, a as SynchronizedClock } from './scene-
|
|
4
|
+
export { c as ColorMaterial, l as LoadableResource, S as Scene, a as SynchronizedClock } from './scene-91e4bbd4.js';
|
|
5
5
|
export { C as CursorManager, m as measurementCursor, a as measurementWithArrowCursor } from './cursors-a7ec4adb.js';
|
|
6
|
-
export { M as MeasurementController, a as MeasurementEntity } from './entities-
|
|
6
|
+
export { M as MeasurementController, a as MeasurementEntity } from './entities-ff16388b.js';
|
|
7
7
|
export { M as MeasurementModel } from './model-e5a4f00f.js';
|
|
8
8
|
export { M as MeasurementOverlayManager } from './overlays-1919b192.js';
|
|
9
9
|
export { m as makeMinimumDistanceResult } from './results-994bdb50.js';
|
|
10
|
-
export { A as AngleUnits, d as AreaUnits, D as DistanceUnits, E as EntityType, F as ReceivedFrame, a as ReceivedFrameImage, b as ReceivedFrameScene, c as ReceivedPerspectiveCamera } from './streamAttributes-
|
|
10
|
+
export { A as AngleUnits, d as AreaUnits, D as DistanceUnits, E as EntityType, F as ReceivedFrame, a as ReceivedFrameImage, b as ReceivedFrameScene, c as ReceivedPerspectiveCamera } from './streamAttributes-d781ec4e.js';
|
|
11
11
|
export { A as ArrowMarkup, C as CircleMarkup, F as FreeformMarkup } from './markup-1d177b4a.js';
|
|
12
12
|
export { V as Viewport } from './viewport-01c886ea.js';
|
|
13
13
|
import './browser.esm-59e914f6.js';
|
|
14
14
|
import './bundle.esm-d899b2d5.js';
|
|
15
|
-
import './mapper-
|
|
15
|
+
import './mapper-924f9226.js';
|
|
16
16
|
import './_commonjsHelpers-9943807e.js';
|
|
17
17
|
import './grpc-web-client.umd-5982b7b0.js';
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**!
|
|
2
2
|
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
|
-
export { c as ColorMaterial, l as LoadableResource, S as Scene, a as SynchronizedClock } from './scene-
|
|
4
|
+
export { c as ColorMaterial, l as LoadableResource, S as Scene, a as SynchronizedClock } from './scene-91e4bbd4.js';
|
|
5
5
|
export { C as CursorManager, m as measurementCursor, a as measurementWithArrowCursor } from './cursors-a7ec4adb.js';
|
|
6
|
-
export { M as MeasurementController, a as MeasurementEntity } from './entities-
|
|
6
|
+
export { M as MeasurementController, a as MeasurementEntity } from './entities-ff16388b.js';
|
|
7
7
|
export { M as MeasurementModel } from './model-e5a4f00f.js';
|
|
8
8
|
export { M as MeasurementOverlayManager } from './overlays-1919b192.js';
|
|
9
9
|
export { m as makeMinimumDistanceResult } from './results-994bdb50.js';
|
|
10
|
-
export { A as AngleUnits, d as AreaUnits, D as DistanceUnits, E as EntityType, F as ReceivedFrame, a as ReceivedFrameImage, b as ReceivedFrameScene, c as ReceivedPerspectiveCamera } from './streamAttributes-
|
|
10
|
+
export { A as AngleUnits, d as AreaUnits, D as DistanceUnits, E as EntityType, F as ReceivedFrame, a as ReceivedFrameImage, b as ReceivedFrameScene, c as ReceivedPerspectiveCamera } from './streamAttributes-d781ec4e.js';
|
|
11
11
|
export { A as ArrowMarkup, C as CircleMarkup, F as FreeformMarkup } from './markup-1d177b4a.js';
|
|
12
12
|
export { V as Viewport } from './viewport-01c886ea.js';
|
|
13
13
|
import './browser.esm-59e914f6.js';
|
|
14
14
|
import './bundle.esm-d899b2d5.js';
|
|
15
|
-
import './mapper-
|
|
15
|
+
import './mapper-924f9226.js';
|
|
16
16
|
import './_commonjsHelpers-9943807e.js';
|
|
17
17
|
import './grpc-web-client.umd-5982b7b0.js';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { c as createCommonjsModule } from './_commonjsHelpers-9943807e.js';
|
|
5
5
|
import { a as googleProtobuf, w as wrappers_pb } from './grpc-web-client.umd-5982b7b0.js';
|
|
6
6
|
import { m as mapper } from './browser.esm-59e914f6.js';
|
|
7
|
-
import { g as fromPbPlane, e as fromPbVector3f } from './streamAttributes-
|
|
7
|
+
import { g as fromPbPlane, e as fromPbVector3f } from './streamAttributes-d781ec4e.js';
|
|
8
8
|
|
|
9
9
|
var uuid_pb = createCommonjsModule(function (module, exports) {
|
|
10
10
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { c as color, u as uri, a as async, b as uuid } from './browser.esm-59e914f6.js';
|
|
5
5
|
import { v as vector3, b as boundingBox, p as point, d as dimensions } from './bundle.esm-d899b2d5.js';
|
|
6
|
-
import { v as vertexvis, t as toProtoDuration, c as FramePerspectiveCamera, f as fromBoundingBoxAndLookAtCamera } from './streamAttributes-
|
|
6
|
+
import { v as vertexvis, t as toProtoDuration, c as FramePerspectiveCamera, f as fromBoundingBoxAndLookAtCamera } from './streamAttributes-d781ec4e.js';
|
|
7
7
|
|
|
8
8
|
const defaultColor = {
|
|
9
9
|
opacity: 100,
|
|
@@ -35818,25 +35818,44 @@ class Token {
|
|
|
35818
35818
|
}
|
|
35819
35819
|
}
|
|
35820
35820
|
|
|
35821
|
-
function fromBoundingBoxAndLookAtCamera(boundingBox
|
|
35821
|
+
function fromBoundingBoxAndLookAtCamera(boundingBox, camera) {
|
|
35822
|
+
return fromBoundingBoxAndPerspectiveCamera(boundingBox, camera);
|
|
35823
|
+
}
|
|
35824
|
+
// Logic pulled from https://github.com/Vertexvis/rendering-client-lib-java/blob/master/src/main/java/com/vertexvis/rendering/graphics/PerspectiveCamera.java#L65
|
|
35825
|
+
// and needs to remain in sync with that computation.
|
|
35826
|
+
// TODO: revisit computation of these values in a single location
|
|
35827
|
+
function fromBoundingBoxAndPerspectiveCamera(boundingBox$1, camera) {
|
|
35822
35828
|
const boundingBoxCenter = boundingBox.center(boundingBox$1);
|
|
35823
|
-
const cameraToCenter = vector3.subtract(camera.position, boundingBoxCenter);
|
|
35824
35829
|
const centerToBoundingPlane = vector3.subtract(boundingBox$1.max, boundingBoxCenter);
|
|
35825
|
-
const
|
|
35826
|
-
const
|
|
35827
|
-
|
|
35828
|
-
|
|
35829
|
-
|
|
35830
|
-
|
|
35831
|
-
|
|
35832
|
-
|
|
35833
|
-
|
|
35834
|
-
|
|
35830
|
+
const radius = vector3.magnitude(centerToBoundingPlane);
|
|
35831
|
+
const length = Math.max(radius, vector3.magnitude(boundingBoxCenter));
|
|
35832
|
+
const epsilon = length === 0 ? 1.0 : length * 1e-6;
|
|
35833
|
+
const minRange = epsilon * 1e2;
|
|
35834
|
+
const signedDistToEye = vector3.dot(vector3.subtract(boundingBoxCenter, camera.position), vector3.normalize(vector3.subtract(camera.lookAt, camera.position)));
|
|
35835
|
+
const bRadius = Math.max(radius, minRange);
|
|
35836
|
+
let newFar = bRadius + signedDistToEye < minRange
|
|
35837
|
+
? bRadius * 3.0
|
|
35838
|
+
: bRadius + signedDistToEye;
|
|
35839
|
+
let newNear = newFar - bRadius * 2.0 < minRange
|
|
35840
|
+
? Math.min(minRange, newFar)
|
|
35841
|
+
: newFar - bRadius * 2.0;
|
|
35842
|
+
if (newFar - newNear < minRange) {
|
|
35843
|
+
newNear = Math.max(newNear, minRange);
|
|
35844
|
+
newFar += newNear + minRange;
|
|
35835
35845
|
}
|
|
35836
|
-
else {
|
|
35837
|
-
|
|
35846
|
+
else if (newNear / newFar < 0.0001) {
|
|
35847
|
+
newNear = newFar * 0.0001;
|
|
35838
35848
|
}
|
|
35839
|
-
|
|
35849
|
+
if (newNear > newFar - bRadius * 2.0) {
|
|
35850
|
+
if (newNear > 1000 + minRange) {
|
|
35851
|
+
newFar -= newNear - 1000;
|
|
35852
|
+
newNear = 1000;
|
|
35853
|
+
}
|
|
35854
|
+
}
|
|
35855
|
+
return {
|
|
35856
|
+
near: newNear,
|
|
35857
|
+
far: newFar,
|
|
35858
|
+
};
|
|
35840
35859
|
}
|
|
35841
35860
|
|
|
35842
35861
|
function create$2(data = {}) {
|
|
@@ -5,10 +5,10 @@ import { h, F as Fragment, r as registerInstance, c as createEvent, f as forceUp
|
|
|
5
5
|
import { n as __rest } from './bundle.esm-d899b2d5.js';
|
|
6
6
|
import { c as createCommonjsModule } from './_commonjsHelpers-9943807e.js';
|
|
7
7
|
import { a as googleProtobuf, w as wrappers_pb, g as grpcWebClient_umd } from './grpc-web-client.umd-5982b7b0.js';
|
|
8
|
-
import { p as parseConfig } from './config-
|
|
8
|
+
import { p as parseConfig } from './config-ba09575e.js';
|
|
9
9
|
import { E as EventDispatcher } from './browser.esm-59e914f6.js';
|
|
10
10
|
import { g as getSceneTreeContainsElement } from './dom-2111ed19.js';
|
|
11
|
-
import './streamAttributes-
|
|
11
|
+
import './streamAttributes-d781ec4e.js';
|
|
12
12
|
|
|
13
13
|
window.requestIdleCallback =
|
|
14
14
|
window.requestIdleCallback ||
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-10c1495a.js';
|
|
5
5
|
import { v as vector3, s as quaternion, m as matrix4, t as euler } from './bundle.esm-d899b2d5.js';
|
|
6
|
-
import './streamAttributes-
|
|
6
|
+
import './streamAttributes-d781ec4e.js';
|
|
7
7
|
import { V as Viewport } from './viewport-01c886ea.js';
|
|
8
8
|
import './browser.esm-59e914f6.js';
|
|
9
9
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
import { h, F as Fragment, r as registerInstance, H as Host } from './index-10c1495a.js';
|
|
5
|
-
import { D as DistanceUnits, A as AngleUnits, d as AreaUnits } from './streamAttributes-
|
|
5
|
+
import { D as DistanceUnits, A as AngleUnits, d as AreaUnits } from './streamAttributes-d781ec4e.js';
|
|
6
6
|
import { n as __rest, v as vector3 } from './bundle.esm-d899b2d5.js';
|
|
7
7
|
import { c as classnames } from './index-455380d0.js';
|
|
8
8
|
import './browser.esm-59e914f6.js';
|
|
@@ -6,9 +6,9 @@ import { v as vector3, i as angle, p as point, l as line3 } from './bundle.esm-d
|
|
|
6
6
|
import { M as MEASUREMENT_SNAP_DISTANCE, a as MEASUREMENT_LINE_CAP_LENGTH } from './constants-8582656b.js';
|
|
7
7
|
import { m as measurementCursor } from './cursors-a7ec4adb.js';
|
|
8
8
|
import { a as cssTransformCenterAt, g as getMouseClientPosition } from './dom-780d25be.js';
|
|
9
|
-
import './mapper-
|
|
9
|
+
import './mapper-924f9226.js';
|
|
10
10
|
import './grpc-web-client.umd-5982b7b0.js';
|
|
11
|
-
import { e as fromPbVector3f, D as DistanceUnits } from './streamAttributes-
|
|
11
|
+
import { e as fromPbVector3f, D as DistanceUnits } from './streamAttributes-d781ec4e.js';
|
|
12
12
|
import { M as MeasurementModel } from './model-e5a4f00f.js';
|
|
13
13
|
import { M as MeasurementOverlayManager } from './overlays-1919b192.js';
|
|
14
14
|
import { m as makeMinimumDistanceResult } from './results-994bdb50.js';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, F as Fragment, H as Host } from './index-10c1495a.js';
|
|
5
5
|
import { p as point, i as angle } from './bundle.esm-d899b2d5.js';
|
|
6
|
-
import './mapper-
|
|
6
|
+
import './mapper-924f9226.js';
|
|
7
7
|
import './grpc-web-client.umd-5982b7b0.js';
|
|
8
|
-
import './streamAttributes-
|
|
8
|
+
import './streamAttributes-d781ec4e.js';
|
|
9
9
|
import { M as MeasurementOverlayManager } from './overlays-1919b192.js';
|
|
10
10
|
import { t as translateWorldLineToViewport } from './utils-83a19677.js';
|
|
11
11
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, H as Host } from './index-10c1495a.js';
|
|
5
|
-
import { s as scene_view_api_pb } from './mapper-
|
|
5
|
+
import { s as scene_view_api_pb } from './mapper-924f9226.js';
|
|
6
6
|
import { g as grpcWebClient_umd } from './grpc-web-client.umd-5982b7b0.js';
|
|
7
|
-
import { p as parseConfig } from './config-
|
|
8
|
-
import { a as MeasurementEntity, M as MeasurementController } from './entities-
|
|
9
|
-
import { E as EntityType } from './streamAttributes-
|
|
7
|
+
import { p as parseConfig } from './config-ba09575e.js';
|
|
8
|
+
import { a as MeasurementEntity, M as MeasurementController } from './entities-ff16388b.js';
|
|
9
|
+
import { E as EntityType } from './streamAttributes-d781ec4e.js';
|
|
10
10
|
import { M as MeasurementModel } from './model-e5a4f00f.js';
|
|
11
11
|
import { M as MeasurementOverlayManager } from './overlays-1919b192.js';
|
|
12
12
|
import { p as point } from './bundle.esm-d899b2d5.js';
|