@vertexvis/viewer 0.12.0 → 0.13.0-canary.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/dist/cjs/{config-acd7cea9.js → config-90ee43d5.js} +1 -1
- package/dist/cjs/{cursors-399a9648.js → cursors-ad2fd395.js} +7 -0
- package/dist/cjs/{controller-8cbcdd8d.js → entities-aa59890e.js} +57 -22
- package/dist/cjs/{index-cc65325e.js → index-e100709a.js} +64 -3
- package/dist/cjs/index.cjs.js +21 -11
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{model-18ef3363.js → mapper-f6e6cafe.js} +37 -191
- package/dist/cjs/model-4ec0c36e.js +134 -0
- package/dist/cjs/overlays-8a582edf.js +76 -0
- package/dist/cjs/results-bc325974.js +24 -0
- package/dist/cjs/{scene-ffee07ee.js → scene-f4040800.js} +1 -1
- package/dist/cjs/{stencil-bd453a38.js → stencil-a664cd10.js} +1 -1
- package/dist/cjs/{streamAttributes-9d6226ac.js → streamAttributes-d6236448.js} +87 -30
- package/dist/cjs/vertex-scene-tree-search_3.cjs.entry.js +2 -2
- package/dist/cjs/vertex-scene-tree-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree-table-column.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree-table-header.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree-table-resize-divider.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree-toolbar-group.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree.cjs.entry.js +3 -3
- package/dist/cjs/vertex-viewer-button_3.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-default-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-dom-element_3.cjs.entry.js +4 -4
- package/dist/cjs/vertex-viewer-icon.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-layer.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-markup-arrow_3.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-markup-tool.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-markup.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-measurement-details.cjs.entry.js +221 -75
- package/dist/cjs/{vertex-viewer-measurement-distance_2.cjs.entry.js → vertex-viewer-measurement-distance.cjs.entry.js} +30 -69
- package/dist/cjs/vertex-viewer-measurement-line_2.cjs.entry.js +170 -0
- package/dist/cjs/vertex-viewer-measurement-precise.cjs.entry.js +163 -55
- package/dist/cjs/vertex-viewer-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/vertex-viewer-measurements.cjs.entry.js +33 -4
- package/dist/cjs/vertex-viewer-view-cube.cjs.entry.js +4 -4
- package/dist/cjs/vertex-viewer.cjs.entry.js +58 -10
- package/dist/cjs/viewer.cjs.js +2 -2
- package/dist/cjs/{viewport-51aa05ab.js → viewport-8c39089f.js} +11 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/viewer/viewer.js +2 -2
- package/dist/collection/components/viewer-dom-renderer/viewer-dom-renderer.js +2 -2
- package/dist/collection/components/viewer-measurement-details/viewer-measurement-details-entry.js +14 -0
- package/dist/collection/components/viewer-measurement-details/viewer-measurement-details-results.js +22 -0
- package/dist/collection/components/viewer-measurement-details/viewer-measurement-details.css +3 -10
- package/dist/collection/components/viewer-measurement-details/viewer-measurement-details.js +125 -188
- package/dist/collection/components/viewer-measurement-distance/interactions.js +3 -14
- package/dist/collection/components/viewer-measurement-distance/viewer-measurement-distance.js +41 -1
- package/dist/collection/components/viewer-measurement-overlays/viewer-measurement-overlays-components.js +30 -0
- package/dist/collection/components/viewer-measurement-overlays/viewer-measurement-overlays.css +51 -0
- package/dist/collection/components/viewer-measurement-overlays/viewer-measurement-overlays.js +149 -0
- package/dist/collection/components/viewer-measurement-precise/viewer-measurement-precise.js +118 -26
- package/dist/collection/components/viewer-measurements/viewer-measurements.js +67 -2
- package/dist/collection/components/viewer-view-cube/viewer-view-cube.css +21 -3
- package/dist/collection/index.js +2 -2
- package/dist/collection/lib/cursors.js +7 -1
- package/dist/collection/lib/elementRectObserver.js +19 -0
- package/dist/collection/lib/interactions/interactionApi.js +53 -4
- package/dist/collection/lib/mappers/frameStreaming.js +2 -4
- package/dist/collection/lib/measurement/controller.js +21 -17
- package/dist/collection/lib/measurement/entities.js +34 -0
- package/dist/collection/lib/measurement/index.js +4 -2
- package/dist/collection/lib/measurement/interactions.js +74 -28
- package/dist/collection/lib/measurement/mapper.js +5 -5
- package/dist/collection/lib/measurement/model.js +24 -85
- package/dist/collection/lib/measurement/outcomes.js +2 -0
- package/dist/collection/lib/measurement/overlays.js +69 -0
- package/dist/collection/lib/measurement/results.js +17 -0
- package/dist/collection/lib/types/entities.js +5 -1
- package/dist/collection/lib/types/featureMap.js +14 -5
- package/dist/collection/lib/types/frame.js +3 -3
- package/dist/collection/lib/types/measurementUnits.js +7 -7
- package/dist/collection/lib/types/viewport.js +12 -1
- package/dist/collection/testing/eventually.js +30 -0
- package/dist/collection/testing/fixtures.js +11 -4
- package/dist/collection/testing/index.js +2 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +851 -287
- package/dist/esm/{browser.esm-e6827921.js → browser.esm-59e914f6.js} +1 -1
- package/dist/esm/{bundle.esm-8f14ac60.js → bundle.esm-d899b2d5.js} +1 -1
- package/dist/esm/{config-a200c227.js → config-604c644e.js} +2 -2
- package/dist/esm/{cursors-5157d29d.js → cursors-a7ec4adb.js} +8 -2
- package/dist/esm/{dom-2d6a1e1e.js → dom-780d25be.js} +1 -1
- package/dist/esm/{controller-a756cf9c.js → entities-759d97cd.js} +52 -18
- package/dist/esm/{index-f0053642.js → index-10c1495a.js} +64 -3
- package/dist/esm/index.js +13 -11
- package/dist/esm/index.mjs +13 -11
- package/dist/esm/loader.js +2 -2
- package/dist/esm/loader.mjs +2 -2
- package/dist/esm/{model-f711a825.js → mapper-4b815e31.js} +37 -190
- package/dist/esm/{markup-e46623b3.js → markup-1d177b4a.js} +2 -2
- package/dist/esm/{measurement-702d6b8c.js → measurement-12cdbf5c.js} +2 -2
- package/dist/esm/model-e5a4f00f.js +132 -0
- package/dist/esm/overlays-dbe5d652.js +74 -0
- package/dist/esm/{png-decoder-59a0e9c2.js → png-decoder-3f1fa486.js} +1 -1
- package/dist/esm/results-994bdb50.js +22 -0
- package/dist/esm/{scene-16490983.js → scene-9ac8a484.js} +3 -3
- package/dist/esm/{stencil-7d04d41a.js → stencil-9bf7fb9e.js} +1 -1
- package/dist/esm/{streamAttributes-7aa486b2.js → streamAttributes-d623bb60.js} +77 -20
- package/dist/esm/{utils-8070900a.js → utils-01e4f587.js} +1 -1
- package/dist/esm/{utils-953a1619.js → utils-5e57bf24.js} +1 -1
- package/dist/esm/vertex-scene-tree-search_3.entry.js +3 -3
- package/dist/esm/vertex-scene-tree-table-cell.entry.js +1 -1
- package/dist/esm/vertex-scene-tree-table-column.entry.js +1 -1
- package/dist/esm/vertex-scene-tree-table-header.entry.js +1 -1
- package/dist/esm/vertex-scene-tree-table-resize-divider.entry.js +1 -1
- package/dist/esm/vertex-scene-tree-toolbar-group.entry.js +1 -1
- package/dist/esm/vertex-scene-tree.entry.js +5 -5
- package/dist/esm/vertex-viewer-button_3.entry.js +1 -1
- package/dist/esm/vertex-viewer-default-toolbar.entry.js +1 -1
- package/dist/esm/vertex-viewer-dom-element_3.entry.js +6 -6
- package/dist/esm/vertex-viewer-icon.entry.js +1 -1
- package/dist/esm/vertex-viewer-layer.entry.js +1 -1
- package/dist/esm/vertex-viewer-markup-arrow_3.entry.js +4 -4
- package/dist/esm/vertex-viewer-markup-tool.entry.js +5 -5
- package/dist/esm/vertex-viewer-markup.entry.js +5 -5
- package/dist/esm/vertex-viewer-measurement-details.entry.js +221 -75
- package/dist/esm/{vertex-viewer-measurement-distance_2.entry.js → vertex-viewer-measurement-distance.entry.js} +35 -73
- package/dist/esm/vertex-viewer-measurement-line_2.entry.js +165 -0
- package/dist/esm/vertex-viewer-measurement-precise.entry.js +160 -52
- package/dist/esm/vertex-viewer-measurement-tool.entry.js +6 -6
- package/dist/esm/vertex-viewer-measurements.entry.js +36 -7
- package/dist/esm/vertex-viewer-view-cube.entry.js +6 -6
- package/dist/esm/vertex-viewer.entry.js +61 -13
- package/dist/esm/viewer.js +2 -2
- package/dist/esm/{viewport-bb7c46d9.js → viewport-01c886ea.js} +12 -1
- package/dist/types/components/viewer-dom-renderer/viewer-dom-renderer.d.ts +1 -1
- package/dist/types/components/viewer-measurement-details/viewer-measurement-details-entry.d.ts +8 -0
- package/dist/types/components/viewer-measurement-details/viewer-measurement-details-results.d.ts +15 -0
- package/dist/types/components/viewer-measurement-details/viewer-measurement-details.d.ts +44 -42
- package/dist/types/components/viewer-measurement-distance/interactions.d.ts +23 -1
- package/dist/types/components/viewer-measurement-distance/viewer-measurement-distance.d.ts +8 -0
- package/dist/types/components/viewer-measurement-overlays/viewer-measurement-overlays-components.d.ts +10 -0
- package/dist/types/components/viewer-measurement-overlays/viewer-measurement-overlays.d.ts +41 -0
- package/dist/types/components/viewer-measurement-precise/viewer-measurement-precise.d.ts +62 -6
- package/dist/types/components/viewer-measurements/viewer-measurements.d.ts +12 -0
- package/dist/types/components.d.ts +103 -40
- package/dist/types/index.d.ts +1 -1
- package/dist/types/lib/cursors.d.ts +5 -0
- package/dist/types/lib/elementRectObserver.d.ts +8 -0
- package/dist/types/lib/interactions/interactionApi.d.ts +32 -5
- package/dist/types/lib/measurement/controller.d.ts +8 -7
- package/dist/types/lib/measurement/entities.d.ts +10 -0
- package/dist/types/lib/measurement/index.d.ts +3 -1
- package/dist/types/lib/measurement/interactions.d.ts +19 -5
- package/dist/types/lib/measurement/mapper.d.ts +1 -1
- package/dist/types/lib/measurement/model.d.ts +18 -153
- package/dist/types/lib/measurement/outcomes.d.ts +8 -0
- package/dist/types/lib/measurement/overlays.d.ts +38 -0
- package/dist/types/lib/measurement/results.d.ts +90 -0
- package/dist/types/lib/types/entities.d.ts +5 -1
- package/dist/types/lib/types/featureMap.d.ts +2 -2
- package/dist/types/lib/types/measurementUnits.d.ts +1 -1
- package/dist/types/lib/types/viewport.d.ts +9 -1
- package/dist/types/testing/eventually.d.ts +15 -0
- package/dist/types/testing/fixtures.d.ts +2 -2
- package/dist/types/testing/index.d.ts +1 -0
- package/dist/viewer/index.esm.js +1 -1
- package/dist/viewer/p-081e6873.js +4 -0
- package/dist/viewer/{p-5d82c131.entry.js → p-099fe6ca.entry.js} +1 -1
- package/dist/viewer/{p-784914e4.js → p-0aba71fd.js} +1 -1
- package/dist/viewer/p-0aeab3fc.js +4 -0
- package/dist/viewer/p-0eb195dd.entry.js +4 -0
- package/dist/viewer/p-1a7df99a.entry.js +4 -0
- package/dist/viewer/{p-f70d8def.js → p-301660cf.js} +1 -1
- package/dist/viewer/{p-a0e49d10.entry.js → p-31658489.entry.js} +1 -1
- package/dist/viewer/{p-95f3a81c.entry.js → p-353cfc7a.entry.js} +1 -1
- package/dist/viewer/p-364ce21c.js +4 -0
- package/dist/viewer/{p-a5a0bf86.js → p-3f6ac74f.js} +1 -1
- package/dist/viewer/p-423410be.js +4 -0
- package/dist/viewer/{p-6f71f0f2.js → p-439220c6.js} +1 -1
- package/dist/viewer/{p-e84ed098.entry.js → p-46459921.entry.js} +1 -1
- package/dist/viewer/{p-c23a8b34.entry.js → p-4717c98e.entry.js} +1 -1
- package/dist/viewer/p-4985fad5.js +4 -0
- package/dist/viewer/{p-ba393340.entry.js → p-61b1097b.entry.js} +1 -1
- package/dist/viewer/{p-011eecd5.entry.js → p-6370098c.entry.js} +1 -1
- package/dist/viewer/p-67446e35.js +4 -0
- package/dist/viewer/p-7006fd4e.entry.js +4 -0
- package/dist/viewer/{p-a20e4ea1.entry.js → p-70ca1ea7.entry.js} +1 -1
- package/dist/viewer/p-76ec0245.js +4 -0
- package/dist/viewer/p-7cad9bf4.js +4 -0
- package/dist/viewer/p-7f25dcb5.entry.js +4 -0
- package/dist/viewer/{p-ca6bbe53.entry.js → p-8decee06.entry.js} +1 -1
- package/dist/viewer/{p-b7ffa306.entry.js → p-915d95ad.entry.js} +1 -1
- package/dist/viewer/{p-4485ac6d.js → p-a0df0e0c.js} +1 -1
- package/dist/viewer/{p-cc9888be.entry.js → p-a455ae02.entry.js} +1 -1
- package/dist/viewer/{p-a6a8026f.js → p-acf22d3e.js} +1 -1
- package/dist/viewer/{p-653aca1b.entry.js → p-b2b48a42.entry.js} +1 -1
- package/dist/viewer/p-bc9b1e67.entry.js +4 -0
- package/dist/viewer/p-c458f191.entry.js +32 -0
- package/dist/viewer/p-cafa57a6.js +4 -0
- package/dist/viewer/p-d00e9203.js +4 -0
- package/dist/viewer/{p-3e96bd62.entry.js → p-d2bcf788.entry.js} +1 -1
- package/dist/viewer/p-d90f2f6d.entry.js +4 -0
- package/dist/viewer/p-da2f4a56.js +4 -0
- package/dist/viewer/{p-5a2e34e1.entry.js → p-e07377fa.entry.js} +1 -1
- package/dist/viewer/{p-40800e8d.entry.js → p-f755af5a.entry.js} +1 -1
- package/dist/viewer/p-f7cb7e59.js +4 -0
- package/dist/viewer/p-fad9693e.js +4 -0
- package/dist/viewer/p-fe11d694.js +4 -0
- package/dist/viewer/{p-b92a3ac2.entry.js → p-fec1a8d0.entry.js} +1 -1
- package/dist/viewer/viewer.css +1 -1
- package/dist/viewer/viewer.esm.js +1 -1
- package/package.json +11 -10
- package/dist/cjs/summary-7bbdb4c9.js +0 -45
- package/dist/collection/lib/measurement/summary.js +0 -38
- package/dist/esm/summary-0a3d0bf9.js +0 -43
- package/dist/types/lib/measurement/summary.d.ts +0 -11
- package/dist/viewer/p-03e482ff.js +0 -4
- package/dist/viewer/p-0c052bc8.entry.js +0 -4
- package/dist/viewer/p-148cd792.js +0 -4
- package/dist/viewer/p-26d99e2d.entry.js +0 -4
- package/dist/viewer/p-38eeacc5.js +0 -4
- package/dist/viewer/p-39d1720c.js +0 -4
- package/dist/viewer/p-5dc17b8b.js +0 -4
- package/dist/viewer/p-5fea3491.js +0 -4
- package/dist/viewer/p-6b700561.entry.js +0 -4
- package/dist/viewer/p-6cd7a6e0.js +0 -4
- package/dist/viewer/p-75337d0b.js +0 -4
- package/dist/viewer/p-b83cc8a9.js +0 -4
- package/dist/viewer/p-d2a9e047.js +0 -4
- package/dist/viewer/p-d40bd835.entry.js +0 -4
- package/dist/viewer/p-e10b1526.js +0 -4
- package/dist/viewer/p-ec8a1a68.entry.js +0 -4
- package/dist/viewer/p-f4a8c901.js +0 -4
- package/dist/viewer/p-f77dde26.entry.js +0 -4
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**!
|
|
2
|
-
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
|
-
*/
|
|
4
|
-
import{h as t,r as e,c as i,H as n,g as s}from"./p-75337d0b.js";import{v as r,h as a,p as o,l as h}from"./p-784914e4.js";import{M as l,a as d,t as c,g as u}from"./p-38eeacc5.js";import{m}from"./p-b83cc8a9.js";import{a as v,g as p}from"./p-6f71f0f2.js";import{g as w,D as f}from"./p-d2a9e047.js";import{V as b}from"./p-5fea3491.js";import{E as g,m as y}from"./p-f70d8def.js";import{c as P}from"./p-f482325b.js";import"./p-112455b1.js";class x{constructor(t,e,i){this.stencil=t,this.depthBuffer=e,this.viewport=i}hitTest(t){const e=this.viewport.transformPointToFrame(t,this.stencil),i=this.viewport.transformPointToFrame(t,this.depthBuffer);return this.stencil.hitTest(e)||this.depthBuffer.hitTest(i)}snapToNearestPixel(t,e){const i=this.viewport.transformPointToFrame(t,this.stencil),n=this.stencil.snapToNearestPixel(i,e);return this.viewport.transformPointToViewport(n,this.stencil)}transformPointToWorld(t,{ignoreHitTest:e=!1}={}){const i=this.pickDepthBuffer(t);return null!=i?this.viewport.transformPointToWorldSpace(t,i):e?this.viewport.transformPointToWorldSpace(t,this.depthBuffer):void 0}pickDepthBuffer(t){const e=this.viewport.transformPointToFrame(t,this.stencil);if(this.stencil.hitTest(e))return this.stencil.depthBuffer;const i=this.viewport.transformPointToFrame(t,this.depthBuffer);return this.depthBuffer.hitTest(i)?this.depthBuffer:void 0}}class E{constructor(t){this.model=t}newMeasurement(t,e){const i=e.hitTester().transformPointToWorld(t);return null!=i?new M(t,i,this.model):void 0}editMeasurement(t){const e=this.model.getMeasurement();if(null==e)throw new Error("Cannot edit measurement. Measurement is empty.");return"start"===t?new I(e,this.model):new A(e,this.model)}clearIndicator(){this.model.setIndicator(void 0)}moveIndicator(t,e){const i=e.hitTester().transformPointToWorld(t);return this.model.setIndicator(i),null!=i}}class C{constructor(){this.measurementChanged=new g,this.indicatorChanged=new g}static empty(){return new C}getMeasurement(){return this.measurement}setMeasurement(t){this.measurement!==t&&(this.measurement=t,this.measurementChanged.emit(t))}setMeasurementFromValues(t,e,i){if(null!=t&&null!=e){const n=i?L(t,e):S(t,e);this.setMeasurement(n)}else this.setMeasurement(void 0)}onMeasurementChanged(t){return this.measurementChanged.on(t)}getIndicator(){return this.indicator}setIndicator(t){this.indicator!==t&&(this.indicator=t,this.indicatorChanged.emit(t))}onIndicatorChanged(t){return this.indicatorChanged.on(t)}}class M{constructor(t,e,i){this.pt=t,this.world=e,this.model=i,this.hitWorldValid=!0}fetchStartIfMissing(t){null==this.pendingStart&&(this.pendingStart=this.fetchStart(t))}async fetchStart(t){const e=await t.raycaster(),i=await D(e,this.pt);if(null==i){const e=t.hitTester().transformPointToWorld(this.pt);this.hitWorld=e,this.hitWorldValid=!1}else this.hitWorld=i,this.hitWorldValid=!0}update(t,e){var i;this.fetchStartIfMissing(e);const n=e.hitTester().transformPointToWorld(t,{ignoreHitTest:!0}),s=e.hitTester().hitTest(t),r=null!==(i=this.hitWorld)&&void 0!==i?i:this.world;if(null==n)throw new Error("Cannot update new measurement interaction. End point is empty.");return this.hitWorldValid&&s?(this.model.setIndicator(n),this.setMeasurement(L(r,n))):(this.model.setIndicator(n),this.setMeasurement(S(r,n)))}async finish(t,e){var i;this.fetchStartIfMissing(e),await this.pendingStart;const n=await e.raycaster(),s=await D(n,t),r=null!==(i=this.hitWorld)&&void 0!==i?i:this.world;if(this.model.setIndicator(void 0),null==s){const i=e.hitTester().transformPointToWorld(t,{ignoreHitTest:!0});if(null==i)throw new Error("Cannot complete new measurement interaction. End point is empty.");return this.setMeasurement(S(r,i))}return this.setMeasurement(this.hitWorldValid?L(r,s):S(r,s))}setMeasurement(t){return this.model.setMeasurement(t),t}}class k{constructor(t,e){this.measurement=t,this.model=e}update(t,e){const i=e.hitTester().transformPointToWorld(t,{ignoreHitTest:!0}),n=e.hitTester().hitTest(t);if(null==i)throw new Error("Cannot update new measurement interaction. End point is empty.");return n?(this.model.setIndicator(i),this.setMeasurement(this.getValidMeasurement(i))):(this.model.setIndicator(i),this.setMeasurement(this.getInvalidMeasurement(i)))}async finish(t,e){const i=await e.raycaster(),n=await D(i,t);if(this.model.setIndicator(void 0),null==n){const i=e.hitTester().transformPointToWorld(t,{ignoreHitTest:!0});if(null==i)throw new Error("Cannot complete edit measurement interaction. End point is empty.");return this.setMeasurement(this.getInvalidMeasurement(i))}return this.setMeasurement(this.getValidMeasurement(n))}setMeasurement(t){return this.model.setMeasurement(t),t}}class I extends k{constructor(t,e){super(t,e)}getInvalidMeasurement(t){return S(t,this.measurement.end)}getValidMeasurement(t){return L(t,this.measurement.end)}}class A extends k{constructor(t,e){super(t,e)}getInvalidMeasurement(t){return S(this.measurement.start,t)}getValidMeasurement(t){return L(this.measurement.start,t)}}async function D(t,e){var i;const n=await t.hitItems(e),[s]=null!==(i=null==n?void 0:n.hits)&&void 0!==i?i:[];if(null!=(null==s?void 0:s.hitPoint)){const t=w(s.hitPoint);if(y.isInvalid(t))throw new Error(`Invalid hit response [${t.errors.join(",")}]`);return t}}function L(t,e){return{type:"point-to-point",start:t,end:e,distance:r.distance(t,e),valid:!0}}function S(t,e){return{type:"point-to-point",start:t,end:e,valid:!1}}const j=({startPt:e,endPt:i,centerPt:n,indicatorPt:s,distance:r,anchorLabelOffset:h,lineCapLength:l,linePointerEvents:d,hideStartAnchor:c,hideEndAnchor:u,onStartAnchorPointerDown:m,onEndAnchorPointerDown:p})=>{const w=null!=e&&null!=i?a.fromPoints(e,i):void 0,f=null!=w&&null!=e&&null!=h?o.add(e,o.polar(-h,w)):void 0,b=null!=w&&null!=i&&null!=h?o.add(i,o.polar(h,w)):void 0;return t("div",null,null!=e&&null!=i&&t("vertex-viewer-measurement-line",{class:P("line",{"hide-start-line-cap":c,"hide-end-line-cap":u}),start:e,end:i,capLength:l,pointerEvents:d}),!c&&null!=e&&t("div",{id:"start-anchor",class:"anchor anchor-start",style:{transform:v(e)},onPointerDown:m},t("slot",{name:"start-anchor"},t("div",{class:"anchor-placeholder"}))),!c&&f&&t("div",{class:"anchor-label anchor-label-start",style:{transform:v(f)}},t("slot",{name:"start-label"})),!u&&null!=i&&t("div",{id:"end-anchor",class:"anchor anchor-end",style:{transform:v(i)},onPointerDown:p},t("slot",{name:"end-anchor"},t("div",{class:"anchor-placeholder"}))),!u&&b&&t("div",{class:"anchor-label anchor-label-end",style:{transform:v(b)}},t("slot",{name:"end-label"})),null!=n&&t("div",{id:"label",class:"distance-label",style:{transform:v(n)}},r),null!=s&&t("div",{class:"indicator",style:{transform:v(s)}},t("slot",{name:"indicator"},t("div",{class:"indicator-placeholder"}))))};let T=class{constructor(t){e(this,t),this.editBegin=i(this,"editBegin",7),this.editEnd=i(this,"editEnd",7),this.snapDistance=l,this.units="millimeters",this.fractionalDigits=2,this.anchorLabelOffset=20,this.lineCapLength=d,this.mode="",this.interactingAnchor="none",this.invalid=!1,this.viewport=new b(0,0),this.interactionCount=0,this.invalidateStateCounter=0,this.stateMap={},this.model=C.empty(),this.controller=new E(this.model),this.measurementUnits=new f(this.units),this.isUserInteractingWithModel=!1,this.handleFrameDrawn=()=>{this.invalidateState()},this.clearIndicator=()=>{this.controller.clearIndicator()},this.updateStartAnchor=async t=>{if(this.getStencilBuffer(),0===this.interactionCount){const e=p(t,this.elementBounds),i=this.snapPoint(e,t);this.updateIndicator(i)}},this.newMeasurement=t=>{if(0===this.interactionCount&&0===t.button){const e=t=>{const e=()=>{window.removeEventListener("pointerup",i),window.removeEventListener("pointermove",n)},i=async()=>{e(),t()},n=t=>{t.buttons>0&&e()};window.addEventListener("pointermove",n),window.addEventListener("pointerup",i)},i=t=>{const e=()=>t(),i=()=>(window.removeEventListener("pointermove",e),void window.removeEventListener("pointerup",i)),n=()=>{window.addEventListener("pointermove",e),window.addEventListener("pointerup",i)};return window.addEventListener("pointerdown",n),{dispose:()=>window.removeEventListener("pointerdown",n)}},n=()=>{const t=i((()=>{var t;this.isUserInteractingWithModel=!0,null===(t=this.stateMap.hoverCursor)||void 0===t||t.dispose()})),e=this.createInteractionMoveHandler(),n=async i=>{var s;if(0===i.button)if(this.isUserInteractingWithModel)this.isUserInteractingWithModel=!1;else{const r=this.getHitProvider();if(null!=r){const a=p(i,this.elementBounds),o=this.snapPoint(a,i);await(null===(s=this.interaction)||void 0===s?void 0:s.finish(o,r)),window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",n),t.dispose(),this.updateMeasurementPropsFromModel(),this.endEditing()}}};this.beginEditing("end"),window.addEventListener("pointermove",e),window.addEventListener("pointerup",n)},s=this.getHitProvider();if(null!=s){const i=p(t,this.elementBounds),r=this.snapPoint(i,t);this.interaction=this.controller.newMeasurement(r,s),e(n)}}}}async computeElementMetrics(){var t,e,i;const n=null===(t=this.hostEl.shadowRoot)||void 0===t?void 0:t.getElementById("start-anchor"),s=null===(e=this.hostEl.shadowRoot)||void 0===e?void 0:e.getElementById("end-anchor"),r=null===(i=this.hostEl.shadowRoot)||void 0===i?void 0:i.getElementById("label");return null!=n&&null!=s&&null!=r?{startAnchor:n.getBoundingClientRect(),endAnchor:s.getBoundingClientRect(),label:r.getBoundingClientRect()}:void 0}componentWillLoad(){this.updatePropsFromJson(),this.model.setMeasurementFromValues(this.start,this.end,!this.invalid),this.getStencilBuffer(),this.updateViewport(),this.handleViewerChanged(this.viewer),this.handleModeChanged(),this.computePropsAndState(),this.model.onIndicatorChanged((t=>{this.indicatorPt=t}))}componentDidLoad(){new ResizeObserver((()=>this.updateViewport())).observe(this.hostEl)}componentWillUpdate(){this.computePropsAndState()}render(){const e=this.computeElementPositions(),{startPt:i,endPt:s,labelPt:r,indicatorPt:a,hideStart:o,hideEnd:h}=e,l=this.formatDistance(this.distance);return t(n,null,t("div",{class:"measurement"},t(j,"edit"===this.mode?{startPt:i,endPt:s,centerPt:r,indicatorPt:a,distance:l,anchorLabelOffset:this.anchorLabelOffset,lineCapLength:this.lineCapLength,hideStartAnchor:o,hideEndAnchor:h,onStartAnchorPointerDown:this.handleEditAnchor("start"),onEndAnchorPointerDown:this.handleEditAnchor("end")}:"replace"===this.mode?{startPt:i,endPt:s,centerPt:r,indicatorPt:a,distance:l,hideStartAnchor:o,hideEndAnchor:h,anchorLabelOffset:this.anchorLabelOffset,lineCapLength:this.lineCapLength}:{startPt:i,endPt:s,centerPt:r,indicatorPt:this.indicatorPt,distance:l,hideStartAnchor:o,hideEndAnchor:h,anchorLabelOffset:this.anchorLabelOffset,lineCapLength:this.lineCapLength,linePointerEvents:"painted"})))}handleViewerChanged(t,e){null!=e&&(e.removeEventListener("frameDrawn",this.handleFrameDrawn),this.removeInteractionListeners(e)),null!=t&&(t.addEventListener("frameDrawn",this.handleFrameDrawn),this.addInteractionListeners(t))}handleUnitsChanged(){this.measurementUnits=new f(this.units)}handleCameraChanged(){this.updateCamera()}handleModeChanged(){this.warnIfDepthBuffersDisabled()}handleStartChanged(){this.updateInteractionModel()}handleEndChanged(){this.updateInteractionModel()}handleInvalidChanged(){this.updateInteractionModel()}computePropsAndState(){this.updateCamera(),this.updateDepthBuffer(),this.updateMeasurementPropsFromModel()}async setCursor(t){var e,i;null===(e=this.stateMap.hoverCursor)||void 0===e||e.dispose(),this.isUserInteractingWithModel||(this.stateMap.hoverCursor=await(null===(i=this.viewer)||void 0===i?void 0:i.addCursor(t)))}computeElementPositions(){return"replace"===this.mode?this.computeReplaceElementPositions():this.computeEditOrViewElementPositions()}computeEditOrViewElementPositions(){const t=this.model.getMeasurement();return null!=this.internalCamera&&null!=t?this.computeLineElementPositions(this.internalCamera.projectionViewMatrix,h.create(t)):{}}computeReplaceElementPositions(){if(null!=this.internalCamera){const t=this.model.getMeasurement();if(null!=t)return this.computeLineElementPositions(this.internalCamera.projectionViewMatrix,h.create({start:t.start,end:t.end}));if(null!=this.indicatorPt)return{indicatorPt:c(this.indicatorPt,this.internalCamera.projectionViewMatrix,this.viewport)}}return{}}computeLineElementPositions(t,e){return null!=this.internalCamera?u(e,this.interactingAnchor,{projectionViewMatrix:t,viewport:this.viewport,camera:this.internalCamera}):{}}updateCamera(){var t,e;this.internalCamera=this.camera||(null===(e=null===(t=this.viewer)||void 0===t?void 0:t.frame)||void 0===e?void 0:e.scene.camera)}async updateDepthBuffer(){var t,e;this.stateMap.depthBuffer=await(null===(e=null===(t=this.viewer)||void 0===t?void 0:t.frame)||void 0===e?void 0:e.depthBuffer())}updateViewport(){const t=this.hostEl.getBoundingClientRect();this.viewport=new b(t.width,t.height),this.elementBounds=t}updatePropsFromJson(){var t,e;this.start=H(null!==(t=this.startJson)&&void 0!==t?t:this.start),this.end=H(null!==(e=this.endJson)&&void 0!==e?e:this.end)}updateInteractionModel(){this.model.setMeasurementFromValues(this.start,this.end,!this.invalid)}invalidateState(){this.invalidateStateCounter=this.invalidateStateCounter+1}async addInteractionListeners(t){const e=await t.getInteractionTarget();"replace"===this.mode&&(e.addEventListener("pointermove",this.updateStartAnchor),e.addEventListener("pointerdown",this.newMeasurement),e.addEventListener("pointerleave",this.clearIndicator))}async removeInteractionListeners(t){const e=await t.getInteractionTarget();e.removeEventListener("pointermove",this.updateStartAnchor),e.removeEventListener("pointerdown",this.newMeasurement),e.removeEventListener("pointerleave",this.clearIndicator)}handleEditAnchor(t){if("edit"===this.mode){const e=this.createInteractionMoveHandler(),i=async t=>{var n;const s=this.getHitProvider();if(null!=s){window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",i);const r=p(t,this.elementBounds),a=this.snapPoint(r,t);await(null===(n=this.interaction)||void 0===n?void 0:n.finish(a,s)),this.updateMeasurementPropsFromModel(),this.endEditing()}};return n=>{this.getStencilBuffer(),0===n.button&&(this.beginEditing(t),this.interaction=this.controller.editMeasurement(t),window.addEventListener("pointermove",e),window.addEventListener("pointerup",i))}}}createInteractionMoveHandler(){return t=>{var e;const i=this.getHitProvider();if(null!=this.elementBounds&&null!=i){t.preventDefault(),this.getStencilBuffer();const n=p(t,this.elementBounds),s=this.snapPoint(n,t);null===(e=this.interaction)||void 0===e||e.update(s,i),this.updateMeasurementPropsFromModel()}}}async getStencilBuffer(){var t;const e=await(null===(t=this.viewer)||void 0===t?void 0:t.stencilBuffer.latestAfterInteraction());this.stateMap.stencil=e}snapPoint(t,e){const i=this.getHitProvider();if(null!=i&&!e.shiftKey){const e=Math.max(0,this.snapDistance);return i.hitTester().snapToNearestPixel(t,e)}return t}formatDistance(t){const e=null!=t?this.measurementUnits.convertWorldValueToReal(t):void 0;if(null!=this.labelFormatter)return this.labelFormatter(e);{const t=this.measurementUnits.unit.abbreviatedName;return null==e?"---":`~${e.toFixed(this.fractionalDigits)} ${t}`}}beginEditing(t){0===this.interactionCount&&(this.interactingAnchor=t,this.editBegin.emit()),this.interactionCount=this.interactionCount+1}endEditing(){1===this.interactionCount&&(this.interactingAnchor="none",this.editEnd.emit()),this.interactionCount=this.interactionCount-1}getHitProvider(){if(null!=this.hitProvider)return this.hitProvider;{const t=this.getHitTester(),e=this.viewer;if(null!=e&&null!=t)return{hitTester:()=>t,raycaster:async()=>(await e.scene()).raycaster()}}}getHitTester(){const{stencil:t,depthBuffer:e}=this.stateMap;if(null!=t&&null!=e)return new x(t,e,this.viewport)}updateMeasurementPropsFromModel(){const t=this.model.getMeasurement();this.start=null==t?void 0:t.start,this.end=null==t?void 0:t.end,this.distance=null==t?void 0:t.distance,this.invalid=null!=t&&!t.valid}updateIndicator(t){var e;const i=this.getHitProvider();null!=i&&this.controller.moveIndicator(t,i)?this.setCursor(m):null===(e=this.stateMap.hoverCursor)||void 0===e||e.dispose()}warnIfDepthBuffersDisabled(){null!=this.viewer&&null==this.viewer.depthBuffers&&console.warn("Measurement editing is disabled. <vertex-viewer> must have its `depth-buffers` attribute set.")}get hostEl(){return s(this)}static get watchers(){return{viewer:["handleViewerChanged"],units:["handleUnitsChanged"],camera:["handleCameraChanged"],mode:["handleModeChanged"],start:["handleStartChanged"],end:["handleEndChanged"],invalid:["handleInvalidChanged"]}}};function H(t){return"string"==typeof t?r.fromJson(t):t}T.style=":host{--viewer-measurement-distance-accent-color:var(--neutral-900);--viewer-measurement-distance-contrast-color:var(--white);--viewer-measurement-distance-invalid-accent-color:var(--red-600);--viewer-measurement-distance-invalid-contrast-color:var(--white);--viewer-measurement-distance-line-stroke-width:1.25px;--viewer-measurement-distance-line-fill-width:2px;--viewer-measurement-distance-distance-border:1px solid\n var(--viewer-measurement-distance-accent-color);--viewer-measurement-distance-distance-border-radius:0.25rem;--viewer-measurement-distance-distance-padding:0.375rem 0.5rem;color:var(--viewer-measurement-distance-accent-color);font-size:0.75rem;position:absolute;width:100%;height:100%;overflow:hidden}:host([invalid]){--viewer-measurement-distance-accent-color:var(\n --viewer-measurement-distance-invalid-accent-color\n ) !important;--viewer-measurement-distance-contrast-color:var(\n --viewer-measurement-distance-invalid-contrast-color\n ) !important}.measurement{position:absolute;width:100%;height:100%;pointer-events:none}.line{--viewer-measurement-line-stroke:var(\n --viewer-measurement-distance-contrast-color\n );--viewer-measurement-line-stroke-opacity:0.75;--viewer-measurement-line-stroke-width:var(\n --viewer-measurement-distance-line-stroke-width\n );--viewer-measurement-line-fill:var(\n --viewer-measurement-distance-accent-color\n );--viewer-measurement-line-fill-width:var(\n --viewer-measurement-distance-line-fill-width\n );position:absolute;width:100%;height:100%}.anchor{position:absolute;border-radius:50%;transform:translate(-50%, -50%);display:block}:host(:not([mode='replace'])) .anchor,:host(:not([mode='replace'])) .anchor-label,:host(:not([mode='replace'])) .distance-label{pointer-events:auto}:host([interacting-anchor='start']) .anchor-start,:host([interacting-anchor='start']) .anchor-label-start{visibility:hidden}.hide-start-line-cap,:host([interacting-anchor='start']) .line{--viewer-measurement-line-start-cap-visibility:hidden}:host([interacting-anchor='end']) .anchor-end,:host([interacting-anchor='end']) .anchor-label-end{visibility:hidden}.hide-end-line-cap,:host([interacting-anchor='end']) .line{--viewer-measurement-line-end-cap-visibility:hidden}.anchor-label{position:absolute;border-radius:50%;transform:translate(-50%, -50%);display:block}:host([mode='edit']){cursor:inherit}:host([mode='edit']) .anchor{cursor:move}:host(:not([mode='edit'])) .anchor{visibility:hidden}.anchor-placeholder{background:var(--viewer-measurement-distance-contrast-color);width:12px;height:12px;border-radius:50%;box-sizing:border-box}:host([mode='edit']) .anchor-placeholder{border:2px solid var(--viewer-measurement-distance-accent-color);background:var(--viewer-measurement-distance-contrast-color)}:host([mode='']) .distance-label{color:var(--viewer-measurement-distance-contrast-color);background:var(--viewer-measurement-distance-accent-color)}.distance-label{position:absolute;background:var(--viewer-measurement-distance-contrast-color);border:var(--viewer-measurement-distance-distance-border);border-radius:var(--viewer-measurement-distance-distance-border-radius);padding:var(--viewer-measurement-distance-distance-padding)}.indicator{position:absolute}.indicator-placeholder{background:var(--viewer-measurement-distance-accent-color);border:1px solid var(--viewer-measurement-distance-contrast-color);width:6px;height:6px;border-radius:50%;box-sizing:border-box}";let V=class{constructor(t){e(this,t),this.start=o.create(),this.end=o.create(),this.capLength=0,this.pointerEvents="none"}render(){const e=a.fromPoints(this.start,this.end),i=B(this.start,this.end,e,this.capLength),n=B(this.start,this.end,e,this.capLength+1);return t("svg",null,t("g",{class:"line-stroke","pointer-events":this.pointerEvents},t("line",{class:"line",x1:this.start.x,y1:this.start.y,x2:this.end.x,y2:this.end.y}),t("line",{class:"start-cap",x1:n.startEndCap.start.x,y1:n.startEndCap.start.y,x2:n.startEndCap.end.x,y2:n.startEndCap.end.y}),t("line",{class:"end-cap",x1:n.endEndCap.start.x,y1:n.endEndCap.start.y,x2:n.endEndCap.end.x,y2:n.endEndCap.end.y})),t("g",{class:"line-fill","pointer-events":this.pointerEvents},t("line",{class:"line",x1:this.start.x,y1:this.start.y,x2:this.end.x,y2:this.end.y}),t("line",{class:"start-cap",x1:i.startEndCap.start.x,y1:i.startEndCap.start.y,x2:i.startEndCap.end.x,y2:i.startEndCap.end.y}),t("line",{class:"end-cap",x1:i.endEndCap.start.x,y1:i.endEndCap.start.y,x2:i.endEndCap.end.x,y2:i.endEndCap.end.y})))}};function B(t,e,i,n){return{startEndCap:O(t,i,n),endEndCap:O(e,i,n)}}function O(t,e,i){const n=e+Math.PI/2;return{start:o.add(t,o.polar(i/2,n)),end:o.add(t,o.polar(i/2,n+Math.PI))}}V.style=":host{display:block;--viewer-measurement-line-stroke:var(--white);--viewer-measurement-line-stroke-opacity:0.75;--viewer-measurement-line-stroke-width:1.25px;--viewer-measurement-line-fill:var(--neutral-900);--viewer-measurement-line-fill-width:2px;--viewer-measurement-line-start-cap-visibility:initial;--viewer-measurement-line-end-cap-visibility:initial}svg{width:100%;height:100%}.line-stroke{stroke-width:calc(\n var(--viewer-measurement-line-fill-width) +\n var(--viewer-measurement-line-stroke-width)\n );stroke:var(--viewer-measurement-line-stroke);opacity:var(--viewer-measurement-line-stroke-opacity)}.line-fill{stroke-width:var(--viewer-measurement-line-fill-width);stroke:var(--viewer-measurement-line-fill)}.start-cap{visibility:var(--viewer-measurement-line-start-cap-visibility)}.end-cap{visibility:var(--viewer-measurement-line-end-cap-visibility)}";export{T as vertex_viewer_measurement_distance,V as vertex_viewer_measurement_line}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**!
|
|
2
|
-
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
|
-
*/
|
|
4
|
-
import{p as n,q as t,h as e,i as r}from"./p-784914e4.js";function s(r,s,a=60){const i=n.distance(r,s),o=e.normalize(e.toDegrees(e.fromPoints(r,s))-270),E=Math.max(4,Math.min(16,.25*i)),f=E/Math.cos(e.toRadians(90-a)),u=t.rotation(o),R=n.polar(f,e.toRadians(2*a)),c=n.polar(f,e.toRadians(a)),M=n.polar(E,e.toRadians(90));return{tip:s,left:n.add(s,t.transformPoint(u,R)),right:n.add(s,t.transformPoint(u,c)),base:n.add(s,t.transformPoint(u,M))}}function a(n){return[n.tip,n.right,n.base,n.left].map((n=>`${n.x},${n.y}`)).join(" ")}function i(n){return n instanceof HTMLElement&&"VERTEX-VIEWER-MARKUP-ARROW"===n.nodeName}function o(t){return"string"==typeof t?n.fromJson(t):t}function E(n){return n instanceof HTMLElement&&"VERTEX-VIEWER-MARKUP-CIRCLE"===n.nodeName}function f(n){return"string"==typeof n?r.fromJson(n):n}function u(t){return"string"==typeof t?JSON.parse(t).map((t=>n.fromJson(JSON.stringify(t)))):t}function R(n){return n instanceof HTMLElement&&"VERTEX-VIEWER-MARKUP-FREEFORM"===n.nodeName}export{E as a,R as b,s as c,a as d,f as e,u as f,i,o as p}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**!
|
|
2
|
-
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
|
-
*/
|
|
4
|
-
import{h as e,F as t,r as i,H as o}from"./p-75337d0b.js";import{v as r,s as a,t as n}from"./p-784914e4.js";import{r as c}from"./p-39d1720c.js";import{O as s,c as d,w as h}from"./p-d2a9e047.js";import{c as l}from"./p-f482325b.js";import"./p-f70d8def.js";import"./p-112455b1.js";const f={front:{direction:r.back(),quaternion:a.create()},back:{direction:r.forward(),quaternion:a.fromAxisAngle(r.up(),Math.PI)},left:{direction:r.left(),quaternion:a.fromAxisAngle(r.down(),Math.PI/2)},right:{direction:r.right(),quaternion:a.fromAxisAngle(r.up(),Math.PI/2)},top:{direction:r.up(),quaternion:a.fromAxisAngle(r.right(),-Math.PI/2)},bottom:{direction:r.down(),quaternion:a.fromAxisAngle(r.left(),-Math.PI/2)}},b=({label:i,length:o,rotationAxis:c})=>{const s={width:`${o+5}px`},d=a.fromAxisAngle(c,Math.PI/2),h=r.scale(o+15,r.right());return e(t,null,e("vertex-viewer-dom-group",{quaternion:d},e("vertex-viewer-dom-element",{style:s,billboardOff:!0,interactionsOff:!0},e("div",{class:`triad-axis triad-axis-${i.toLowerCase()}`})),e("vertex-viewer-dom-element",{rotation:n.create({x:Math.PI/2,y:0,z:0}),style:s,billboardOff:!0,interactionsOff:!0},e("div",{class:`triad-axis triad-axis-${i.toLowerCase()}`})),e("vertex-viewer-dom-element",{position:h,interactionsOff:!0},e("div",{class:`triad-label triad-label-${i.toLowerCase()}`},i))))},g=({label:t,length:i,side:o,disabled:a,onPointerDown:n})=>{const{direction:c,quaternion:s}=f[o],d=r.scale(i/2-.1,c);return e("vertex-viewer-dom-element",{class:l("cube-side",{disabled:a}),position:d,quaternion:s,style:{width:`${i}px`,height:`${i}px`},onPointerDown:n,billboardOff:!0},e("div",{class:`cube-side-face cube-side-face-${t.toLowerCase()}`},t))},v=({length:t,face1Side:i,face1Corner:o,face2Side:a,face2Corner:n,face3Side:c,face3Corner:s,disabled:d,onPointerDown:h})=>{const{direction:b,quaternion:g}=f[i],{direction:v,quaternion:u}=f[a],{direction:w,quaternion:p}=f[c],m=r.scale(t/2,b),x=r.scale(t/2,v),S=r.scale(t/2,w),k={width:`${t}px`,height:`${t}px`};return e("vertex-viewer-dom-group",{class:l("cube-corner",{disabled:d}),onPointerDown:h},e("vertex-viewer-dom-element",{position:m,quaternion:g,style:k,billboardOff:!0},e("div",{class:`cube-corner-face ${o}`})),e("vertex-viewer-dom-element",{position:x,quaternion:u,style:k,billboardOff:!0},e("div",{class:`cube-corner-face ${n}`})),e("vertex-viewer-dom-element",{position:S,quaternion:p,style:k,billboardOff:!0},e("div",{class:`cube-corner-face ${s}`})))},u=({length:t,face1Side:i,face2Side:o,face1Edge:a,face2Edge:n,disabled:c,onPointerDown:s})=>{const{direction:d,quaternion:h}=f[i],{direction:b,quaternion:g}=f[o],v=r.scale(t/2,d),u=r.scale(t/2,b),w={width:`${t}px`,height:`${t}px`};return e("vertex-viewer-dom-group",{class:l("cube-edge",{disabled:c}),onPointerDown:s},e("vertex-viewer-dom-element",{position:v,quaternion:h,style:w,billboardOff:!0},e("div",{class:`cube-edge-face ${a}`})),e("vertex-viewer-dom-element",{position:u,quaternion:g,style:w,billboardOff:!0},e("div",{class:`cube-edge-face ${n}`})))},w=({length:t})=>{const{direction:i,quaternion:o}=f.top,a=r.scale(-t/2,i);return e("vertex-viewer-dom-element",{class:"cube-shadow",position:a,quaternion:o,style:{width:`${t}px`,height:`${t}px`},billboardOff:!0,interactionsOff:!0},e("div",{class:"cube-shadow-face"}))};let p=class{constructor(e){i(this,e),this.boxLength=80,this.triadPosition=r.origin(),this.xPositiveLabel="Left",this.xNegativeLabel="Right",this.yPositiveLabel="Top",this.yNegativeLabel="Bottom",this.zPositiveLabel="Front",this.zNegativeLabel="Back",this.standardViewsOff=!1,this.animationDuration=500,this.triadOff=!1,this.worldOrientation=s.DEFAULT,this.updateMatrices=()=>{var e;if(null!=(null===(e=this.viewer)||void 0===e?void 0:e.frame)){const{camera:e}=this.viewer.frame.scene,t=this.boxLength/2;this.triadPosition=r.create(-t-5,-t-5,-t-5);const i=21.5;this.camera=new d(r.scale(3.125*this.boxLength,r.negate(e.direction)),r.origin(),e.up,.1,100,1,i),this.worldOrientation=this.viewer.frame.scene.worldOrientation}}}handleViewerChanged(e,t){null==t||t.removeEventListener("frameDrawn",this.updateMatrices),null==e||e.addEventListener("frameDrawn",this.updateMatrices),this.updateMatrices()}handleStandardView(e){return this.standardViewsOff?async()=>{}:async()=>{if(null!=this.viewer){const t=await this.viewer.scene(),i=this.animationDuration>0?{animation:{milliseconds:this.animationDuration}}:{},o=e.transformMatrix(this.worldOrientation.matrix);t.camera().standardView(o).viewAll().render(i)}}}componentWillLoad(){this.handleViewerChanged(this.viewer)}componentDidLoad(){null!=this.rendererEl&&(new ResizeObserver((()=>this.handleRendererResized())).observe(this.rendererEl),this.handleRendererResized())}handleRendererResized(){c((()=>{if(null!=this.rendererEl){const e=this.rendererEl.getBoundingClientRect();this.boxLength=Math.min(e.width,e.height)}}))}render(){return e(o,null,e("vertex-viewer-dom-renderer",{ref:e=>this.rendererEl=e,class:"renderer",camera:this.camera},!this.triadOff&&e("vertex-viewer-dom-group",{class:"triad",position:this.triadPosition},e(b,{label:"X",length:this.boxLength,rotationAxis:r.origin()}),e(b,{label:"Y",length:this.boxLength,rotationAxis:r.back()}),e(b,{label:"Z",length:this.boxLength,rotationAxis:r.down()})),e("vertex-viewer-dom-group",{class:"cube",matrix:this.worldOrientation.matrix},e(w,{length:this.boxLength+10}),e(g,{label:this.zPositiveLabel,length:this.boxLength,side:"front",onPointerDown:this.handleStandardView(h.FRONT),disabled:this.standardViewsOff}),e(g,{label:this.zNegativeLabel,length:this.boxLength,side:"back",onPointerDown:this.handleStandardView(h.BACK),disabled:this.standardViewsOff}),e(g,{label:this.xNegativeLabel,length:this.boxLength,side:"left",onPointerDown:this.handleStandardView(h.RIGHT),disabled:this.standardViewsOff}),e(g,{label:this.xPositiveLabel,length:this.boxLength,side:"right",onPointerDown:this.handleStandardView(h.LEFT),disabled:this.standardViewsOff}),e(g,{label:this.yPositiveLabel,length:this.boxLength,side:"top",onPointerDown:this.handleStandardView(h.TOP),disabled:this.standardViewsOff}),e(g,{label:this.yNegativeLabel,length:this.boxLength,side:"bottom",onPointerDown:this.handleStandardView(h.BOTTOM),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"top",face1Edge:"bottom",face2Side:"front",face2Edge:"top",onPointerDown:this.handleStandardView(h.TOP_FRONT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"front",face1Edge:"right",face2Side:"right",face2Edge:"left",onPointerDown:this.handleStandardView(h.FRONT_LEFT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"bottom",face1Edge:"top",face2Side:"front",face2Edge:"bottom",onPointerDown:this.handleStandardView(h.BOTTOM_FRONT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"front",face1Edge:"left",face2Side:"left",face2Edge:"right",onPointerDown:this.handleStandardView(h.FRONT_RIGHT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"top",face1Edge:"right",face2Side:"right",face2Edge:"top",onPointerDown:this.handleStandardView(h.TOP_LEFT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"back",face1Edge:"left",face2Side:"right",face2Edge:"right",onPointerDown:this.handleStandardView(h.BACK_LEFT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"bottom",face1Edge:"right",face2Side:"right",face2Edge:"bottom",onPointerDown:this.handleStandardView(h.BOTTOM_LEFT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"top",face1Edge:"top",face2Side:"back",face2Edge:"top",onPointerDown:this.handleStandardView(h.TOP_BACK),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"back",face1Edge:"right",face2Side:"left",face2Edge:"left",onPointerDown:this.handleStandardView(h.BACK_RIGHT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"bottom",face1Edge:"bottom",face2Side:"back",face2Edge:"bottom",onPointerDown:this.handleStandardView(h.BOTTOM_BACK),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"top",face1Edge:"left",face2Side:"left",face2Edge:"top",onPointerDown:this.handleStandardView(h.TOP_RIGHT),disabled:this.standardViewsOff}),e(u,{length:this.boxLength,face1Side:"bottom",face1Edge:"left",face2Side:"left",face2Edge:"bottom",onPointerDown:this.handleStandardView(h.BOTTOM_RIGHT),disabled:this.standardViewsOff}),e(v,{length:this.boxLength,face1Side:"top",face1Corner:"bottom-left",face2Side:"front",face2Corner:"top-left",face3Side:"left",face3Corner:"top-right",onPointerDown:this.handleStandardView(h.TOP_FRONT_RIGHT),disabled:this.standardViewsOff}),e(v,{length:this.boxLength,face1Side:"top",face1Corner:"bottom-right",face2Side:"front",face2Corner:"top-right",face3Side:"right",face3Corner:"top-left",onPointerDown:this.handleStandardView(h.TOP_FRONT_LEFT),disabled:this.standardViewsOff}),e(v,{length:this.boxLength,face1Side:"bottom",face1Corner:"top-right",face2Side:"front",face2Corner:"bottom-right",face3Side:"right",face3Corner:"bottom-left",onPointerDown:this.handleStandardView(h.BOTTOM_FRONT_LEFT),disabled:this.standardViewsOff}),e(v,{length:this.boxLength,face1Side:"bottom",face1Corner:"top-left",face2Side:"front",face2Corner:"bottom-left",face3Side:"left",face3Corner:"bottom-right",onPointerDown:this.handleStandardView(h.BOTTOM_FRONT_RIGHT),disabled:this.standardViewsOff}),e(v,{length:this.boxLength,face1Side:"top",face1Corner:"top-right",face2Side:"back",face2Corner:"top-left",face3Side:"right",face3Corner:"top-right",onPointerDown:this.handleStandardView(h.TOP_BACK_LEFT),disabled:this.standardViewsOff}),e(v,{length:this.boxLength,face1Side:"top",face1Corner:"top-left",face2Side:"back",face2Corner:"top-right",face3Side:"left",face3Corner:"top-left",onPointerDown:this.handleStandardView(h.TOP_BACK_RIGHT),disabled:this.standardViewsOff}),e(v,{length:this.boxLength,face1Side:"bottom",face1Corner:"bottom-left",face2Side:"back",face2Corner:"bottom-right",face3Side:"left",face3Corner:"bottom-left",onPointerDown:this.handleStandardView(h.BOTTOM_BACK_RIGHT),disabled:this.standardViewsOff}),e(v,{length:this.boxLength,face1Side:"bottom",face1Corner:"bottom-right",face2Side:"back",face2Corner:"bottom-left",face3Side:"right",face3Corner:"bottom-right",onPointerDown:this.handleStandardView(h.BOTTOM_BACK_LEFT),disabled:this.standardViewsOff}))))}static get watchers(){return{viewer:["handleViewerChanged"]}}};p.style=":host{--viewer-view-cube-side-background:var(--white);--viewer-view-cube-side-background-hover:var(--blue-500);--viewer-view-cube-side-background-hover-opacity:0.25;--viewer-view-cube-side-border:1.5px solid var(--neutral-500);--viewer-view-cube-edge-length:12px;--viewer-view-cube-opacity:0.8;display:block;color:var(--neutral-700);width:80px;height:80px;margin:20px;position:relative;display:flex;align-items:center;justify-content:center;user-select:none}.renderer{position:unset;width:100%;height:100%;overflow:visible}.reference-point{width:5px;height:5px;border-radius:50%;background-color:black}.triad{pointer-events:none}.triad-axis{width:100%;height:1.5px;outline:1px solid transparent;transform:translateX(50%)}.triad-axis-x{background-color:#ea3324}.triad-axis-y{background-color:#4faf32}.triad-axis-z{background-color:#0000ff}.triad-label{font-family:Arial, Helvetica, sans-serif;font-size:0.6875rem}.triad-label-x{color:#ea3324}.triad-label-y{color:#4faf32}.triad-label-z{color:#0000ff}.cube{pointer-events:initial}.cube:hover .cube-side-face{opacity:1}.cube-side{backface-visibility:hidden;-webkit-backface-visibility:hidden}.cube-side-face{box-sizing:border-box;font-size:0.875rem;text-transform:uppercase;width:100%;height:100%;background-color:var(--viewer-view-cube-side-background);border:var(--viewer-view-cube-side-border);display:flex;align-items:center;justify-content:center;outline:1px solid transparent;opacity:var(--viewer-view-cube-opacity);transition:opacity 0.2s ease-in-out}.cube-side-face::before{content:'';position:absolute;left:calc(var(--viewer-view-cube-edge-length) - 4px);right:calc(var(--viewer-view-cube-edge-length) - 4px);top:calc(var(--viewer-view-cube-edge-length) - 4px);bottom:calc(var(--viewer-view-cube-edge-length) - 4px)}.cube-corner,.cube-edge{position:relative}.cube-corner-face,.cube-edge-face{position:absolute;backface-visibility:hidden;-webkit-backface-visibility:hidden}.cube-edge-face.top{top:0;left:var(--viewer-view-cube-edge-length);right:var(--viewer-view-cube-edge-length);height:var(--viewer-view-cube-edge-length)}.cube-edge-face.bottom{bottom:0;left:var(--viewer-view-cube-edge-length);right:var(--viewer-view-cube-edge-length);height:var(--viewer-view-cube-edge-length)}.cube-edge-face.left{left:0;top:var(--viewer-view-cube-edge-length);bottom:var(--viewer-view-cube-edge-length);width:var(--viewer-view-cube-edge-length)}.cube-edge-face.right{right:0;top:var(--viewer-view-cube-edge-length);bottom:var(--viewer-view-cube-edge-length);width:var(--viewer-view-cube-edge-length)}.cube-corner-face{width:var(--viewer-view-cube-edge-length);height:var(--viewer-view-cube-edge-length)}.cube-corner-face.top-left{top:0;left:0}.cube-corner-face.top-right{top:0;right:0}.cube-corner-face.bottom-right{bottom:0;right:0}.cube-corner-face.bottom-left{bottom:0;left:0}.cube-shadow{backface-visibility:hidden;-webkit-backface-visibility:hidden}.cube-shadow-face{position:absolute;left:4px;right:4px;top:4px;bottom:4px;background-color:black;opacity:0.12;filter:blur(4px)}.cube-corner .cube-corner-face,.cube-edge .cube-edge-face,.cube-side .cube-side-face::before{background:var(--viewer-view-cube-side-background-hover);opacity:0}.cube-corner:hover .cube-corner-face,.cube-edge:hover .cube-edge-face,.cube-side:hover .cube-side-face::before{opacity:var(--viewer-view-cube-side-background-hover-opacity)}.cube-corner.disabled,.cube-edge.disabled,.cube-side.disabled{pointer-events:none}";export{p as vertex_viewer_view_cube}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**!
|
|
2
|
-
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
|
-
*/
|
|
4
|
-
import{m as o,E as t}from"./p-f70d8def.js";import{e as r,g as n,v as i}from"./p-d2a9e047.js";import{c as u}from"./p-112455b1.js";import{a as p,w as e}from"./p-3a20a038.js";var s=u((function(o,t){var r=p,n=Function("return this")();r.exportSymbol("proto.vertexvis.protobuf.core.Uuid",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Uuid2l",null,n),proto.vertexvis.protobuf.core.Uuid=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Uuid,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Uuid.displayName="proto.vertexvis.protobuf.core.Uuid"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Uuid.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Uuid.toObject(o,this)},proto.vertexvis.protobuf.core.Uuid.toObject=function(o,t){var r={hex:p.Message.getFieldWithDefault(t,1,"")};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Uuid.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Uuid;return proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readString();o.setHex(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Uuid.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Uuid.serializeBinaryToWriter=function(o,t){var r;(r=o.getHex()).length>0&&t.writeString(1,r)},proto.vertexvis.protobuf.core.Uuid.prototype.getHex=function(){return p.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.core.Uuid.prototype.setHex=function(o){p.Message.setProto3StringField(this,1,o)},proto.vertexvis.protobuf.core.Uuid2l=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Uuid2l,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Uuid2l.displayName="proto.vertexvis.protobuf.core.Uuid2l"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Uuid2l.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Uuid2l.toObject(o,this)},proto.vertexvis.protobuf.core.Uuid2l.toObject=function(o,t){var r={msb:p.Message.getFieldWithDefault(t,1,"0"),lsb:p.Message.getFieldWithDefault(t,2,"0")};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Uuid2l.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Uuid2l;return proto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readSfixed64String();o.setMsb(r);break;case 2:r=t.readSfixed64String(),o.setLsb(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Uuid2l.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Uuid2l.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Uuid2l.serializeBinaryToWriter=function(o,t){var r=void 0;r=o.getMsb(),0!==parseInt(r,10)&&t.writeSfixed64String(1,r),r=o.getLsb(),0!==parseInt(r,10)&&t.writeSfixed64String(2,r)},proto.vertexvis.protobuf.core.Uuid2l.prototype.getMsb=function(){return p.Message.getFieldWithDefault(this,1,"0")},proto.vertexvis.protobuf.core.Uuid2l.prototype.setMsb=function(o){p.Message.setProto3StringIntField(this,1,o)},proto.vertexvis.protobuf.core.Uuid2l.prototype.getLsb=function(){return p.Message.getFieldWithDefault(this,2,"0")},proto.vertexvis.protobuf.core.Uuid2l.prototype.setLsb=function(o){p.Message.setProto3StringIntField(this,2,o)},r.object.extend(t,proto.vertexvis.protobuf.core)})),c=u((function(o,t){var r=p,n=function(){return this?this:"undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:Function("return this")()}.call(null);r.exportSymbol("proto.google.protobuf.Any",null,n),proto.google.protobuf.Any=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.google.protobuf.Any,p.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Any.displayName="proto.google.protobuf.Any"),p.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Any.prototype.toObject=function(o){return proto.google.protobuf.Any.toObject(o,this)},proto.google.protobuf.Any.toObject=function(o,t){var r={typeUrl:p.Message.getFieldWithDefault(t,1,""),value:t.getValue_asB64()};return o&&(r.$jspbMessageInstance=t),r}),proto.google.protobuf.Any.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.google.protobuf.Any;return proto.google.protobuf.Any.deserializeBinaryFromReader(r,t)},proto.google.protobuf.Any.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readString();o.setTypeUrl(r);break;case 2:r=t.readBytes(),o.setValue(r);break;default:t.skipField()}return o},proto.google.protobuf.Any.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.google.protobuf.Any.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.protobuf.Any.serializeBinaryToWriter=function(o,t){var r=void 0;(r=o.getTypeUrl()).length>0&&t.writeString(1,r),(r=o.getValue_asU8()).length>0&&t.writeBytes(2,r)},proto.google.protobuf.Any.prototype.getTypeUrl=function(){return p.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.Any.prototype.setTypeUrl=function(o){return p.Message.setProto3StringField(this,1,o)},proto.google.protobuf.Any.prototype.getValue=function(){return p.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.Any.prototype.getValue_asB64=function(){return p.Message.bytesAsB64(this.getValue())},proto.google.protobuf.Any.prototype.getValue_asU8=function(){return p.Message.bytesAsU8(this.getValue())},proto.google.protobuf.Any.prototype.setValue=function(o){return p.Message.setProto3BytesField(this,2,o)},r.object.extend(t,proto.google.protobuf),proto.google.protobuf.Any.prototype.getTypeName=function(){return this.getTypeUrl().split("/").pop()},proto.google.protobuf.Any.prototype.pack=function(o,t,r){r||(r="type.googleapis.com/"),"/"!=r.substr(-1)?this.setTypeUrl(r+"/"+t):this.setTypeUrl(r+t),this.setValue(o)},proto.google.protobuf.Any.prototype.unpack=function(o,t){return this.getTypeName()==t?o(this.getValue_asU8()):null}})),f=u((function(o,t){var r=p,n=Function("return this")();r.exportSymbol("proto.vertexvis.protobuf.core.ModelEntity",null,n),proto.vertexvis.protobuf.core.ModelEntity=function(o){p.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.core.ModelEntity.repeatedFields_,null)},r.inherits(proto.vertexvis.protobuf.core.ModelEntity,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.ModelEntity.displayName="proto.vertexvis.protobuf.core.ModelEntity"),proto.vertexvis.protobuf.core.ModelEntity.repeatedFields_=[3],p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.ModelEntity.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.ModelEntity.toObject(o,this)},proto.vertexvis.protobuf.core.ModelEntity.toObject=function(o,t){var r,n={entityId:p.Message.getFieldWithDefault(t,1,0),sceneItemId:(r=t.getSceneItemId())&&s.Uuid.toObject(o,r),detailsList:p.Message.toObjectList(t.getDetailsList(),c.Any.toObject,o)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.ModelEntity.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.ModelEntity;return proto.vertexvis.protobuf.core.ModelEntity.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.ModelEntity.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readInt64();o.setEntityId(r);break;case 2:r=new s.Uuid,t.readMessage(r,s.Uuid.deserializeBinaryFromReader),o.setSceneItemId(r);break;case 3:r=new c.Any,t.readMessage(r,c.Any.deserializeBinaryFromReader),o.addDetails(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.ModelEntity.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.ModelEntity.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.ModelEntity.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getEntityId())&&t.writeInt64(1,r),null!=(r=o.getSceneItemId())&&t.writeMessage(2,r,s.Uuid.serializeBinaryToWriter),(r=o.getDetailsList()).length>0&&t.writeRepeatedMessage(3,r,c.Any.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.ModelEntity.prototype.getEntityId=function(){return p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.ModelEntity.prototype.setEntityId=function(o){p.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.ModelEntity.prototype.getSceneItemId=function(){return p.Message.getWrapperField(this,s.Uuid,2)},proto.vertexvis.protobuf.core.ModelEntity.prototype.setSceneItemId=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.ModelEntity.prototype.clearSceneItemId=function(){this.setSceneItemId(void 0)},proto.vertexvis.protobuf.core.ModelEntity.prototype.hasSceneItemId=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.ModelEntity.prototype.getDetailsList=function(){return p.Message.getRepeatedWrapperField(this,c.Any,3)},proto.vertexvis.protobuf.core.ModelEntity.prototype.setDetailsList=function(o){p.Message.setRepeatedWrapperField(this,3,o)},proto.vertexvis.protobuf.core.ModelEntity.prototype.addDetails=function(o,t){return p.Message.addToRepeatedWrapperField(this,3,o,proto.google.protobuf.Any,t)},proto.vertexvis.protobuf.core.ModelEntity.prototype.clearDetailsList=function(){this.setDetailsList([])},r.object.extend(t,proto.vertexvis.protobuf.core)})),a=u((function(o,t){var r=p,n=Function("return this")();r.exportSymbol("proto.vertexvis.protobuf.core.AffineMatrix4d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.AffineMatrix4f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.AffineTransform2d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.AffineTransform2f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.AffineTransform3d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.AffineTransform3f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.BBox2d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.BBox2f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.BBox3d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.BBox3f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.BoundingBox3f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Dimension2i",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Indexed3DTriangleSet",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.IndexedVector3fArray",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.LinearTransform2d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.LinearTransform2f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.LinearTransform3d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.LinearTransform3f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Matrix4x4d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Matrix4x4f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Plane",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Point2i",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Vector2d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Vector2f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Vector3d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Vector3f",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Vector4d",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.Vector4f",null,n),proto.vertexvis.protobuf.core.Vector2f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Vector2f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector2f.displayName="proto.vertexvis.protobuf.core.Vector2f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Vector2f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Vector2f.toObject(o,this)},proto.vertexvis.protobuf.core.Vector2f.toObject=function(o,t){var r={x:+p.Message.getFieldWithDefault(t,1,0),y:+p.Message.getFieldWithDefault(t,2,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Vector2f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Vector2f;return proto.vertexvis.protobuf.core.Vector2f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Vector2f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readFloat();o.setX(r);break;case 2:r=t.readFloat(),o.setY(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Vector2f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Vector2f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Vector2f.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getX())&&t.writeFloat(1,r),0!==(r=o.getY())&&t.writeFloat(2,r)},proto.vertexvis.protobuf.core.Vector2f.prototype.getX=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector2f.prototype.setX=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector2f.prototype.getY=function(){return+p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector2f.prototype.setY=function(o){p.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector2d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Vector2d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector2d.displayName="proto.vertexvis.protobuf.core.Vector2d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Vector2d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Vector2d.toObject(o,this)},proto.vertexvis.protobuf.core.Vector2d.toObject=function(o,t){var r={x:+p.Message.getFieldWithDefault(t,1,0),y:+p.Message.getFieldWithDefault(t,2,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Vector2d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Vector2d;return proto.vertexvis.protobuf.core.Vector2d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Vector2d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readDouble();o.setX(r);break;case 2:r=t.readDouble(),o.setY(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Vector2d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Vector2d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Vector2d.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getX())&&t.writeDouble(1,r),0!==(r=o.getY())&&t.writeDouble(2,r)},proto.vertexvis.protobuf.core.Vector2d.prototype.getX=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector2d.prototype.setX=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector2d.prototype.getY=function(){return+p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector2d.prototype.setY=function(o){p.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector3f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Vector3f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector3f.displayName="proto.vertexvis.protobuf.core.Vector3f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Vector3f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Vector3f.toObject(o,this)},proto.vertexvis.protobuf.core.Vector3f.toObject=function(o,t){var r={x:+p.Message.getFieldWithDefault(t,1,0),y:+p.Message.getFieldWithDefault(t,2,0),z:+p.Message.getFieldWithDefault(t,3,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Vector3f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Vector3f;return proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readFloat();o.setX(r);break;case 2:r=t.readFloat(),o.setY(r);break;case 3:r=t.readFloat(),o.setZ(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Vector3f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getX())&&t.writeFloat(1,r),0!==(r=o.getY())&&t.writeFloat(2,r),0!==(r=o.getZ())&&t.writeFloat(3,r)},proto.vertexvis.protobuf.core.Vector3f.prototype.getX=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector3f.prototype.setX=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector3f.prototype.getY=function(){return+p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector3f.prototype.setY=function(o){p.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector3f.prototype.getZ=function(){return+p.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.Vector3f.prototype.setZ=function(o){p.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.Vector3d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Vector3d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector3d.displayName="proto.vertexvis.protobuf.core.Vector3d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Vector3d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Vector3d.toObject(o,this)},proto.vertexvis.protobuf.core.Vector3d.toObject=function(o,t){var r={x:+p.Message.getFieldWithDefault(t,1,0),y:+p.Message.getFieldWithDefault(t,2,0),z:+p.Message.getFieldWithDefault(t,3,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Vector3d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Vector3d;return proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readDouble();o.setX(r);break;case 2:r=t.readDouble(),o.setY(r);break;case 3:r=t.readDouble(),o.setZ(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Vector3d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getX())&&t.writeDouble(1,r),0!==(r=o.getY())&&t.writeDouble(2,r),0!==(r=o.getZ())&&t.writeDouble(3,r)},proto.vertexvis.protobuf.core.Vector3d.prototype.getX=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector3d.prototype.setX=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector3d.prototype.getY=function(){return+p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector3d.prototype.setY=function(o){p.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector3d.prototype.getZ=function(){return+p.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.Vector3d.prototype.setZ=function(o){p.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.Vector4f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Vector4f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector4f.displayName="proto.vertexvis.protobuf.core.Vector4f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Vector4f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Vector4f.toObject(o,this)},proto.vertexvis.protobuf.core.Vector4f.toObject=function(o,t){var r={x:+p.Message.getFieldWithDefault(t,1,0),y:+p.Message.getFieldWithDefault(t,2,0),z:+p.Message.getFieldWithDefault(t,3,0),w:+p.Message.getFieldWithDefault(t,4,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Vector4f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Vector4f;return proto.vertexvis.protobuf.core.Vector4f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Vector4f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readFloat();o.setX(r);break;case 2:r=t.readFloat(),o.setY(r);break;case 3:r=t.readFloat(),o.setZ(r);break;case 4:r=t.readFloat(),o.setW(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Vector4f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Vector4f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Vector4f.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getX())&&t.writeFloat(1,r),0!==(r=o.getY())&&t.writeFloat(2,r),0!==(r=o.getZ())&&t.writeFloat(3,r),0!==(r=o.getW())&&t.writeFloat(4,r)},proto.vertexvis.protobuf.core.Vector4f.prototype.getX=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector4f.prototype.setX=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector4f.prototype.getY=function(){return+p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector4f.prototype.setY=function(o){p.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector4f.prototype.getZ=function(){return+p.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.Vector4f.prototype.setZ=function(o){p.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.Vector4f.prototype.getW=function(){return+p.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.Vector4f.prototype.setW=function(o){p.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.Vector4d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Vector4d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector4d.displayName="proto.vertexvis.protobuf.core.Vector4d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Vector4d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Vector4d.toObject(o,this)},proto.vertexvis.protobuf.core.Vector4d.toObject=function(o,t){var r={x:+p.Message.getFieldWithDefault(t,1,0),y:+p.Message.getFieldWithDefault(t,2,0),z:+p.Message.getFieldWithDefault(t,3,0),w:+p.Message.getFieldWithDefault(t,4,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Vector4d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Vector4d;return proto.vertexvis.protobuf.core.Vector4d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Vector4d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readDouble();o.setX(r);break;case 2:r=t.readDouble(),o.setY(r);break;case 3:r=t.readDouble(),o.setZ(r);break;case 4:r=t.readDouble(),o.setW(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Vector4d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Vector4d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Vector4d.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getX())&&t.writeDouble(1,r),0!==(r=o.getY())&&t.writeDouble(2,r),0!==(r=o.getZ())&&t.writeDouble(3,r),0!==(r=o.getW())&&t.writeDouble(4,r)},proto.vertexvis.protobuf.core.Vector4d.prototype.getX=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector4d.prototype.setX=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector4d.prototype.getY=function(){return+p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector4d.prototype.setY=function(o){p.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector4d.prototype.getZ=function(){return+p.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.Vector4d.prototype.setZ=function(o){p.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.Vector4d.prototype.getW=function(){return+p.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.Vector4d.prototype.setW=function(o){p.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.BoundingBox3f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.BoundingBox3f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BoundingBox3f.displayName="proto.vertexvis.protobuf.core.BoundingBox3f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.BoundingBox3f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.BoundingBox3f.toObject(o,this)},proto.vertexvis.protobuf.core.BoundingBox3f.toObject=function(o,t){var r={xmin:+p.Message.getFieldWithDefault(t,1,0),xmax:+p.Message.getFieldWithDefault(t,2,0),ymin:+p.Message.getFieldWithDefault(t,3,0),ymax:+p.Message.getFieldWithDefault(t,4,0),zmin:+p.Message.getFieldWithDefault(t,5,0),zmax:+p.Message.getFieldWithDefault(t,6,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.BoundingBox3f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.BoundingBox3f;return proto.vertexvis.protobuf.core.BoundingBox3f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.BoundingBox3f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readFloat();o.setXmin(r);break;case 2:r=t.readFloat(),o.setXmax(r);break;case 3:r=t.readFloat(),o.setYmin(r);break;case 4:r=t.readFloat(),o.setYmax(r);break;case 5:r=t.readFloat(),o.setZmin(r);break;case 6:r=t.readFloat(),o.setZmax(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.BoundingBox3f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.BoundingBox3f.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getXmin())&&t.writeFloat(1,r),0!==(r=o.getXmax())&&t.writeFloat(2,r),0!==(r=o.getYmin())&&t.writeFloat(3,r),0!==(r=o.getYmax())&&t.writeFloat(4,r),0!==(r=o.getZmin())&&t.writeFloat(5,r),0!==(r=o.getZmax())&&t.writeFloat(6,r)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getXmin=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setXmin=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getXmax=function(){return+p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setXmax=function(o){p.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getYmin=function(){return+p.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setYmin=function(o){p.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getYmax=function(){return+p.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setYmax=function(o){p.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getZmin=function(){return+p.Message.getFieldWithDefault(this,5,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setZmin=function(o){p.Message.setProto3FloatField(this,5,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getZmax=function(){return+p.Message.getFieldWithDefault(this,6,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setZmax=function(o){p.Message.setProto3FloatField(this,6,o)},proto.vertexvis.protobuf.core.AffineMatrix4f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.AffineMatrix4f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineMatrix4f.displayName="proto.vertexvis.protobuf.core.AffineMatrix4f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.AffineMatrix4f.toObject(o,this)},proto.vertexvis.protobuf.core.AffineMatrix4f.toObject=function(o,t){var r,n={basisX:(r=t.getBasisX())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r),basisY:(r=t.getBasisY())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r),xlate:(r=t.getXlate())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r),scale:+p.Message.getFieldWithDefault(t,4,0),basisZ:(r=t.getBasisZ())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.AffineMatrix4f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.AffineMatrix4f;return proto.vertexvis.protobuf.core.AffineMatrix4f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.AffineMatrix4f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector3f;t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setBasisX(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector3f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setBasisY(r);break;case 3:r=new proto.vertexvis.protobuf.core.Vector3f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setXlate(r);break;case 4:r=t.readFloat(),o.setScale(r);break;case 5:r=new proto.vertexvis.protobuf.core.Vector3f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setBasisZ(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.AffineMatrix4f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.AffineMatrix4f.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getBasisX())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter),null!=(r=o.getBasisY())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter),null!=(r=o.getXlate())&&t.writeMessage(3,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter),0!==(r=o.getScale())&&t.writeFloat(4,r),null!=(r=o.getBasisZ())&&t.writeMessage(5,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getBasisX=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,1)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setBasisX=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.clearBasisX=function(){this.setBasisX(void 0)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.hasBasisX=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getBasisY=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,2)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setBasisY=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.clearBasisY=function(){this.setBasisY(void 0)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.hasBasisY=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getXlate=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,3)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setXlate=function(o){p.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.clearXlate=function(){this.setXlate(void 0)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.hasXlate=function(){return null!=p.Message.getField(this,3)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getScale=function(){return+p.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setScale=function(o){p.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getBasisZ=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,5)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setBasisZ=function(o){p.Message.setWrapperField(this,5,o)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.clearBasisZ=function(){this.setBasisZ(void 0)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.hasBasisZ=function(){return null!=p.Message.getField(this,5)},proto.vertexvis.protobuf.core.AffineMatrix4d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.AffineMatrix4d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineMatrix4d.displayName="proto.vertexvis.protobuf.core.AffineMatrix4d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.AffineMatrix4d.toObject(o,this)},proto.vertexvis.protobuf.core.AffineMatrix4d.toObject=function(o,t){var r,n={basisX:(r=t.getBasisX())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r),basisY:(r=t.getBasisY())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r),xlate:(r=t.getXlate())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r),scale:+p.Message.getFieldWithDefault(t,4,0),basisZ:(r=t.getBasisZ())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.AffineMatrix4d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.AffineMatrix4d;return proto.vertexvis.protobuf.core.AffineMatrix4d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.AffineMatrix4d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector3d;t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setBasisX(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector3d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setBasisY(r);break;case 3:r=new proto.vertexvis.protobuf.core.Vector3d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setXlate(r);break;case 4:r=t.readDouble(),o.setScale(r);break;case 5:r=new proto.vertexvis.protobuf.core.Vector3d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setBasisZ(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.AffineMatrix4d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.AffineMatrix4d.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getBasisX())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter),null!=(r=o.getBasisY())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter),null!=(r=o.getXlate())&&t.writeMessage(3,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter),0!==(r=o.getScale())&&t.writeDouble(4,r),null!=(r=o.getBasisZ())&&t.writeMessage(5,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getBasisX=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,1)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setBasisX=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.clearBasisX=function(){this.setBasisX(void 0)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.hasBasisX=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getBasisY=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,2)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setBasisY=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.clearBasisY=function(){this.setBasisY(void 0)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.hasBasisY=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getXlate=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,3)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setXlate=function(o){p.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.clearXlate=function(){this.setXlate(void 0)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.hasXlate=function(){return null!=p.Message.getField(this,3)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getScale=function(){return+p.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setScale=function(o){p.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getBasisZ=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,5)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setBasisZ=function(o){p.Message.setWrapperField(this,5,o)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.clearBasisZ=function(){this.setBasisZ(void 0)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.hasBasisZ=function(){return null!=p.Message.getField(this,5)},proto.vertexvis.protobuf.core.IndexedVector3fArray=function(o){p.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.core.IndexedVector3fArray.repeatedFields_,null)},r.inherits(proto.vertexvis.protobuf.core.IndexedVector3fArray,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.IndexedVector3fArray.displayName="proto.vertexvis.protobuf.core.IndexedVector3fArray"),proto.vertexvis.protobuf.core.IndexedVector3fArray.repeatedFields_=[1,2],p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.IndexedVector3fArray.toObject(o,this)},proto.vertexvis.protobuf.core.IndexedVector3fArray.toObject=function(o,t){var r={valuesList:p.Message.toObjectList(t.getValuesList(),proto.vertexvis.protobuf.core.Vector3f.toObject,o),indicesList:p.Message.getRepeatedField(t,2)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.IndexedVector3fArray.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.IndexedVector3fArray;return proto.vertexvis.protobuf.core.IndexedVector3fArray.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.IndexedVector3fArray.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector3f;t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.addValues(r);break;case 2:r=t.readPackedUint32(),o.setIndicesList(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.IndexedVector3fArray.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.IndexedVector3fArray.serializeBinaryToWriter=function(o,t){var r=void 0;(r=o.getValuesList()).length>0&&t.writeRepeatedMessage(1,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter),(r=o.getIndicesList()).length>0&&t.writePackedUint32(2,r)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.getValuesList=function(){return p.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,1)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.setValuesList=function(o){p.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.addValues=function(o,t){return p.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.core.Vector3f,t)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.clearValuesList=function(){this.setValuesList([])},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.getIndicesList=function(){return p.Message.getRepeatedField(this,2)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.setIndicesList=function(o){p.Message.setField(this,2,o||[])},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.addIndices=function(o,t){p.Message.addToRepeatedField(this,2,o,t)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.clearIndicesList=function(){this.setIndicesList([])},proto.vertexvis.protobuf.core.Indexed3DTriangleSet=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Indexed3DTriangleSet,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Indexed3DTriangleSet.displayName="proto.vertexvis.protobuf.core.Indexed3DTriangleSet"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Indexed3DTriangleSet.toObject(o,this)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.toObject=function(o,t){var r,n={vertices:(r=t.getVertices())&&proto.vertexvis.protobuf.core.IndexedVector3fArray.toObject(o,r),normals:(r=t.getNormals())&&proto.vertexvis.protobuf.core.IndexedVector3fArray.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Indexed3DTriangleSet.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Indexed3DTriangleSet;return proto.vertexvis.protobuf.core.Indexed3DTriangleSet.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.IndexedVector3fArray;t.readMessage(r,proto.vertexvis.protobuf.core.IndexedVector3fArray.deserializeBinaryFromReader),o.setVertices(r);break;case 2:r=new proto.vertexvis.protobuf.core.IndexedVector3fArray,t.readMessage(r,proto.vertexvis.protobuf.core.IndexedVector3fArray.deserializeBinaryFromReader),o.setNormals(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Indexed3DTriangleSet.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getVertices())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.IndexedVector3fArray.serializeBinaryToWriter),null!=(r=o.getNormals())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.IndexedVector3fArray.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.getVertices=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.IndexedVector3fArray,1)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.setVertices=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.clearVertices=function(){this.setVertices(void 0)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.hasVertices=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.getNormals=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.IndexedVector3fArray,2)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.setNormals=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.clearNormals=function(){this.setNormals(void 0)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.hasNormals=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.Matrix4x4f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Matrix4x4f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Matrix4x4f.displayName="proto.vertexvis.protobuf.core.Matrix4x4f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Matrix4x4f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Matrix4x4f.toObject(o,this)},proto.vertexvis.protobuf.core.Matrix4x4f.toObject=function(o,t){var r,n={r0:(r=t.getR0())&&proto.vertexvis.protobuf.core.Vector4f.toObject(o,r),r1:(r=t.getR1())&&proto.vertexvis.protobuf.core.Vector4f.toObject(o,r),r2:(r=t.getR2())&&proto.vertexvis.protobuf.core.Vector4f.toObject(o,r),r3:(r=t.getR3())&&proto.vertexvis.protobuf.core.Vector4f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Matrix4x4f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Matrix4x4f;return proto.vertexvis.protobuf.core.Matrix4x4f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Matrix4x4f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector4f;t.readMessage(r,proto.vertexvis.protobuf.core.Vector4f.deserializeBinaryFromReader),o.setR0(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector4f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector4f.deserializeBinaryFromReader),o.setR1(r);break;case 3:r=new proto.vertexvis.protobuf.core.Vector4f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector4f.deserializeBinaryFromReader),o.setR2(r);break;case 4:r=new proto.vertexvis.protobuf.core.Vector4f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector4f.deserializeBinaryFromReader),o.setR3(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Matrix4x4f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Matrix4x4f.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getR0())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector4f.serializeBinaryToWriter),null!=(r=o.getR1())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector4f.serializeBinaryToWriter),null!=(r=o.getR2())&&t.writeMessage(3,r,proto.vertexvis.protobuf.core.Vector4f.serializeBinaryToWriter),null!=(r=o.getR3())&&t.writeMessage(4,r,proto.vertexvis.protobuf.core.Vector4f.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.getR0=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4f,1)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.setR0=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.clearR0=function(){this.setR0(void 0)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.hasR0=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.getR1=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4f,2)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.setR1=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.clearR1=function(){this.setR1(void 0)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.hasR1=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.getR2=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4f,3)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.setR2=function(o){p.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.clearR2=function(){this.setR2(void 0)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.hasR2=function(){return null!=p.Message.getField(this,3)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.getR3=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4f,4)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.setR3=function(o){p.Message.setWrapperField(this,4,o)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.clearR3=function(){this.setR3(void 0)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.hasR3=function(){return null!=p.Message.getField(this,4)},proto.vertexvis.protobuf.core.Matrix4x4d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Matrix4x4d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Matrix4x4d.displayName="proto.vertexvis.protobuf.core.Matrix4x4d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Matrix4x4d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Matrix4x4d.toObject(o,this)},proto.vertexvis.protobuf.core.Matrix4x4d.toObject=function(o,t){var r,n={r0:(r=t.getR0())&&proto.vertexvis.protobuf.core.Vector4d.toObject(o,r),r1:(r=t.getR1())&&proto.vertexvis.protobuf.core.Vector4d.toObject(o,r),r2:(r=t.getR2())&&proto.vertexvis.protobuf.core.Vector4d.toObject(o,r),r3:(r=t.getR3())&&proto.vertexvis.protobuf.core.Vector4d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Matrix4x4d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Matrix4x4d;return proto.vertexvis.protobuf.core.Matrix4x4d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Matrix4x4d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector4d;t.readMessage(r,proto.vertexvis.protobuf.core.Vector4d.deserializeBinaryFromReader),o.setR0(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector4d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector4d.deserializeBinaryFromReader),o.setR1(r);break;case 3:r=new proto.vertexvis.protobuf.core.Vector4d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector4d.deserializeBinaryFromReader),o.setR2(r);break;case 4:r=new proto.vertexvis.protobuf.core.Vector4d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector4d.deserializeBinaryFromReader),o.setR3(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Matrix4x4d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Matrix4x4d.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getR0())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector4d.serializeBinaryToWriter),null!=(r=o.getR1())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector4d.serializeBinaryToWriter),null!=(r=o.getR2())&&t.writeMessage(3,r,proto.vertexvis.protobuf.core.Vector4d.serializeBinaryToWriter),null!=(r=o.getR3())&&t.writeMessage(4,r,proto.vertexvis.protobuf.core.Vector4d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.getR0=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4d,1)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.setR0=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.clearR0=function(){this.setR0(void 0)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.hasR0=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.getR1=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4d,2)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.setR1=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.clearR1=function(){this.setR1(void 0)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.hasR1=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.getR2=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4d,3)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.setR2=function(o){p.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.clearR2=function(){this.setR2(void 0)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.hasR2=function(){return null!=p.Message.getField(this,3)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.getR3=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4d,4)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.setR3=function(o){p.Message.setWrapperField(this,4,o)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.clearR3=function(){this.setR3(void 0)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.hasR3=function(){return null!=p.Message.getField(this,4)},proto.vertexvis.protobuf.core.Dimension2i=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Dimension2i,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Dimension2i.displayName="proto.vertexvis.protobuf.core.Dimension2i"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Dimension2i.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Dimension2i.toObject(o,this)},proto.vertexvis.protobuf.core.Dimension2i.toObject=function(o,t){var r={width:p.Message.getFieldWithDefault(t,1,0),height:p.Message.getFieldWithDefault(t,2,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Dimension2i.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Dimension2i;return proto.vertexvis.protobuf.core.Dimension2i.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Dimension2i.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readInt32();o.setWidth(r);break;case 2:r=t.readInt32(),o.setHeight(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Dimension2i.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Dimension2i.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Dimension2i.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getWidth())&&t.writeInt32(1,r),0!==(r=o.getHeight())&&t.writeInt32(2,r)},proto.vertexvis.protobuf.core.Dimension2i.prototype.getWidth=function(){return p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Dimension2i.prototype.setWidth=function(o){p.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.Dimension2i.prototype.getHeight=function(){return p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Dimension2i.prototype.setHeight=function(o){p.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.core.Point2i=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Point2i,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Point2i.displayName="proto.vertexvis.protobuf.core.Point2i"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Point2i.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Point2i.toObject(o,this)},proto.vertexvis.protobuf.core.Point2i.toObject=function(o,t){var r={dx:p.Message.getFieldWithDefault(t,1,0),dy:p.Message.getFieldWithDefault(t,2,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.Point2i.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Point2i;return proto.vertexvis.protobuf.core.Point2i.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Point2i.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readInt32();o.setDx(r);break;case 2:r=t.readInt32(),o.setDy(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Point2i.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Point2i.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Point2i.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getDx())&&t.writeInt32(1,r),0!==(r=o.getDy())&&t.writeInt32(2,r)},proto.vertexvis.protobuf.core.Point2i.prototype.getDx=function(){return p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Point2i.prototype.setDx=function(o){p.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.Point2i.prototype.getDy=function(){return p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Point2i.prototype.setDy=function(o){p.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.core.BBox2f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.BBox2f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BBox2f.displayName="proto.vertexvis.protobuf.core.BBox2f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.BBox2f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.BBox2f.toObject(o,this)},proto.vertexvis.protobuf.core.BBox2f.toObject=function(o,t){var r,n={min:(r=t.getMin())&&proto.vertexvis.protobuf.core.Vector2f.toObject(o,r),max:(r=t.getMax())&&proto.vertexvis.protobuf.core.Vector2f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.BBox2f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.BBox2f;return proto.vertexvis.protobuf.core.BBox2f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.BBox2f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector2f;t.readMessage(r,proto.vertexvis.protobuf.core.Vector2f.deserializeBinaryFromReader),o.setMin(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector2f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector2f.deserializeBinaryFromReader),o.setMax(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.BBox2f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.BBox2f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.BBox2f.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getMin())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector2f.serializeBinaryToWriter),null!=(r=o.getMax())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector2f.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.BBox2f.prototype.getMin=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,1)},proto.vertexvis.protobuf.core.BBox2f.prototype.setMin=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.BBox2f.prototype.clearMin=function(){this.setMin(void 0)},proto.vertexvis.protobuf.core.BBox2f.prototype.hasMin=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.BBox2f.prototype.getMax=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,2)},proto.vertexvis.protobuf.core.BBox2f.prototype.setMax=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.BBox2f.prototype.clearMax=function(){this.setMax(void 0)},proto.vertexvis.protobuf.core.BBox2f.prototype.hasMax=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.BBox2d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.BBox2d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BBox2d.displayName="proto.vertexvis.protobuf.core.BBox2d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.BBox2d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.BBox2d.toObject(o,this)},proto.vertexvis.protobuf.core.BBox2d.toObject=function(o,t){var r,n={min:(r=t.getMin())&&proto.vertexvis.protobuf.core.Vector2d.toObject(o,r),max:(r=t.getMax())&&proto.vertexvis.protobuf.core.Vector2d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.BBox2d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.BBox2d;return proto.vertexvis.protobuf.core.BBox2d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.BBox2d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector2d;t.readMessage(r,proto.vertexvis.protobuf.core.Vector2d.deserializeBinaryFromReader),o.setMin(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector2d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector2d.deserializeBinaryFromReader),o.setMax(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.BBox2d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.BBox2d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.BBox2d.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getMin())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector2d.serializeBinaryToWriter),null!=(r=o.getMax())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector2d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.BBox2d.prototype.getMin=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,1)},proto.vertexvis.protobuf.core.BBox2d.prototype.setMin=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.BBox2d.prototype.clearMin=function(){this.setMin(void 0)},proto.vertexvis.protobuf.core.BBox2d.prototype.hasMin=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.BBox2d.prototype.getMax=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,2)},proto.vertexvis.protobuf.core.BBox2d.prototype.setMax=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.BBox2d.prototype.clearMax=function(){this.setMax(void 0)},proto.vertexvis.protobuf.core.BBox2d.prototype.hasMax=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.BBox3f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.BBox3f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BBox3f.displayName="proto.vertexvis.protobuf.core.BBox3f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.BBox3f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.BBox3f.toObject(o,this)},proto.vertexvis.protobuf.core.BBox3f.toObject=function(o,t){var r,n={min:(r=t.getMin())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r),max:(r=t.getMax())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.BBox3f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.BBox3f;return proto.vertexvis.protobuf.core.BBox3f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.BBox3f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector3f;t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setMin(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector3f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setMax(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.BBox3f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.BBox3f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.BBox3f.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getMin())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter),null!=(r=o.getMax())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.BBox3f.prototype.getMin=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,1)},proto.vertexvis.protobuf.core.BBox3f.prototype.setMin=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.BBox3f.prototype.clearMin=function(){this.setMin(void 0)},proto.vertexvis.protobuf.core.BBox3f.prototype.hasMin=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.BBox3f.prototype.getMax=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,2)},proto.vertexvis.protobuf.core.BBox3f.prototype.setMax=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.BBox3f.prototype.clearMax=function(){this.setMax(void 0)},proto.vertexvis.protobuf.core.BBox3f.prototype.hasMax=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.BBox3d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.BBox3d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BBox3d.displayName="proto.vertexvis.protobuf.core.BBox3d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.BBox3d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.BBox3d.toObject(o,this)},proto.vertexvis.protobuf.core.BBox3d.toObject=function(o,t){var r,n={min:(r=t.getMin())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r),max:(r=t.getMax())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.BBox3d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.BBox3d;return proto.vertexvis.protobuf.core.BBox3d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.BBox3d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector3d;t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setMin(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector3d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setMax(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.BBox3d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.BBox3d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.BBox3d.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getMin())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter),null!=(r=o.getMax())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.BBox3d.prototype.getMin=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,1)},proto.vertexvis.protobuf.core.BBox3d.prototype.setMin=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.BBox3d.prototype.clearMin=function(){this.setMin(void 0)},proto.vertexvis.protobuf.core.BBox3d.prototype.hasMin=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.BBox3d.prototype.getMax=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,2)},proto.vertexvis.protobuf.core.BBox3d.prototype.setMax=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.BBox3d.prototype.clearMax=function(){this.setMax(void 0)},proto.vertexvis.protobuf.core.BBox3d.prototype.hasMax=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform2f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.LinearTransform2f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.LinearTransform2f.displayName="proto.vertexvis.protobuf.core.LinearTransform2f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.LinearTransform2f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.LinearTransform2f.toObject(o,this)},proto.vertexvis.protobuf.core.LinearTransform2f.toObject=function(o,t){var r,n={basisX:(r=t.getBasisX())&&proto.vertexvis.protobuf.core.Vector2f.toObject(o,r),basisY:(r=t.getBasisY())&&proto.vertexvis.protobuf.core.Vector2f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.LinearTransform2f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.LinearTransform2f;return proto.vertexvis.protobuf.core.LinearTransform2f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.LinearTransform2f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector2f;t.readMessage(r,proto.vertexvis.protobuf.core.Vector2f.deserializeBinaryFromReader),o.setBasisX(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector2f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector2f.deserializeBinaryFromReader),o.setBasisY(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.LinearTransform2f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.LinearTransform2f.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getBasisX())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector2f.serializeBinaryToWriter),null!=(r=o.getBasisY())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector2f.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.getBasisX=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,1)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.setBasisX=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.clearBasisX=function(){this.setBasisX(void 0)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.hasBasisX=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.getBasisY=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,2)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.setBasisY=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.clearBasisY=function(){this.setBasisY(void 0)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.hasBasisY=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform2d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.LinearTransform2d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.LinearTransform2d.displayName="proto.vertexvis.protobuf.core.LinearTransform2d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.LinearTransform2d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.LinearTransform2d.toObject(o,this)},proto.vertexvis.protobuf.core.LinearTransform2d.toObject=function(o,t){var r,n={basisX:(r=t.getBasisX())&&proto.vertexvis.protobuf.core.Vector2d.toObject(o,r),basisY:(r=t.getBasisY())&&proto.vertexvis.protobuf.core.Vector2d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.LinearTransform2d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.LinearTransform2d;return proto.vertexvis.protobuf.core.LinearTransform2d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.LinearTransform2d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector2d;t.readMessage(r,proto.vertexvis.protobuf.core.Vector2d.deserializeBinaryFromReader),o.setBasisX(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector2d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector2d.deserializeBinaryFromReader),o.setBasisY(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.LinearTransform2d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.LinearTransform2d.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getBasisX())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector2d.serializeBinaryToWriter),null!=(r=o.getBasisY())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector2d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.getBasisX=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,1)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.setBasisX=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.clearBasisX=function(){this.setBasisX(void 0)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.hasBasisX=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.getBasisY=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,2)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.setBasisY=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.clearBasisY=function(){this.setBasisY(void 0)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.hasBasisY=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform3f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.LinearTransform3f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.LinearTransform3f.displayName="proto.vertexvis.protobuf.core.LinearTransform3f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.LinearTransform3f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.LinearTransform3f.toObject(o,this)},proto.vertexvis.protobuf.core.LinearTransform3f.toObject=function(o,t){var r,n={basisX:(r=t.getBasisX())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r),basisY:(r=t.getBasisY())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r),basisZ:(r=t.getBasisZ())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.LinearTransform3f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.LinearTransform3f;return proto.vertexvis.protobuf.core.LinearTransform3f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.LinearTransform3f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector3f;t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setBasisX(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector3f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setBasisY(r);break;case 3:r=new proto.vertexvis.protobuf.core.Vector3f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setBasisZ(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.LinearTransform3f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.LinearTransform3f.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getBasisX())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter),null!=(r=o.getBasisY())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter),null!=(r=o.getBasisZ())&&t.writeMessage(3,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.getBasisX=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,1)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.setBasisX=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.clearBasisX=function(){this.setBasisX(void 0)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.hasBasisX=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.getBasisY=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,2)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.setBasisY=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.clearBasisY=function(){this.setBasisY(void 0)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.hasBasisY=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.getBasisZ=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,3)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.setBasisZ=function(o){p.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.clearBasisZ=function(){this.setBasisZ(void 0)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.hasBasisZ=function(){return null!=p.Message.getField(this,3)},proto.vertexvis.protobuf.core.LinearTransform3d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.LinearTransform3d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.LinearTransform3d.displayName="proto.vertexvis.protobuf.core.LinearTransform3d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.LinearTransform3d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.LinearTransform3d.toObject(o,this)},proto.vertexvis.protobuf.core.LinearTransform3d.toObject=function(o,t){var r,n={basisX:(r=t.getBasisX())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r),basisY:(r=t.getBasisY())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r),basisZ:(r=t.getBasisZ())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.LinearTransform3d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.LinearTransform3d;return proto.vertexvis.protobuf.core.LinearTransform3d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.LinearTransform3d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector3d;t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setBasisX(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector3d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setBasisY(r);break;case 3:r=new proto.vertexvis.protobuf.core.Vector3d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setBasisZ(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.LinearTransform3d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.LinearTransform3d.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getBasisX())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter),null!=(r=o.getBasisY())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter),null!=(r=o.getBasisZ())&&t.writeMessage(3,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.getBasisX=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,1)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.setBasisX=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.clearBasisX=function(){this.setBasisX(void 0)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.hasBasisX=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.getBasisY=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,2)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.setBasisY=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.clearBasisY=function(){this.setBasisY(void 0)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.hasBasisY=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.getBasisZ=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,3)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.setBasisZ=function(o){p.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.clearBasisZ=function(){this.setBasisZ(void 0)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.hasBasisZ=function(){return null!=p.Message.getField(this,3)},proto.vertexvis.protobuf.core.AffineTransform2f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.AffineTransform2f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineTransform2f.displayName="proto.vertexvis.protobuf.core.AffineTransform2f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.AffineTransform2f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.AffineTransform2f.toObject(o,this)},proto.vertexvis.protobuf.core.AffineTransform2f.toObject=function(o,t){var r,n={transform:(r=t.getTransform())&&proto.vertexvis.protobuf.core.LinearTransform2f.toObject(o,r),pos:(r=t.getPos())&&proto.vertexvis.protobuf.core.Vector2f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.AffineTransform2f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.AffineTransform2f;return proto.vertexvis.protobuf.core.AffineTransform2f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.AffineTransform2f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.LinearTransform2f;t.readMessage(r,proto.vertexvis.protobuf.core.LinearTransform2f.deserializeBinaryFromReader),o.setTransform(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector2f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector2f.deserializeBinaryFromReader),o.setPos(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.AffineTransform2f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.AffineTransform2f.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getTransform())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.LinearTransform2f.serializeBinaryToWriter),null!=(r=o.getPos())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector2f.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.getTransform=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.LinearTransform2f,1)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.setTransform=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.clearTransform=function(){this.setTransform(void 0)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.hasTransform=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.getPos=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,2)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.setPos=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.clearPos=function(){this.setPos(void 0)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.hasPos=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineTransform2d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.AffineTransform2d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineTransform2d.displayName="proto.vertexvis.protobuf.core.AffineTransform2d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.AffineTransform2d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.AffineTransform2d.toObject(o,this)},proto.vertexvis.protobuf.core.AffineTransform2d.toObject=function(o,t){var r,n={transform:(r=t.getTransform())&&proto.vertexvis.protobuf.core.LinearTransform2d.toObject(o,r),pos:(r=t.getPos())&&proto.vertexvis.protobuf.core.Vector2d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.AffineTransform2d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.AffineTransform2d;return proto.vertexvis.protobuf.core.AffineTransform2d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.AffineTransform2d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.LinearTransform2d;t.readMessage(r,proto.vertexvis.protobuf.core.LinearTransform2d.deserializeBinaryFromReader),o.setTransform(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector2d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector2d.deserializeBinaryFromReader),o.setPos(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.AffineTransform2d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.AffineTransform2d.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getTransform())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.LinearTransform2d.serializeBinaryToWriter),null!=(r=o.getPos())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector2d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.getTransform=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.LinearTransform2d,1)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.setTransform=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.clearTransform=function(){this.setTransform(void 0)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.hasTransform=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.getPos=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,2)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.setPos=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.clearPos=function(){this.setPos(void 0)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.hasPos=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineTransform3f=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.AffineTransform3f,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineTransform3f.displayName="proto.vertexvis.protobuf.core.AffineTransform3f"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.AffineTransform3f.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.AffineTransform3f.toObject(o,this)},proto.vertexvis.protobuf.core.AffineTransform3f.toObject=function(o,t){var r,n={transform:(r=t.getTransform())&&proto.vertexvis.protobuf.core.LinearTransform3f.toObject(o,r),pos:(r=t.getPos())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.AffineTransform3f.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.AffineTransform3f;return proto.vertexvis.protobuf.core.AffineTransform3f.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.AffineTransform3f.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.LinearTransform3f;t.readMessage(r,proto.vertexvis.protobuf.core.LinearTransform3f.deserializeBinaryFromReader),o.setTransform(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector3f,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader),o.setPos(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.AffineTransform3f.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.AffineTransform3f.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getTransform())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.LinearTransform3f.serializeBinaryToWriter),null!=(r=o.getPos())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector3f.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.getTransform=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.LinearTransform3f,1)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.setTransform=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.clearTransform=function(){this.setTransform(void 0)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.hasTransform=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.getPos=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,2)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.setPos=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.clearPos=function(){this.setPos(void 0)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.hasPos=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineTransform3d=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.AffineTransform3d,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineTransform3d.displayName="proto.vertexvis.protobuf.core.AffineTransform3d"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.AffineTransform3d.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.AffineTransform3d.toObject(o,this)},proto.vertexvis.protobuf.core.AffineTransform3d.toObject=function(o,t){var r,n={transform:(r=t.getTransform())&&proto.vertexvis.protobuf.core.LinearTransform3d.toObject(o,r),pos:(r=t.getPos())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.AffineTransform3d.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.AffineTransform3d;return proto.vertexvis.protobuf.core.AffineTransform3d.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.AffineTransform3d.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.LinearTransform3d;t.readMessage(r,proto.vertexvis.protobuf.core.LinearTransform3d.deserializeBinaryFromReader),o.setTransform(r);break;case 2:r=new proto.vertexvis.protobuf.core.Vector3d,t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setPos(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.AffineTransform3d.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.AffineTransform3d.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getTransform())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.LinearTransform3d.serializeBinaryToWriter),null!=(r=o.getPos())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.getTransform=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.LinearTransform3d,1)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.setTransform=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.clearTransform=function(){this.setTransform(void 0)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.hasTransform=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.getPos=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,2)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.setPos=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.clearPos=function(){this.setPos(void 0)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.hasPos=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.Plane=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.Plane,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Plane.displayName="proto.vertexvis.protobuf.core.Plane"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.Plane.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.Plane.toObject(o,this)},proto.vertexvis.protobuf.core.Plane.toObject=function(o,t){var r,n={normal:(r=t.getNormal())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,r),d:+p.Message.getFieldWithDefault(t,2,0)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.Plane.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.Plane;return proto.vertexvis.protobuf.core.Plane.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.Plane.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.Vector3d;t.readMessage(r,proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader),o.setNormal(r);break;case 2:r=t.readDouble(),o.setD(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.Plane.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.Plane.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.Plane.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getNormal())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.Vector3d.serializeBinaryToWriter),0!==(r=o.getD())&&t.writeDouble(2,r)},proto.vertexvis.protobuf.core.Plane.prototype.getNormal=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,1)},proto.vertexvis.protobuf.core.Plane.prototype.setNormal=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.Plane.prototype.clearNormal=function(){this.setNormal(void 0)},proto.vertexvis.protobuf.core.Plane.prototype.hasNormal=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.Plane.prototype.getD=function(){return+p.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Plane.prototype.setD=function(o){p.Message.setProto3FloatField(this,2,o)},r.object.extend(t,proto.vertexvis.protobuf.core)}));u((function(o,t){var r=p,n=Function("return this")();r.exportSymbol("proto.vertexvis.protobuf.core.S3FileLocation",null,n),proto.vertexvis.protobuf.core.S3FileLocation=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.S3FileLocation,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.S3FileLocation.displayName="proto.vertexvis.protobuf.core.S3FileLocation"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.S3FileLocation.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.S3FileLocation.toObject(o,this)},proto.vertexvis.protobuf.core.S3FileLocation.toObject=function(o,t){var r={bucket:p.Message.getFieldWithDefault(t,1,""),key:p.Message.getFieldWithDefault(t,2,"")};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.S3FileLocation.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.S3FileLocation;return proto.vertexvis.protobuf.core.S3FileLocation.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.S3FileLocation.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readString();o.setBucket(r);break;case 2:r=t.readString(),o.setKey(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.S3FileLocation.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.S3FileLocation.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.S3FileLocation.serializeBinaryToWriter=function(o,t){var r=void 0;(r=o.getBucket()).length>0&&t.writeString(1,r),(r=o.getKey()).length>0&&t.writeString(2,r)},proto.vertexvis.protobuf.core.S3FileLocation.prototype.getBucket=function(){return p.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.core.S3FileLocation.prototype.setBucket=function(o){p.Message.setProto3StringField(this,1,o)},proto.vertexvis.protobuf.core.S3FileLocation.prototype.getKey=function(){return p.Message.getFieldWithDefault(this,2,"")},proto.vertexvis.protobuf.core.S3FileLocation.prototype.setKey=function(o){p.Message.setProto3StringField(this,2,o)},r.object.extend(t,proto.vertexvis.protobuf.core)}));var l=u((function(o,t){var r=p,n=Function("return this")();r.exportSymbol("proto.vertexvis.protobuf.core.MeasurementOutcome",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.MeasurementResult",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.MinimumDistanceResult",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.PlanarAngleResult",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.PlanarDistanceResult",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.PlanePair",null,n),r.exportSymbol("proto.vertexvis.protobuf.core.SurfaceAreaResult",null,n),proto.vertexvis.protobuf.core.PlanePair=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.PlanePair,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.PlanePair.displayName="proto.vertexvis.protobuf.core.PlanePair"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.PlanePair.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.PlanePair.toObject(o,this)},proto.vertexvis.protobuf.core.PlanePair.toObject=function(o,t){var r,n={start:(r=t.getStart())&&a.Plane.toObject(o,r),end:(r=t.getEnd())&&a.Plane.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.PlanePair.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.PlanePair;return proto.vertexvis.protobuf.core.PlanePair.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.PlanePair.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new a.Plane;t.readMessage(r,a.Plane.deserializeBinaryFromReader),o.setStart(r);break;case 2:r=new a.Plane,t.readMessage(r,a.Plane.deserializeBinaryFromReader),o.setEnd(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.PlanePair.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.PlanePair.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.PlanePair.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getStart())&&t.writeMessage(1,r,a.Plane.serializeBinaryToWriter),null!=(r=o.getEnd())&&t.writeMessage(2,r,a.Plane.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.PlanePair.prototype.getStart=function(){return p.Message.getWrapperField(this,a.Plane,1)},proto.vertexvis.protobuf.core.PlanePair.prototype.setStart=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.core.PlanePair.prototype.clearStart=function(){this.setStart(void 0)},proto.vertexvis.protobuf.core.PlanePair.prototype.hasStart=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.PlanePair.prototype.getEnd=function(){return p.Message.getWrapperField(this,a.Plane,2)},proto.vertexvis.protobuf.core.PlanePair.prototype.setEnd=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.PlanePair.prototype.clearEnd=function(){this.setEnd(void 0)},proto.vertexvis.protobuf.core.PlanePair.prototype.hasEnd=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.PlanarDistanceResult=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.PlanarDistanceResult,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.PlanarDistanceResult.displayName="proto.vertexvis.protobuf.core.PlanarDistanceResult"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.PlanarDistanceResult.toObject(o,this)},proto.vertexvis.protobuf.core.PlanarDistanceResult.toObject=function(o,t){var r,n={distance:+p.Message.getFieldWithDefault(t,1,0),planes:(r=t.getPlanes())&&proto.vertexvis.protobuf.core.PlanePair.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.PlanarDistanceResult.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.PlanarDistanceResult;return proto.vertexvis.protobuf.core.PlanarDistanceResult.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.PlanarDistanceResult.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readDouble();o.setDistance(r);break;case 2:r=new proto.vertexvis.protobuf.core.PlanePair,t.readMessage(r,proto.vertexvis.protobuf.core.PlanePair.deserializeBinaryFromReader),o.setPlanes(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.PlanarDistanceResult.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.PlanarDistanceResult.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getDistance())&&t.writeDouble(1,r),null!=(r=o.getPlanes())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.PlanePair.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.getDistance=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.setDistance=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.getPlanes=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.PlanePair,2)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.setPlanes=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.clearPlanes=function(){this.setPlanes(void 0)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.hasPlanes=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.MinimumDistanceResult=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.MinimumDistanceResult,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.MinimumDistanceResult.displayName="proto.vertexvis.protobuf.core.MinimumDistanceResult"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.MinimumDistanceResult.toObject(o,this)},proto.vertexvis.protobuf.core.MinimumDistanceResult.toObject=function(o,t){var r,n={distance:+p.Message.getFieldWithDefault(t,1,0),closestPoint1:(r=t.getClosestPoint1())&&a.Vector3d.toObject(o,r),closestPoint2:(r=t.getClosestPoint2())&&a.Vector3d.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.MinimumDistanceResult.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.MinimumDistanceResult;return proto.vertexvis.protobuf.core.MinimumDistanceResult.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.MinimumDistanceResult.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readDouble();o.setDistance(r);break;case 2:r=new a.Vector3d,t.readMessage(r,a.Vector3d.deserializeBinaryFromReader),o.setClosestPoint1(r);break;case 3:r=new a.Vector3d,t.readMessage(r,a.Vector3d.deserializeBinaryFromReader),o.setClosestPoint2(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.MinimumDistanceResult.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.MinimumDistanceResult.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getDistance())&&t.writeDouble(1,r),null!=(r=o.getClosestPoint1())&&t.writeMessage(2,r,a.Vector3d.serializeBinaryToWriter),null!=(r=o.getClosestPoint2())&&t.writeMessage(3,r,a.Vector3d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.getDistance=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.setDistance=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.getClosestPoint1=function(){return p.Message.getWrapperField(this,a.Vector3d,2)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.setClosestPoint1=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.clearClosestPoint1=function(){this.setClosestPoint1(void 0)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.hasClosestPoint1=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.getClosestPoint2=function(){return p.Message.getWrapperField(this,a.Vector3d,3)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.setClosestPoint2=function(o){p.Message.setWrapperField(this,3,o)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.clearClosestPoint2=function(){this.setClosestPoint2(void 0)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.hasClosestPoint2=function(){return null!=p.Message.getField(this,3)},proto.vertexvis.protobuf.core.PlanarAngleResult=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.PlanarAngleResult,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.PlanarAngleResult.displayName="proto.vertexvis.protobuf.core.PlanarAngleResult"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.PlanarAngleResult.toObject(o,this)},proto.vertexvis.protobuf.core.PlanarAngleResult.toObject=function(o,t){var r,n={angleInRadians:+p.Message.getFieldWithDefault(t,1,0),planes:(r=t.getPlanes())&&proto.vertexvis.protobuf.core.PlanePair.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.PlanarAngleResult.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.PlanarAngleResult;return proto.vertexvis.protobuf.core.PlanarAngleResult.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.PlanarAngleResult.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readDouble();o.setAngleInRadians(r);break;case 5:r=new proto.vertexvis.protobuf.core.PlanePair,t.readMessage(r,proto.vertexvis.protobuf.core.PlanePair.deserializeBinaryFromReader),o.setPlanes(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.PlanarAngleResult.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.PlanarAngleResult.serializeBinaryToWriter=function(o,t){var r=void 0;0!==(r=o.getAngleInRadians())&&t.writeDouble(1,r),null!=(r=o.getPlanes())&&t.writeMessage(5,r,proto.vertexvis.protobuf.core.PlanePair.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.getAngleInRadians=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.setAngleInRadians=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.getPlanes=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.PlanePair,5)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.setPlanes=function(o){p.Message.setWrapperField(this,5,o)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.clearPlanes=function(){this.setPlanes(void 0)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.hasPlanes=function(){return null!=p.Message.getField(this,5)},proto.vertexvis.protobuf.core.SurfaceAreaResult=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.core.SurfaceAreaResult,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.SurfaceAreaResult.displayName="proto.vertexvis.protobuf.core.SurfaceAreaResult"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.SurfaceAreaResult.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.SurfaceAreaResult.toObject(o,this)},proto.vertexvis.protobuf.core.SurfaceAreaResult.toObject=function(o,t){var r={area:+p.Message.getFieldWithDefault(t,1,0)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.SurfaceAreaResult.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.SurfaceAreaResult;return proto.vertexvis.protobuf.core.SurfaceAreaResult.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.SurfaceAreaResult.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=t.readDouble();o.setArea(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.SurfaceAreaResult.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.SurfaceAreaResult.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.SurfaceAreaResult.serializeBinaryToWriter=function(o,t){var r;0!==(r=o.getArea())&&t.writeDouble(1,r)},proto.vertexvis.protobuf.core.SurfaceAreaResult.prototype.getArea=function(){return+p.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.SurfaceAreaResult.prototype.setArea=function(o){p.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.MeasurementResult=function(o){p.Message.initialize(this,o,0,-1,null,proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_)},r.inherits(proto.vertexvis.protobuf.core.MeasurementResult,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.MeasurementResult.displayName="proto.vertexvis.protobuf.core.MeasurementResult"),proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_=[[1,2,3,4]],proto.vertexvis.protobuf.core.MeasurementResult.DetailsCase={DETAILS_NOT_SET:0,PLANAR_DISTANCE:1,PLANAR_ANGLE:2,MINIMUM_DISTANCE:3,TOTAL_SURFACE_AREA:4},proto.vertexvis.protobuf.core.MeasurementResult.prototype.getDetailsCase=function(){return p.Message.computeOneofCase(this,proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_[0])},p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.MeasurementResult.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.MeasurementResult.toObject(o,this)},proto.vertexvis.protobuf.core.MeasurementResult.toObject=function(o,t){var r,n={planarDistance:(r=t.getPlanarDistance())&&proto.vertexvis.protobuf.core.PlanarDistanceResult.toObject(o,r),planarAngle:(r=t.getPlanarAngle())&&proto.vertexvis.protobuf.core.PlanarAngleResult.toObject(o,r),minimumDistance:(r=t.getMinimumDistance())&&proto.vertexvis.protobuf.core.MinimumDistanceResult.toObject(o,r),totalSurfaceArea:(r=t.getTotalSurfaceArea())&&proto.vertexvis.protobuf.core.SurfaceAreaResult.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.MeasurementResult.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.MeasurementResult;return proto.vertexvis.protobuf.core.MeasurementResult.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.MeasurementResult.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.PlanarDistanceResult;t.readMessage(r,proto.vertexvis.protobuf.core.PlanarDistanceResult.deserializeBinaryFromReader),o.setPlanarDistance(r);break;case 2:r=new proto.vertexvis.protobuf.core.PlanarAngleResult,t.readMessage(r,proto.vertexvis.protobuf.core.PlanarAngleResult.deserializeBinaryFromReader),o.setPlanarAngle(r);break;case 3:r=new proto.vertexvis.protobuf.core.MinimumDistanceResult,t.readMessage(r,proto.vertexvis.protobuf.core.MinimumDistanceResult.deserializeBinaryFromReader),o.setMinimumDistance(r);break;case 4:r=new proto.vertexvis.protobuf.core.SurfaceAreaResult,t.readMessage(r,proto.vertexvis.protobuf.core.SurfaceAreaResult.deserializeBinaryFromReader),o.setTotalSurfaceArea(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.MeasurementResult.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.MeasurementResult.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.MeasurementResult.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getPlanarDistance())&&t.writeMessage(1,r,proto.vertexvis.protobuf.core.PlanarDistanceResult.serializeBinaryToWriter),null!=(r=o.getPlanarAngle())&&t.writeMessage(2,r,proto.vertexvis.protobuf.core.PlanarAngleResult.serializeBinaryToWriter),null!=(r=o.getMinimumDistance())&&t.writeMessage(3,r,proto.vertexvis.protobuf.core.MinimumDistanceResult.serializeBinaryToWriter),null!=(r=o.getTotalSurfaceArea())&&t.writeMessage(4,r,proto.vertexvis.protobuf.core.SurfaceAreaResult.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.getPlanarDistance=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.PlanarDistanceResult,1)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.setPlanarDistance=function(o){p.Message.setOneofWrapperField(this,1,proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_[0],o)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.clearPlanarDistance=function(){this.setPlanarDistance(void 0)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.hasPlanarDistance=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.getPlanarAngle=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.PlanarAngleResult,2)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.setPlanarAngle=function(o){p.Message.setOneofWrapperField(this,2,proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_[0],o)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.clearPlanarAngle=function(){this.setPlanarAngle(void 0)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.hasPlanarAngle=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.getMinimumDistance=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.MinimumDistanceResult,3)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.setMinimumDistance=function(o){p.Message.setOneofWrapperField(this,3,proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_[0],o)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.clearMinimumDistance=function(){this.setMinimumDistance(void 0)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.hasMinimumDistance=function(){return null!=p.Message.getField(this,3)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.getTotalSurfaceArea=function(){return p.Message.getWrapperField(this,proto.vertexvis.protobuf.core.SurfaceAreaResult,4)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.setTotalSurfaceArea=function(o){p.Message.setOneofWrapperField(this,4,proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_[0],o)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.clearTotalSurfaceArea=function(){this.setTotalSurfaceArea(void 0)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.hasTotalSurfaceArea=function(){return null!=p.Message.getField(this,4)},proto.vertexvis.protobuf.core.MeasurementOutcome=function(o){p.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.core.MeasurementOutcome.repeatedFields_,null)},r.inherits(proto.vertexvis.protobuf.core.MeasurementOutcome,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.MeasurementOutcome.displayName="proto.vertexvis.protobuf.core.MeasurementOutcome"),proto.vertexvis.protobuf.core.MeasurementOutcome.repeatedFields_=[1],p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.toObject=function(o){return proto.vertexvis.protobuf.core.MeasurementOutcome.toObject(o,this)},proto.vertexvis.protobuf.core.MeasurementOutcome.toObject=function(o,t){var r={resultsList:p.Message.toObjectList(t.getResultsList(),proto.vertexvis.protobuf.core.MeasurementResult.toObject,o)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.core.MeasurementOutcome.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.core.MeasurementOutcome;return proto.vertexvis.protobuf.core.MeasurementOutcome.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.core.MeasurementOutcome.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.core.MeasurementResult;t.readMessage(r,proto.vertexvis.protobuf.core.MeasurementResult.deserializeBinaryFromReader),o.addResults(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.core.MeasurementOutcome.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.MeasurementOutcome.serializeBinaryToWriter=function(o,t){var r;(r=o.getResultsList()).length>0&&t.writeRepeatedMessage(1,r,proto.vertexvis.protobuf.core.MeasurementResult.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.getResultsList=function(){return p.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.core.MeasurementResult,1)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.setResultsList=function(o){p.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.addResults=function(o,t){return p.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.core.MeasurementResult,t)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.clearResultsList=function(){this.setResultsList([])},r.object.extend(t,proto.vertexvis.protobuf.core)})),h=u((function(o,t){var r=p,n=Function("return this")();r.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.MeasureEntity",null,n),r.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.MeasureRequest",null,n),r.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.MeasureResponse",null,n),r.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate",null,n),r.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest",null,n),r.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse",null,n),proto.vertexvis.protobuf.sceneview.v1.MeasureRequest=function(o){p.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.repeatedFields_,null)},r.inherits(proto.vertexvis.protobuf.sceneview.v1.MeasureRequest,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.displayName="proto.vertexvis.protobuf.sceneview.v1.MeasureRequest"),proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.repeatedFields_=[1],p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.toObject(o,this)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.toObject=function(o,t){var r={entitiesList:p.Message.toObjectList(t.getEntitiesList(),proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.toObject,o)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.sceneview.v1.MeasureRequest;return proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.sceneview.v1.MeasureEntity;t.readMessage(r,proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.deserializeBinaryFromReader),o.addEntities(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.serializeBinaryToWriter=function(o,t){var r;(r=o.getEntitiesList()).length>0&&t.writeRepeatedMessage(1,r,proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.serializeBinaryToWriter)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.getEntitiesList=function(){return p.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.sceneview.v1.MeasureEntity,1)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.setEntitiesList=function(o){p.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.addEntities=function(o,t){return p.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.sceneview.v1.MeasureEntity,t)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.clearEntitiesList=function(){this.setEntitiesList([])},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.sceneview.v1.MeasureEntity,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.displayName="proto.vertexvis.protobuf.sceneview.v1.MeasureEntity"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.toObject=function(o){return proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.toObject(o,this)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.toObject=function(o,t){var r,n={modelEntity:(r=t.getModelEntity())&&f.ModelEntity.toObject(o,r),point:(r=t.getPoint())&&a.Vector3f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.sceneview.v1.MeasureEntity;return proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new f.ModelEntity;t.readMessage(r,f.ModelEntity.deserializeBinaryFromReader),o.setModelEntity(r);break;case 2:r=new a.Vector3f,t.readMessage(r,a.Vector3f.deserializeBinaryFromReader),o.setPoint(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getModelEntity())&&t.writeMessage(1,r,f.ModelEntity.serializeBinaryToWriter),null!=(r=o.getPoint())&&t.writeMessage(2,r,a.Vector3f.serializeBinaryToWriter)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.getModelEntity=function(){return p.Message.getWrapperField(this,f.ModelEntity,1)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.setModelEntity=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.clearModelEntity=function(){this.setModelEntity(void 0)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.hasModelEntity=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.getPoint=function(){return p.Message.getWrapperField(this,a.Vector3f,2)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.setPoint=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.clearPoint=function(){this.setPoint(void 0)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.hasPoint=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.sceneview.v1.MeasureResponse,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.displayName="proto.vertexvis.protobuf.sceneview.v1.MeasureResponse"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.toObject(o,this)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.toObject=function(o,t){var r,n={outcome:(r=t.getOutcome())&&l.MeasurementOutcome.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.sceneview.v1.MeasureResponse;return proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new l.MeasurementOutcome;t.readMessage(r,l.MeasurementOutcome.deserializeBinaryFromReader),o.setOutcome(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.serializeBinaryToWriter=function(o,t){var r;null!=(r=o.getOutcome())&&t.writeMessage(1,r,l.MeasurementOutcome.serializeBinaryToWriter)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.getOutcome=function(){return p.Message.getWrapperField(this,l.MeasurementOutcome,1)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.setOutcome=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.clearOutcome=function(){this.setOutcome(void 0)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.hasOutcome=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest=function(o){p.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.repeatedFields_,null)},r.inherits(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.displayName="proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest"),proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.repeatedFields_=[1],p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.toObject=function(o){return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.toObject(o,this)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.toObject=function(o,t){var r={updatesList:p.Message.toObjectList(t.getUpdatesList(),proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.toObject,o)};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest;return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate;t.readMessage(r,proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.deserializeBinaryFromReader),o.addUpdates(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.serializeBinaryToWriter=function(o,t){var r;(r=o.getUpdatesList()).length>0&&t.writeRepeatedMessage(1,r,proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.serializeBinaryToWriter)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.getUpdatesList=function(){return p.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate,1)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.setUpdatesList=function(o){p.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.addUpdates=function(o,t){return p.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate,t)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.clearUpdatesList=function(){this.setUpdatesList([])},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.displayName="proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.toObject=function(o){return proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.toObject(o,this)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.toObject=function(o,t){var r,n={modelEntity:(r=t.getModelEntity())&&f.ModelEntity.toObject(o,r),highlight:(r=t.getHighlight())&&e.BoolValue.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate;return proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new f.ModelEntity;t.readMessage(r,f.ModelEntity.deserializeBinaryFromReader),o.setModelEntity(r);break;case 2:r=new e.BoolValue,t.readMessage(r,e.BoolValue.deserializeBinaryFromReader),o.setHighlight(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.serializeBinaryToWriter=function(o,t){var r=void 0;null!=(r=o.getModelEntity())&&t.writeMessage(1,r,f.ModelEntity.serializeBinaryToWriter),null!=(r=o.getHighlight())&&t.writeMessage(2,r,e.BoolValue.serializeBinaryToWriter)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.getModelEntity=function(){return p.Message.getWrapperField(this,f.ModelEntity,1)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.setModelEntity=function(o){p.Message.setWrapperField(this,1,o)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.clearModelEntity=function(){this.setModelEntity(void 0)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.hasModelEntity=function(){return null!=p.Message.getField(this,1)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.getHighlight=function(){return p.Message.getWrapperField(this,e.BoolValue,2)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.setHighlight=function(o){p.Message.setWrapperField(this,2,o)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.clearHighlight=function(){this.setHighlight(void 0)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.hasHighlight=function(){return null!=p.Message.getField(this,2)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse=function(o){p.Message.initialize(this,o,0,-1,null,null)},r.inherits(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse,p.Message),r.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.displayName="proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse"),p.Message.GENERATE_TO_OBJECT&&(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.prototype.toObject=function(o){return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.toObject(o,this)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.toObject=function(o,t){var r={};return o&&(r.$jspbMessageInstance=t),r}),proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.deserializeBinary=function(o){var t=new p.BinaryReader(o),r=new proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse;return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.deserializeBinaryFromReader(r,t)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return o},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.prototype.serializeBinary=function(){var o=new p.BinaryWriter;return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.serializeBinaryToWriter=function(){},r.object.extend(t,proto.vertexvis.protobuf.sceneview.v1)}));const v=o.defineMapper(o.read(o.mapRequiredProp("start",r),o.mapRequiredProp("end",r)),(([o,t])=>({start:o,end:t}))),w=o.defineMapper(o.read(o.getProp("distance"),o.mapRequiredProp("planes",o.compose(v,o.requiredProp("start"))),o.mapRequiredProp("planes",o.compose(v,o.requiredProp("end")))),(([o,t,r])=>({type:"planar-distance",distance:o,plane1:t,plane2:r}))),d=o.defineMapper(o.read(o.getProp("angleInRadians"),o.mapRequiredProp("planes",o.compose(v,o.requiredProp("start"))),o.mapRequiredProp("planes",o.compose(v,o.requiredProp("end")))),(([o,t,r])=>({type:"planar-angle",angle:o,plane1:t,plane2:r}))),b=o.defineMapper(o.read(o.getProp("distance"),o.mapRequiredProp("closestPoint1",n),o.mapRequiredProp("closestPoint2",n)),(([o,t,r])=>({type:"minimum-distance",distance:o,closestPoint1:t,closestPoint2:r}))),x=o.defineMapper(o.read(o.getProp("area")),(([o])=>({type:"surface-area",area:o}))),k=o.mapProp("planarDistance",o.ifDefined(w)),m=o.mapProp("planarAngle",o.ifDefined(d)),M=o.mapProp("minimumDistance",o.ifDefined(b)),E=o.mapProp("totalSurfaceArea",o.ifDefined(x)),L=o.compose(o.pickFirst(k,m,M,E),o.required("Result field")),P=o.defineMapper(o.read(o.mapRequiredProp("outcome",o.mapRequiredProp("resultsList",o.mapArray(L)))),(([o])=>({results:o}))),I=o.ifInvalidThrow(P);class D{constructor(o,t){this.point=o,this.modelEntity=t}static fromHit(t){if(null!=t.hitPoint&&null!=t.modelEntity){const r=o.ifInvalidThrow(n)(t.hitPoint),u=i.protobuf.core.ModelEntity.encode(t.modelEntity).finish();return new D(r,u)}throw new Error("Cannot create MeasurementEntity from Hit. Hit is missing hit point and model entity")}toProto(){const o=new h.MeasureEntity,t=new a.Vector3f;t.setX(this.point.x),t.setY(this.point.y),t.setZ(this.point.z),o.setPoint(t);const r=f.ModelEntity.deserializeBinary(this.modelEntity);return o.setModelEntity(r),o}}class C{constructor(){this.entities=new Set,this.results=new Set,this.resultsChanged=new t,this.entitiesChanged=new t}addEntity(o){return!this.entities.has(o)&&(this.entities.add(o),this.entitiesChanged.emit(this.getEntities()),!0)}addResult(o){return!this.results.has(o)&&(this.results.add(o),this.resultsChanged.emit(this.getResults()),!0)}clearEntities(){this.entities.forEach((o=>this.removeEntity(o)))}clearResults(){this.results.forEach((o=>this.removeResult(o)))}replaceResultsWithOutcome(o){this.clearResults(),o.results.forEach((o=>this.addResult(o)))}getEntities(){return Array.from(this.entities)}getResults(){return Array.from(this.results)}removeEntity(o){return!!this.entities.has(o)&&(this.entities.delete(o),this.entitiesChanged.emit(this.getEntities()),!0)}removeResult(o){return!!this.results.has(o)&&(this.results.delete(o),this.resultsChanged.emit(this.getResults()),!0)}setEntities(o){return this.entities.clear(),o.forEach((o=>this.entities.add(o))),this.entitiesChanged.emit(this.getEntities()),!0}onResultsChanged(o){return this.resultsChanged.on(o)}onEntitiesChanged(o){return this.entitiesChanged.on(o)}}export{D as M,C as a,f as b,I as m,h as s}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**!
|
|
2
|
-
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,h as t,H as s}from"./p-75337d0b.js";import{a as i}from"./p-f4a8c901.js";import"./p-3a20a038.js";import{s as l}from"./p-148cd792.js";import{D as n,A as a,d as r}from"./p-d2a9e047.js";import"./p-f70d8def.js";import"./p-784914e4.js";import"./p-112455b1.js";let d=class{constructor(t){e(this,t),this.measurementModel=new i,this.distanceUnits="millimeters",this.angleUnits="degrees",this.fractionalDigits=2,this.results=[],this.distanceMeasurementUnits=new n(this.distanceUnits),this.angleMeasurementUnits=new a(this.angleUnits),this.areaMeasurementUnits=new r(this.distanceUnits),this.handleResultsChange=e=>{this.results=e,this.createSummary()},this.formatDistance=e=>{const t=Math.abs(this.distanceMeasurementUnits.convertWorldValueToReal(e));if(null!=this.distanceFormatter)return this.distanceFormatter(t);{const e=this.distanceMeasurementUnits.unit.abbreviatedName;return null==t?"---":`${t.toFixed(this.fractionalDigits)} ${e}`}},this.formatAngle=e=>null!=this.angleFormatter?this.angleFormatter(e):`${this.angleMeasurementUnits.convertTo(e).toFixed(this.fractionalDigits)} ${this.angleMeasurementUnits.unit.abbreviatedName}`,this.formatArea=e=>{const t=this.areaMeasurementUnits.convertWorldValueToReal(e);if(null!=this.areaFormatter)return this.areaFormatter(e);{const e=this.areaMeasurementUnits.unit.abbreviatedName;return null==t?"---":`${t.toFixed(this.fractionalDigits)} ${e}`}},this.createSummary=()=>{var e;const t=l(this.results),s=null!==(e=this.hiddenDetails)&&void 0!==e?e:[];this.summary=t,this.visibleSummary=Object.keys(t).filter((e=>!s.includes(e))).reduce(((e,s)=>Object.assign(Object.assign({},e),{[s]:t[s]})),{})}}connectedCallback(){this.resultsChangeListener=this.measurementModel.onResultsChanged(this.handleResultsChange)}componentWillLoad(){this.parseHiddenDetails()}componentWillUpdate(){this.parseHiddenDetails()}disconnectedCallback(){var e;null===(e=this.resultsChangeListener)||void 0===e||e.dispose()}handleDistanceUnitsChanged(){this.distanceMeasurementUnits=new n(this.distanceUnits),this.areaMeasurementUnits=new r(this.distanceUnits)}handleAngleUnitsChanged(){this.angleMeasurementUnits=new a(this.angleUnits)}handleMeasurementModelChanged(){var e;null===(e=this.resultsChangeListener)||void 0===e||e.dispose(),this.resultsChangeListener=this.measurementModel.onResultsChanged(this.handleResultsChange)}handleHiddenDetailsChanged(){this.createSummary()}render(){var e,i,l,n,a,r,d,h,o,m,u,v,c;return null!=this.visibleSummary?t(s,null,null!=(null===(e=this.visibleSummary)||void 0===e?void 0:e.angle)&&t("div",{class:"measurement-details-entry"},t("div",{class:"measurement-details-entry-label"},"Angle:"),this.formatAngle(this.visibleSummary.angle)),null!=(null===(i=this.visibleSummary)||void 0===i?void 0:i.parallelDistance)&&t("div",{class:"measurement-details-entry"},t("div",{class:"measurement-details-entry-label"},"Parallel Dist:"),this.formatDistance(this.visibleSummary.parallelDistance)),null!=(null===(l=this.visibleSummary)||void 0===l?void 0:l.minDistance)&&t("div",{class:"measurement-details-entry"},t("div",{class:"measurement-details-entry-label"},"Min Dist:"),this.formatDistance(this.visibleSummary.minDistance)),null!=(null===(n=this.visibleSummary)||void 0===n?void 0:n.area)&&t("div",{class:"measurement-details-entry"},t("div",{class:"measurement-details-entry-label"},"Area:"),t("div",{innerHTML:this.formatArea(this.visibleSummary.area)})),null!=(null===(r=null===(a=this.visibleSummary)||void 0===a?void 0:a.distanceVector)||void 0===r?void 0:r.x)&&t("div",{class:"measurement-details-entry"},t("div",{class:"measurement-details-entry-label x-label"},"X:"),this.formatDistance(null===(d=this.visibleSummary.distanceVector)||void 0===d?void 0:d.x)),null!=(null===(o=null===(h=this.visibleSummary)||void 0===h?void 0:h.distanceVector)||void 0===o?void 0:o.y)&&t("div",{class:"measurement-details-entry"},t("div",{class:"measurement-details-entry-label y-label"},"Y:"),this.formatDistance(null===(m=this.visibleSummary.distanceVector)||void 0===m?void 0:m.y)),null!=(null===(v=null===(u=this.visibleSummary)||void 0===u?void 0:u.distanceVector)||void 0===v?void 0:v.z)&&t("div",{class:"measurement-details-entry"},t("div",{class:"measurement-details-entry-label z-label"},"Z:"),this.formatDistance(null===(c=this.visibleSummary.distanceVector)||void 0===c?void 0:c.z))):t(s,null)}parseHiddenDetails(){null!=this.hiddenDetailsJson&&(this.hiddenDetails=JSON.parse(this.hiddenDetailsJson))}static get watchers(){return{distanceUnits:["handleDistanceUnitsChanged"],angleUnits:["handleAngleUnitsChanged"],measurementModel:["handleMeasurementModelChanged"],hiddenDetails:["handleHiddenDetailsChanged"]}}};d.style=":host{display:flex;flex-direction:column;--viewer-measurement-details-x-color:red;--viewer-measurement-details-y-color:var(--green-500);--viewer-measurement-details-z-color:blue}.measurement-details-entry{display:flex;align-items:center}.measurement-details-entry-label{user-select:none;padding-right:0.25rem}.measurement-details-entry-label.x-label{color:var(--viewer-measurement-details-x-color)}.measurement-details-entry-label.y-label{color:var(--viewer-measurement-details-y-color)}.measurement-details-entry-label.z-label{color:var(--viewer-measurement-details-z-color)}.measurement-details-entry-label-superscript{font-size:0.6rem;position:relative;bottom:0.3em;line-height:initial}";export{d as vertex_viewer_measurement_details}
|