@vertexvis/viewer 0.13.1 → 0.13.2-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{browser.esm-31b03292.js → browser.esm-c51162f8.js} +1 -1
- package/dist/cjs/{bundle.esm-dc0a8361.js → bundle.esm-1b8b1f36.js} +34 -0
- package/dist/cjs/{config-90ee43d5.js → config-91efd353.js} +2 -2
- package/dist/cjs/{cursors-ad2fd395.js → cursors-14827f58.js} +1 -1
- package/dist/cjs/{dom-dd265f48.js → dom-c697cf99.js} +1 -1
- package/dist/cjs/{entities-aa59890e.js → entities-0829b4a4.js} +3 -3
- package/dist/cjs/index.cjs.js +13 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{mapper-f6e6cafe.js → mapper-67af470b.js} +2 -2
- package/dist/cjs/{markup-fb1553b1.js → markup-835f2e83.js} +2 -2
- package/dist/cjs/{measurement-aba1e0e8.js → measurement-8e0ce89a.js} +2 -2
- package/dist/cjs/{model-4ec0c36e.js → model-78241d4f.js} +1 -1
- package/dist/cjs/{overlays-40c6cbc7.js → overlays-06786e52.js} +2 -2
- package/dist/cjs/{png-decoder-27d25eed.js → png-decoder-01b76242.js} +1 -1
- package/dist/cjs/{results-bc325974.js → results-7a694238.js} +1 -1
- package/dist/cjs/{scene-d420fd26.js → scene-23535fc0.js} +176 -85
- package/dist/cjs/{streamAttributes-d6236448.js → streamAttributes-f13c1a96.js} +1431 -41
- package/dist/cjs/{utils-f80be307.js → utils-4a02e54b.js} +1 -1
- package/dist/cjs/{utils-545b1865.js → utils-5cc32a26.js} +1 -1
- package/dist/cjs/vertex-scene-tree-search_3.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree.cjs.entry.js +4 -4
- package/dist/cjs/vertex-viewer-dom-element_3.cjs.entry.js +4 -4
- package/dist/cjs/vertex-viewer-markup-arrow_3.cjs.entry.js +3 -3
- package/dist/cjs/vertex-viewer-markup-tool.cjs.entry.js +4 -4
- package/dist/cjs/vertex-viewer-markup.cjs.entry.js +4 -4
- package/dist/cjs/vertex-viewer-measurement-details.cjs.entry.js +3 -3
- package/dist/cjs/vertex-viewer-measurement-distance.cjs.entry.js +11 -11
- package/dist/cjs/vertex-viewer-measurement-line_2.cjs.entry.js +6 -6
- package/dist/cjs/vertex-viewer-measurement-precise.cjs.entry.js +10 -10
- package/dist/cjs/vertex-viewer-measurement-tool.cjs.entry.js +5 -5
- package/dist/cjs/vertex-viewer-measurements.cjs.entry.js +8 -8
- package/dist/cjs/vertex-viewer-view-cube.cjs.entry.js +3 -3
- package/dist/cjs/vertex-viewer.cjs.entry.js +198 -79
- package/dist/cjs/viewer.cjs.js +1 -1
- package/dist/cjs/{viewport-8c39089f.js → viewport-052809c7.js} +1 -1
- package/dist/collection/components/viewer/viewer.js +68 -4
- package/dist/collection/components/viewer-dom-renderer/renderer2d.js +1 -1
- package/dist/collection/components/viewer-dom-renderer/renderer3d.js +1 -1
- package/dist/collection/components/viewer-dom-renderer/viewer-dom-renderer.js +3 -3
- package/dist/collection/components/viewer-measurement-distance/viewer-measurement-distance.js +3 -3
- package/dist/collection/components/viewer-measurement-overlays/viewer-measurement-overlays.js +3 -3
- package/dist/collection/index.js +2 -2
- package/dist/collection/lib/errors.js +8 -1
- package/dist/collection/lib/interactions/index.js +3 -1
- package/dist/collection/lib/interactions/interactionApi.js +4 -25
- package/dist/collection/lib/interactions/interactionApiOrthographic.js +50 -0
- package/dist/collection/lib/interactions/interactionApiPerspective.js +50 -0
- package/dist/collection/lib/mappers/frameStreaming.js +27 -5
- package/dist/collection/lib/rendering/matrices.js +13 -4
- package/dist/collection/lib/scenes/__mocks__/mocks.js +2 -2
- package/dist/collection/lib/scenes/camera.js +149 -77
- package/dist/collection/lib/scenes/mapper.js +3 -2
- package/dist/collection/lib/scenes/scene.js +23 -9
- package/dist/collection/lib/types/clippingPlanes.js +54 -17
- package/dist/collection/lib/types/depthBuffer.js +1 -1
- package/dist/collection/lib/types/frame.js +88 -23
- package/dist/collection/lib/types/frameCamera.js +81 -6
- package/dist/collection/lib/types/viewport.js +1 -1
- package/dist/collection/testing/fixtures.js +23 -10
- package/dist/collection/testing/viewer.js +5 -3
- package/dist/custom-elements/index.js +1821 -194
- package/dist/esm/{browser.esm-59e914f6.js → browser.esm-48f051a3.js} +1 -1
- package/dist/esm/{bundle.esm-d899b2d5.js → bundle.esm-df3a8a42.js} +35 -1
- package/dist/esm/{config-604c644e.js → config-3a5d3ea3.js} +2 -2
- package/dist/esm/{cursors-a7ec4adb.js → cursors-45f23dfe.js} +1 -1
- package/dist/esm/{dom-780d25be.js → dom-18d9ac79.js} +1 -1
- package/dist/esm/{entities-759d97cd.js → entities-60dfd79d.js} +3 -3
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.mjs +12 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.mjs +1 -1
- package/dist/esm/{mapper-4b815e31.js → mapper-adf23dc4.js} +2 -2
- package/dist/esm/{markup-1d177b4a.js → markup-accb6b5c.js} +2 -2
- package/dist/esm/{measurement-12cdbf5c.js → measurement-6cd457a6.js} +2 -2
- package/dist/esm/{model-e5a4f00f.js → model-4982c15d.js} +1 -1
- package/dist/esm/{overlays-1919b192.js → overlays-1783a61a.js} +2 -2
- package/dist/esm/{png-decoder-3f1fa486.js → png-decoder-f35def4c.js} +1 -1
- package/dist/esm/{results-994bdb50.js → results-93d45acc.js} +1 -1
- package/dist/esm/{scene-2c2460d5.js → scene-2d8bdccc.js} +176 -85
- package/dist/esm/{streamAttributes-d623bb60.js → streamAttributes-87a3605c.js} +1426 -43
- package/dist/esm/{utils-5e57bf24.js → utils-9f4b25ec.js} +1 -1
- package/dist/esm/{utils-83a19677.js → utils-ed2346c0.js} +1 -1
- package/dist/esm/vertex-scene-tree-search_3.entry.js +1 -1
- package/dist/esm/vertex-scene-tree.entry.js +4 -4
- package/dist/esm/vertex-viewer-dom-element_3.entry.js +4 -4
- package/dist/esm/vertex-viewer-markup-arrow_3.entry.js +3 -3
- package/dist/esm/vertex-viewer-markup-tool.entry.js +4 -4
- package/dist/esm/vertex-viewer-markup.entry.js +4 -4
- package/dist/esm/vertex-viewer-measurement-details.entry.js +3 -3
- package/dist/esm/vertex-viewer-measurement-distance.entry.js +11 -11
- package/dist/esm/vertex-viewer-measurement-line_2.entry.js +6 -6
- package/dist/esm/vertex-viewer-measurement-precise.entry.js +10 -10
- package/dist/esm/vertex-viewer-measurement-tool.entry.js +5 -5
- package/dist/esm/vertex-viewer-measurements.entry.js +8 -8
- package/dist/esm/vertex-viewer-view-cube.entry.js +3 -3
- package/dist/esm/vertex-viewer.entry.js +198 -79
- package/dist/esm/viewer.js +1 -1
- package/dist/esm/{viewport-01c886ea.js → viewport-6d4c0af0.js} +1 -1
- package/dist/types/components/viewer/viewer.d.ts +8 -0
- package/dist/types/components/viewer-dom-renderer/renderer2d.d.ts +2 -2
- package/dist/types/components/viewer-dom-renderer/renderer3d.d.ts +3 -3
- package/dist/types/components/viewer-dom-renderer/viewer-dom-renderer.d.ts +2 -2
- package/dist/types/components/viewer-measurement-distance/utils.d.ts +2 -2
- package/dist/types/components/viewer-measurement-distance/viewer-measurement-distance.d.ts +2 -2
- package/dist/types/components/viewer-measurement-overlays/viewer-measurement-overlays-components.d.ts +2 -2
- package/dist/types/components/viewer-measurement-overlays/viewer-measurement-overlays.d.ts +2 -2
- package/dist/types/components.d.ts +15 -7
- package/dist/types/index.d.ts +1 -1
- package/dist/types/lib/errors.d.ts +3 -0
- package/dist/types/lib/interactions/index.d.ts +2 -0
- package/dist/types/lib/interactions/interactionApi.d.ts +20 -21
- package/dist/types/lib/interactions/interactionApiOrthographic.d.ts +21 -0
- package/dist/types/lib/interactions/interactionApiPerspective.d.ts +21 -0
- package/dist/types/lib/mappers/frameStreaming.d.ts +2 -0
- package/dist/types/lib/scenes/__mocks__/mocks.d.ts +2 -2
- package/dist/types/lib/scenes/camera.d.ts +100 -37
- package/dist/types/lib/scenes/scene.d.ts +1 -1
- package/dist/types/lib/types/clippingPlanes.d.ts +3 -1
- package/dist/types/lib/types/depthBuffer.d.ts +4 -4
- package/dist/types/lib/types/frame.d.ts +54 -11
- package/dist/types/lib/types/frameCamera.d.ts +21 -2
- package/dist/types/lib/types/viewport.d.ts +2 -3
- package/dist/types/testing/fixtures.d.ts +4 -2
- package/dist/viewer/index.esm.js +1 -1
- package/dist/viewer/{p-3f6ac74f.js → p-014561cd.js} +1 -1
- package/dist/viewer/p-121f2b40.js +18 -0
- package/dist/viewer/p-18ec4fed.js +4 -0
- package/dist/viewer/{p-e2297df2.entry.js → p-1acd0e56.entry.js} +1 -1
- package/dist/viewer/{p-da2f4a56.js → p-25dfee48.js} +1 -1
- package/dist/viewer/p-2e75198d.js +4 -0
- package/dist/viewer/p-38c06c25.js +4 -0
- package/dist/viewer/{p-67446e35.js → p-463151e0.js} +1 -1
- package/dist/viewer/{p-301660cf.js → p-546ae240.js} +1 -1
- package/dist/viewer/{p-d00e9203.js → p-6120a219.js} +1 -1
- package/dist/viewer/p-61db972b.js +4 -0
- package/dist/viewer/{p-a0df0e0c.js → p-6d9d3553.js} +1 -1
- package/dist/viewer/{p-f8d01b8a.entry.js → p-7c5bee8e.entry.js} +1 -1
- package/dist/viewer/{p-8decee06.entry.js → p-8de749a5.entry.js} +1 -1
- package/dist/viewer/{p-081e6873.js → p-8df35eee.js} +1 -1
- package/dist/viewer/{p-671c113c.entry.js → p-923b616f.entry.js} +1 -1
- package/dist/viewer/p-9b1ecc71.js +4 -0
- package/dist/viewer/{p-3810c24d.js → p-9fd5fc8e.js} +1 -1
- package/dist/viewer/p-b2d4c0cf.entry.js +4 -0
- package/dist/viewer/{p-364ce21c.js → p-b8bc15ec.js} +1 -1
- package/dist/viewer/{p-439220c6.js → p-b8f027eb.js} +1 -1
- package/dist/viewer/p-bc7f0ad6.entry.js +4 -0
- package/dist/viewer/{p-2cefb1b0.js → p-ce0fe8be.js} +1 -1
- package/dist/viewer/p-d939ecd3.entry.js +4 -0
- package/dist/viewer/{p-25eaab00.entry.js → p-de7eecce.entry.js} +1 -1
- package/dist/viewer/{p-4985fad5.js → p-e3fff448.js} +1 -1
- package/dist/viewer/{p-6e80f8b0.entry.js → p-e4934f47.entry.js} +1 -1
- package/dist/viewer/{p-df292b56.entry.js → p-e8f6cba6.entry.js} +1 -1
- package/dist/viewer/{p-353cfc7a.entry.js → p-ee86bed2.entry.js} +1 -1
- package/dist/viewer/{p-c62cb926.entry.js → p-f359a9ac.entry.js} +1 -1
- package/dist/viewer/{p-e07377fa.entry.js → p-fa7f2d0c.entry.js} +1 -1
- package/dist/viewer/{p-915d95ad.entry.js → p-ffde162f.entry.js} +1 -1
- package/dist/viewer/viewer.esm.js +1 -1
- package/package.json +8 -8
- package/dist/viewer/p-085e908a.js +0 -4
- package/dist/viewer/p-0aba71fd.js +0 -18
- package/dist/viewer/p-423410be.js +0 -4
- package/dist/viewer/p-432267bc.entry.js +0 -4
- package/dist/viewer/p-7cad9bf4.js +0 -4
- package/dist/viewer/p-d90f2f6d.entry.js +0 -4
- package/dist/viewer/p-f755af5a.entry.js +0 -4
- package/dist/viewer/p-f7cb7e59.js +0 -4
- package/dist/viewer/p-fe11d694.js +0 -4
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**!
|
|
2
|
-
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
|
-
*/
|
|
4
|
-
import{h as o,r as t,c as r,H as e,g as i}from"./p-cafa57a6.js";import{p as n,d as s,g as h,i as a}from"./p-0aba71fd.js";import{g as d}from"./p-439220c6.js";import{i as c,a as l,b as u,p as w,c as p,d as b,e as v,f as m}from"./p-7cad9bf4.js";import{c as f}from"./p-f482325b.js";import"./p-112455b1.js";function g(o){return o.getBoundingClientRect()}function k(o,t){switch(t){case"top-left":return n.create(o.x,o.y);case"top":return n.create(o.x+o.width/2,o.y);case"top-right":return n.create(o.x+o.width,o.y);case"right":return n.create(o.x+o.width,o.y+o.height/2);case"bottom-right":return n.create(o.x+o.width,o.y+o.height);case"bottom":return n.create(o.x+o.width/2,o.y+o.height);case"bottom-left":return n.create(o.x,o.y+o.height);case"left":return n.create(o.x,o.y+o.height/2);case"center":return h.center(o)}}function x(o){return Math.min(o.width,o.height)}function D(o,t){const r=x(t);return n.add(n.scale(o,r,r),s.center(t))}function P(o,t){const r=x(t);return s.scale(r,r,o)}function y(o,t){const r=D(o,t),e=P(o,t);return h.fromPointAndDimensions(r,e)}function A(o,t){const r=function(o){return 1/x(o)}(t);return n.scale(n.subtract(o,s.center(t)),r,r)}function C(o,t,r){const e=h.fromPoints(o,t);if(r){const r=Math.max(e.width,e.height),i=e.height>e.width;return h.create(t.x<=o.x?i?o.x-r:t.x:o.x,t.y<=o.y?i?t.y:o.y-r:o.y,r,r)}return e}function L(o,t,r,e,i){const s=n.subtract(r,t),{x:a,y:d,width:c,height:l}=o,u=a+c,w=d+l,p=n.create(a,d),b=n.create(a,w),v=n.create(u,d),m=n.create(u,w);switch(e){case"top-left":return C(m,r,!!i);case"top":return C(m,n.create(a,r.y),!!i);case"top-right":return C(b,r,!!i);case"right":return C(b,n.create(r.x,d),!!i);case"bottom-right":return C(p,r,!!i);case"bottom":return C(p,n.create(u,r.y),!!i);case"bottom-left":return C(v,r,!!i);case"left":return C(m,n.create(r.x,d),!!i);case"center":return h.create(o.x+s.x,o.y+s.y,o.width,o.height)}}function T(o){const t=o.target;return function(o){return c(o)||l(o)||u(o)}(t)&&"edit"!==t.mode}const B=({id:t,rotation:r,name:e,point:i,onPointerDown:n},s)=>o("div",{id:t,class:"bounds-anchor-position",style:{top:`${i.y}px`,left:`${i.x}px`},onTouchStart:o=>o.preventDefault(),onPointerDown:n},o("div",{class:"bounds-anchor",style:{transform:`rotateZ(${null!=r?r:0}deg)`}},o("slot",{name:e},s))),M=({id:t})=>o("filter",{id:t,filterUnits:"userSpaceOnUse"},o("feGaussianBlur",{in:"SourceAlpha",stdDeviation:"2"}),o("feOffset",{dx:"0",dy:"1",result:"offsetblur"}),o("feFlood",{"flood-color":"#000000","flood-opacity":"0.25"}),o("feComposite",{in2:"offsetblur",operator:"in"}),o("feMerge",null,o("feMergeNode",null),o("feMergeNode",{in:"SourceGraphic"}))),R=({start:t,end:r,onStartAnchorPointerDown:e,onCenterAnchorPointerDown:i,onEndAnchorPointerDown:s})=>{const h=a.normalize(a.toDegrees(a.fromPoints(t,r))-270),d=n.create((t.x+r.x)/2,(t.y+r.y)/2);return o("div",{class:"bounds-container"},o(B,{id:"bounding-box-1d-start-anchor",name:"start-anchor",rotation:h,point:t,onPointerDown:e},o("div",{class:f("bounds-default-anchor","bounds-cap-anchor")})),o(B,{id:"bounding-box-1d-end-anchor",name:"end-anchor",rotation:h,point:r,onPointerDown:s},o("div",{class:f("bounds-default-anchor","bounds-cap-anchor")})),o(B,{id:"bounding-box-1d-center-anchor",name:"center-anchor",point:d,onPointerDown:i},o("div",{class:f("bounds-default-anchor","bounds-center-anchor")})))};let S=class{constructor(o){t(this,o),this.editBegin=r(this,"editBegin",7),this.editEnd=r(this,"editEnd",7),this.viewRendered=r(this,"viewRendered",7),this.mode="",this.editAnchor="end",this.editStartPoint=o=>{this.editAnchor="start",this.startMarkup(o)},this.editCenterPoint=o=>{this.editAnchor="center",this.startMarkup(o)},this.editEndPoint=o=>{this.editAnchor="end",this.startMarkup(o)},this.updatePoints=o=>{if(null!=this.elementBounds&&this.pointerId===o.pointerId){const t=A(d(o,this.elementBounds),this.elementBounds);if("start"===this.editAnchor)this.start=t;else if("end"===this.editAnchor)this.end=t;else if(null!=this.start&&null!=this.end){const o=n.create((this.start.x+this.end.x)/2,(this.start.y+this.end.y)/2),r=o.x-t.x,e=o.y-t.y;this.start=n.create(this.start.x-r,this.start.y-e),this.end=n.create(this.end.x-r,this.end.y-e)}}},this.handleWindowPointerDown=o=>{T(o)&&this.startMarkup(o)},this.handleTouchStart=o=>{o.preventDefault()},this.startMarkup=o=>{var t;""!==this.mode&&null!=this.elementBounds&&null==this.pointerId&&(this.pointerId=o.pointerId,this.start=null!==(t=this.start)&&void 0!==t?t:A(d(o,this.elementBounds),this.elementBounds),this.editBegin.emit(),this.addDrawingInteractionListeners())},this.endMarkup=o=>{if(this.pointerId===o.pointerId){const o=null!=this.start&&null!=this.elementBounds?D(this.start,this.elementBounds):void 0,t=null!=this.end&&null!=this.elementBounds?D(this.end,this.elementBounds):void 0;""!==this.mode&&null!=o&&null!=t&&n.distance(o,t)>=2?this.editEnd.emit():(this.start=void 0,this.end=void 0),this.pointerId=void 0,this.removeDrawingInteractionListeners()}}}componentWillLoad(){this.updateViewport(),this.handleViewerChanged(this.viewer),this.updatePointsFromProps()}componentDidLoad(){this.updatePointsFromProps(),new ResizeObserver((()=>this.updateViewport())).observe(this.hostEl),"create"===this.mode&&window.addEventListener("pointerdown",this.handleWindowPointerDown)}componentDidRender(){""===this.mode&&this.viewRendered.emit()}disconnectedCallback(){window.removeEventListener("pointerdown",this.handleWindowPointerDown)}async dispose(){null!=this.viewer&&this.removeInteractionListeners(this.viewer),this.removeDrawingInteractionListeners(),window.removeEventListener("pointerdown",this.handleWindowPointerDown)}handleViewerChanged(o,t){null!=t&&this.removeInteractionListeners(t),null!=o&&this.addInteractionListeners(o)}handleStartJsonChange(){this.updatePointsFromProps()}handleEndJsonChange(){this.updatePointsFromProps()}handleModeChange(){"create"!==this.mode&&window.removeEventListener("pointerdown",this.handleWindowPointerDown)}updateViewport(){const o=g(this.hostEl);this.elementBounds=o}updatePointsFromProps(){this.start=this.start||w(this.startJson),this.end=this.end||w(this.endJson)}render(){if(null!=this.start&&null!=this.end&&null!=this.elementBounds){const t=D(this.start,this.elementBounds),r=D(this.end,this.elementBounds),i=p(t,r);return function(...o){return o.every((o=>!isNaN(o.x)&&!isNaN(o.y)))}(t,r)?o(e,null,o("svg",{class:"svg",onTouchStart:this.handleTouchStart},o("defs",null,o(M,{id:"arrow-shadow"})),o("g",{filter:"url(#arrow-shadow)"},o("polygon",{id:"arrow-head",class:"head",points:b(i)}),o("line",{id:"arrow-line",class:"line",x1:t.x,y1:t.y,x2:i.base.x,y2:i.base.y}),"edit"===this.mode&&o("line",{id:"bounding-box-1d-line",class:"bounds-line",x1:t.x,y1:t.y,x2:r.x,y2:r.y}))),"edit"===this.mode&&o(R,{start:t,end:r,onStartAnchorPointerDown:this.editStartPoint,onCenterAnchorPointerDown:this.editCenterPoint,onEndAnchorPointerDown:this.editEndPoint}),"create"===this.mode&&o("div",{class:"create-overlay",onTouchStart:this.handleTouchStart})):o(e,null)}return o(e,null,o("div",{class:"create-overlay",onTouchStart:this.handleTouchStart}))}async addInteractionListeners(o){const t=await o.getInteractionTarget();"create"===this.mode&&t.addEventListener("pointerdown",this.startMarkup)}async addDrawingInteractionListeners(){""!==this.mode&&(window.addEventListener("pointermove",this.updatePoints),window.addEventListener("pointerup",this.endMarkup))}async removeInteractionListeners(o){(await o.getInteractionTarget()).removeEventListener("pointerdown",this.startMarkup)}async removeDrawingInteractionListeners(){window.removeEventListener("pointermove",this.updatePoints),window.removeEventListener("pointerup",this.endMarkup)}get hostEl(){return i(this)}static get watchers(){return{viewer:["handleViewerChanged"],start:["handleStartJsonChange"],end:["handleEndJsonChange"],mode:["handleModeChange"]}}};S.style=":host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;--viewer-markup-arrow-line-stroke-color:var(--red-800);--viewer-markup-arrow-line-stroke-width:4;--viewer-markup-arrow-head-stroke-color:var(--red-800);--viewer-markup-arrow-head-stroke-width:4;--viewer-markup-arrow-head-fill-color:var(--red-800);--viewer-markup-arrow-head-fill-opacity:1;--viewer-markup-arrow-bounds-cap-border-color:var(--blue-400);--viewer-markup-arrow-bounds-cap-border-width:1px;--viewer-markup-arrow-bounds-cap-background-color:white;--viewer-markup-arrow-bounds-center-anchor-border-color:white;--viewer-markup-arrow-bounds-center-anchor-border-width:1px;--viewer-markup-arrow-bounds-center-anchor-background-color:var(--blue-400);--viewer-markup-arrow-bounds-outline-width:1px;--viewer-markup-arrow-bounds-outline-color:var(--blue-400);--viewer-markup-arrow-bounds-anchor-width:9px;--viewer-markup-arrow-bounds-anchor-height:9px}.svg{pointer-events:none;width:100%;height:100%}.create-overlay{pointer-events:auto;position:absolute;left:0;top:0;width:100%;height:100%;cursor:crosshair}.line{pointer-events:auto;stroke:var(--viewer-markup-arrow-line-stroke-color);stroke-width:var(--viewer-markup-arrow-line-stroke-width);cursor:default}.head{pointer-events:auto;stroke:var(--viewer-markup-arrow-head-stroke-color);stroke-width:var(--viewer-markup-arrow-head-stroke-width);fill:var(--viewer-markup-arrow-head-fill-color);fill-opacity:var(--viewer-markup-arrow-head-fill-opacity);cursor:default}.bounds-line{pointer-events:auto;stroke:var(--viewer-markup-arrow-bounds-outline-color);stroke-width:var(--viewer-markup-arrow-bounds-outline-width)}.bounds-container{pointer-events:none;position:absolute;width:100%;height:100%;top:0;left:0;overflow:hidden}.bounds-anchor-position{position:absolute;transform:translate(-50%, -50%)}.bounds-anchor{pointer-events:auto;cursor:default;user-select:none}.bounds-default-anchor{width:var(--viewer-markup-arrow-bounds-anchor-width);height:var(--viewer-markup-arrow-bounds-anchor-height);box-sizing:border-box;box-shadow:0 0 2px rgba(0, 0, 0, 0.3)}.bounds-center-anchor{border-radius:100%;border-width:var(--viewer-markup-arrow-bounds-center-anchor-border-width);border-color:var(--viewer-markup-arrow-bounds-center-anchor-border-color);border-style:solid;background-color:var(--viewer-markup-arrow-bounds-center-anchor-background-color)}.bounds-cap-anchor{border-width:var(--viewer-markup-arrow-bounds-cap-border-width);border-color:var(--viewer-markup-arrow-bounds-cap-border-color);border-style:solid;background-color:var(--viewer-markup-arrow-bounds-cap-background-color)}";const I=({bounds:t,onTopLeftAnchorPointerDown:r,onLeftAnchorPointerDown:e,onTopRightAnchorPointerDown:i,onRightAnchorPointerDown:n,onBottomLeftAnchorPointerDown:s,onBottomAnchorPointerDown:a,onBottomRightAnchorPointerDown:d,onTopAnchorPointerDown:c,onCenterAnchorPointerDown:l})=>{const u=h.pad(t,6),w=h.center(u);return o("div",{class:"bounds-container"},o("div",{class:"bounds-outline",style:{top:`${u.y}px`,left:`${u.x}px`,width:`${u.width}px`,height:`${u.height}px`}}),o(B,{id:"bounding-box-2d-top-left-anchor",name:"top-left-anchor",point:k(u,"top-left"),onPointerDown:r},o("div",{class:f("bounds-default-anchor","bounds-edge-anchor")})),o(B,{id:"bounding-box-2d-left-anchor",name:"left-anchor",point:k(u,"left"),onPointerDown:e},o("div",{class:f("bounds-default-anchor","bounds-edge-anchor")})),o(B,{id:"bounding-box-2d-top-right-anchor",name:"top-right-anchor",point:k(u,"top-right"),onPointerDown:i},o("div",{class:f("bounds-default-anchor","bounds-edge-anchor")})),o(B,{id:"bounding-box-2d-right-anchor",name:"right-anchor",point:k(u,"right"),onPointerDown:n},o("div",{class:f("bounds-default-anchor","bounds-edge-anchor")})),o(B,{id:"bounding-box-2d-bottom-left-anchor",name:"bottom-left-anchor",point:k(u,"bottom-left"),onPointerDown:s},o("div",{class:f("bounds-default-anchor","bounds-edge-anchor")})),o(B,{id:"bounding-box-2d-bottom-anchor",name:"bottom-anchor",point:k(u,"bottom"),onPointerDown:a},o("div",{class:f("bounds-default-anchor","bounds-edge-anchor")})),o(B,{id:"bounding-box-2d-bottom-right-anchor",name:"bottom-right-anchor",point:k(u,"bottom-right"),onPointerDown:d},o("div",{class:f("bounds-default-anchor","bounds-edge-anchor")})),o(B,{id:"bounding-box-2d-top-anchor",name:"top-anchor",point:k(u,"top"),onPointerDown:c},o("div",{class:f("bounds-default-anchor","bounds-edge-anchor")})),o(B,{id:"bounding-box-2d-center-anchor",name:"center-anchor",point:w,onPointerDown:l},o("div",{class:f("bounds-default-anchor","bounds-center-anchor")})))};let E=class{constructor(o){t(this,o),this.editBegin=r(this,"editBegin",7),this.editEnd=r(this,"editEnd",7),this.viewRendered=r(this,"viewRendered",7),this.mode="",this.editAnchor="bottom-right",this.updateEditAnchor=(o,t)=>{this.resizeBounds=this.bounds,this.editAnchor=t,this.startMarkup(o)},this.updatePoints=o=>{var t;if(null!=this.bounds&&null!=this.startPosition&&null!=this.elementBounds&&this.pointerId===o.pointerId){const r=A(d(o,this.elementBounds),this.elementBounds);this.bounds=L(null!==(t=this.resizeBounds)&&void 0!==t?t:this.bounds,this.startPosition,r,this.editAnchor,o.shiftKey)}},this.handleWindowPointerDown=o=>{T(o)&&this.startMarkup(o)},this.handleTouchStart=o=>{o.preventDefault()},this.startMarkup=o=>{var t;if(""!==this.mode&&null!=this.elementBounds&&null==this.pointerId){const r=A(d(o,this.elementBounds),this.elementBounds);this.pointerId=o.pointerId,this.startPosition=r,this.bounds=null!==(t=this.bounds)&&void 0!==t?t:h.create(r.x,r.y,0,0),this.resizeBounds=this.bounds,this.editBegin.emit(),this.addDrawingInteractionListeners()}},this.endMarkup=o=>{var t,r;this.pointerId===o.pointerId&&(""!==this.mode&&null!=this.bounds&&(null===(t=this.bounds)||void 0===t?void 0:t.width)>0&&(null===(r=this.bounds)||void 0===r?void 0:r.height)>0?(this.editAnchor="bottom-right",this.editEnd.emit()):this.bounds=void 0,this.pointerId=void 0,this.removeDrawingInteractionListeners())}}componentWillLoad(){this.updateViewport(),this.handleViewerChanged(this.viewer),this.updateBoundsFromProps()}componentDidLoad(){this.updateBoundsFromProps(),new ResizeObserver((()=>this.updateViewport())).observe(this.hostEl),"create"===this.mode&&window.addEventListener("pointerdown",this.handleWindowPointerDown)}componentDidRender(){""===this.mode&&this.viewRendered.emit()}disconnectedCallback(){window.removeEventListener("pointerdown",this.handleWindowPointerDown)}async dispose(){null!=this.viewer&&this.removeInteractionListeners(this.viewer),this.removeDrawingInteractionListeners(),window.removeEventListener("pointerdown",this.handleWindowPointerDown)}handleViewerChanged(o,t){null!=t&&this.removeInteractionListeners(t),null!=o&&this.addInteractionListeners(o)}handleBoundsJsonChange(){this.updateBoundsFromProps()}handleModeChange(){"create"!==this.mode&&window.removeEventListener("pointerdown",this.handleWindowPointerDown)}updateViewport(){const o=g(this.hostEl);this.elementBounds=o}updateBoundsFromProps(){var o;this.bounds=null!==(o=this.bounds)&&void 0!==o?o:v(this.boundsJson)}render(){if(null!=this.bounds&&null!=this.elementBounds){const t=y(this.bounds,this.elementBounds),r=h.center(t);return o(e,null,o("svg",{class:"svg",onTouchStart:this.handleTouchStart},o("defs",null,o(M,{id:"circle-shadow"})),o("g",{filter:"url(#circle-shadow)"},o("ellipse",{class:"ellipse",cx:r.x,cy:r.y,rx:t.width/2,ry:t.height/2,stroke:"#000ff0","stroke-width":4,fill:"none"}))),"edit"===this.mode&&o(I,{bounds:t,onTopLeftAnchorPointerDown:o=>this.updateEditAnchor(o,"top-left"),onTopRightAnchorPointerDown:o=>this.updateEditAnchor(o,"top-right"),onTopAnchorPointerDown:o=>this.updateEditAnchor(o,"top"),onBottomLeftAnchorPointerDown:o=>this.updateEditAnchor(o,"bottom-left"),onBottomRightAnchorPointerDown:o=>this.updateEditAnchor(o,"bottom-right"),onBottomAnchorPointerDown:o=>this.updateEditAnchor(o,"bottom"),onLeftAnchorPointerDown:o=>this.updateEditAnchor(o,"left"),onRightAnchorPointerDown:o=>this.updateEditAnchor(o,"right"),onCenterAnchorPointerDown:o=>this.updateEditAnchor(o,"center")}),"create"===this.mode&&o("div",{class:"create-overlay",onTouchStart:this.handleTouchStart}))}return o(e,null,o("div",{class:"create-overlay",onTouchStart:this.handleTouchStart}))}async addInteractionListeners(o){const t=await o.getInteractionTarget();"create"===this.mode&&t.addEventListener("pointerdown",this.startMarkup)}async addDrawingInteractionListeners(){""!==this.mode&&(window.addEventListener("pointermove",this.updatePoints),window.addEventListener("pointerup",this.endMarkup))}async removeInteractionListeners(o){(await o.getInteractionTarget()).removeEventListener("pointerdown",this.startMarkup)}async removeDrawingInteractionListeners(){window.removeEventListener("pointermove",this.updatePoints),window.removeEventListener("pointerup",this.endMarkup)}get hostEl(){return i(this)}static get watchers(){return{viewer:["handleViewerChanged"],bounds:["handleBoundsJsonChange"],mode:["handleModeChange"]}}};E.style=":host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;--viewer-markup-circle-ellipse-stroke-color:var(--red-700);--viewer-markup-circle-ellipse-stroke-width:4;--viewer-markup-circle-ellipse-fill-color:none;--viewer-markup-circle-ellipse-fill-opacity:0;--viewer-markup-circle-bounds-outline-border-color:var(--blue-400);--viewer-markup-circle-bounds-outline-border-width:1px;--viewer-markup-circle-bounds-edge-anchor-border-color:var(--blue-400);--viewer-markup-circle-bounds-edge-anchor-border-width:1px;--viewer-markup-circle-bounds-edge-anchor-background-color:white;--viewer-markup-circle-bounds-center-anchor-border-color:white;--viewer-markup-circle-bounds-center-anchor-border-width:1px;--viewer-markup-circle-bounds-center-anchor-background-color:var(--blue-400);--viewer-markup-circle-bounds-anchor-width:9px;--viewer-markup-circle-bounds-anchor-height:9px}.svg{pointer-events:none;width:100%;height:100%}.create-overlay{pointer-events:auto;position:absolute;left:0;top:0;width:100%;height:100%;cursor:crosshair}.ellipse{pointer-events:auto;stroke:var(--viewer-markup-circle-ellipse-stroke-color);stroke-width:var(--viewer-markup-circle-ellipse-stroke-width);fill:var(--viewer-markup-circle-ellipse-fill-color);fill-opacity:var(--viewer-markup-circle-ellipse-fill-opacity);cursor:default}.bounds-container{pointer-events:none;position:absolute;width:100%;height:100%;top:0;left:0;overflow:hidden}.bounds-outline{position:absolute;border-width:var(--viewer-markup-circle-bounds-outline-border-width);border-color:var(--viewer-markup-circle-bounds-outline-border-color);border-style:solid;box-shadow:0 0 3px rgba(0, 0, 0, 0.3)}.bounds-anchor-position{position:absolute;transform:translate(-50%, -50%)}.bounds-anchor{pointer-events:auto;cursor:default;user-select:none}.bounds-default-anchor{width:var(--viewer-markup-circle-bounds-anchor-width);height:var(--viewer-markup-circle-bounds-anchor-height);box-sizing:border-box;box-shadow:0 0 2px rgba(0, 0, 0, 0.3)}.bounds-center-anchor{border-radius:100%;border-width:var(--viewer-markup-circle-bounds-center-anchor-border-width);border-color:var(--viewer-markup-circle-bounds-center-anchor-border-color);border-style:solid;background-color:var(--viewer-markup-circle-bounds-center-anchor-background-color)}.bounds-edge-anchor{border-width:var(--viewer-markup-circle-bounds-edge-anchor-border-width);border-color:var(--viewer-markup-circle-bounds-edge-anchor-border-color);border-style:solid;background-color:var(--viewer-markup-circle-bounds-edge-anchor-background-color)}";let $=class{constructor(o){t(this,o),this.editBegin=r(this,"editBegin",7),this.editEnd=r(this,"editEnd",7),this.viewRendered=r(this,"viewRendered",7),this.mode="",this.editAnchor="bottom-right",this.screenPoints=[],this.handleWindowPointerDown=o=>{T(o)&&this.startMarkup(o)},this.handleTouchStart=o=>{o.preventDefault()},this.updateEditAnchor=(o,t)=>{null!=this.elementBounds&&(this.resizeBounds=this.bounds,this.resizePoints=this.points,this.editAnchor=t,this.resizeStartPosition=A(d(o,this.elementBounds),this.elementBounds),this.addEditingInteractionListeners())},this.updateBounds=o=>{var t,r,e;if(null!=this.resizeStartPosition&&null!=this.elementBounds&&null!=this.resizeBounds&&null!=this.resizePoints){const i=A(d(o,this.elementBounds),this.elementBounds),s=L(this.resizeBounds,this.resizeStartPosition,i,this.editAnchor,o.shiftKey);this.points=(r=this.resizeBounds,e=s,this.resizePoints.map((o=>n.add(n.scale(n.subtract(o,r),e.width/(r.width||1),e.height/(r.height||1)),e)))),this.screenPoints=null!==(t=this.convertPointsToScreen())&&void 0!==t?t:this.screenPoints,this.bounds=s}},this.updatePoints=o=>{if(this.pointerId===o.pointerId&&null!=this.points&&null!=this.elementBounds){const t=d(o,this.elementBounds),r=A(t,this.elementBounds);this.updateMinAndMax(r),this.points=[...this.points,r],this.screenPoints=[...this.screenPoints,t]}},this.startMarkup=o=>{var t,r;if(null==this.pointerId&&""!==this.mode&&null!=this.elementBounds){this.pointerId=o.pointerId;const e=d(o,this.elementBounds),i=A(e,this.elementBounds);this.updateMinAndMax(i),this.points=null!==(t=this.points)&&void 0!==t?t:[i],this.screenPoints=null!==(r=this.screenPoints)&&void 0!==r?r:[e],this.editBegin.emit(),this.addDrawingInteractionListeners()}},this.endMarkup=o=>{if(this.pointerId===o.pointerId){if(""!==this.mode&&null!=this.points&&this.points.length>2&&null!=this.elementBounds){const t=d(o,this.elementBounds),r=A(t,this.elementBounds);this.updateMinAndMax(r),this.points=[...this.points,r],this.screenPoints=[...this.screenPoints,t],this.editEnd.emit()}else this.points=void 0;this.min=void 0,this.max=void 0,this.pointerId=void 0,this.removeDrawingInteractionListeners()}},this.endEdit=()=>{this.resizeBounds=void 0,this.removeEditingInteractionListeners(),this.editEnd.emit()}}componentWillLoad(){this.updateViewport(),this.handleViewerChanged(this.viewer),this.updatePointsFromProps()}componentDidLoad(){new ResizeObserver((()=>this.updateViewport())).observe(this.hostEl),"create"===this.mode&&window.addEventListener("pointerdown",this.handleWindowPointerDown)}componentDidRender(){""===this.mode&&this.viewRendered.emit()}disconnectedCallback(){window.removeEventListener("pointerdown",this.handleWindowPointerDown)}async dispose(){null!=this.viewer&&this.removeInteractionListeners(this.viewer),this.removeDrawingInteractionListeners(),window.removeEventListener("pointerdown",this.handleWindowPointerDown)}handleViewerChanged(o,t){null!=t&&this.removeInteractionListeners(t),null!=o&&this.addInteractionListeners(o)}handlePointsJsonChange(){this.updatePointsFromProps()}handleBoundsJsonChange(){this.updatePointsFromProps()}handleModeChange(){"create"!==this.mode&&window.removeEventListener("pointerdown",this.handleWindowPointerDown)}updateViewport(){var o;const t=g(this.hostEl);this.elementBounds=t,this.screenPoints=null!==(o=this.convertPointsToScreen())&&void 0!==o?o:this.screenPoints}updatePointsFromProps(){var o,t,r;this.points=null!==(o=this.points)&&void 0!==o?o:m(this.pointsJson),this.screenPoints=null!==(t=this.convertPointsToScreen())&&void 0!==t?t:[],this.bounds=null!==(r=this.bounds)&&void 0!==r?r:v(this.boundsJson)}render(){return this.screenPoints.length>0&&null!=this.elementBounds?o(e,null,o("svg",{class:"svg",onTouchStart:this.handleTouchStart},o("defs",null,o(M,{id:"freeform-markup-shadow"})),o("g",{filter:"url(#freeform-markup-shadow)"},o("path",{class:"path",d:this.screenPoints.reduce(((o,t)=>`${o}L${t.x},${t.y}`),`M${this.screenPoints[0].x},${this.screenPoints[0].y}`),fill:"none"}))),"edit"===this.mode&&null!=this.bounds&&o(I,{bounds:y(this.bounds,this.elementBounds),onTopLeftAnchorPointerDown:o=>this.updateEditAnchor(o,"top-left"),onTopRightAnchorPointerDown:o=>this.updateEditAnchor(o,"top-right"),onTopAnchorPointerDown:o=>this.updateEditAnchor(o,"top"),onBottomLeftAnchorPointerDown:o=>this.updateEditAnchor(o,"bottom-left"),onBottomRightAnchorPointerDown:o=>this.updateEditAnchor(o,"bottom-right"),onBottomAnchorPointerDown:o=>this.updateEditAnchor(o,"bottom"),onLeftAnchorPointerDown:o=>this.updateEditAnchor(o,"left"),onRightAnchorPointerDown:o=>this.updateEditAnchor(o,"right"),onCenterAnchorPointerDown:o=>this.updateEditAnchor(o,"center")}),"create"===this.mode&&o("div",{class:"create-overlay",onTouchStart:this.handleTouchStart})):o(e,null,o("div",{class:"create-overlay",onTouchStart:this.handleTouchStart}))}async addInteractionListeners(o){const t=await o.getInteractionTarget();"create"===this.mode&&t.addEventListener("pointerdown",this.startMarkup)}async addDrawingInteractionListeners(){""!==this.mode&&(window.addEventListener("pointermove",this.updatePoints),window.addEventListener("pointerup",this.endMarkup))}async addEditingInteractionListeners(){"edit"===this.mode&&(window.addEventListener("pointermove",this.updateBounds),window.addEventListener("pointerup",this.endEdit))}async removeInteractionListeners(o){(await o.getInteractionTarget()).removeEventListener("pointerdown",this.startMarkup)}async removeDrawingInteractionListeners(){window.removeEventListener("pointermove",this.updatePoints),window.removeEventListener("pointerup",this.endMarkup)}async removeEditingInteractionListeners(){"edit"===this.mode&&(window.removeEventListener("pointermove",this.updateBounds),window.removeEventListener("pointerup",this.endEdit))}updateMinAndMax(o){this.min=null!=this.min?n.create(Math.min(this.min.x,o.x),Math.min(this.min.y,o.y)):o,this.max=null!=this.max?n.create(Math.max(this.max.x,o.x),Math.max(this.max.y,o.y)):o,this.bounds=h.create(this.min.x,this.min.y,this.max.x-this.min.x,this.max.y-this.min.y)}convertPointsToScreen(){var o;const t=this.elementBounds;if(null!=t)return null===(o=this.points)||void 0===o?void 0:o.map((o=>D(o,t)))}get hostEl(){return i(this)}static get watchers(){return{viewer:["handleViewerChanged"],points:["handlePointsJsonChange"],bounds:["handleBoundsJsonChange"],mode:["handleModeChange"]}}};$.style=":host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;--viewer-markup-freeform-stroke-color:var(--red-800);--viewer-markup-freeform-stroke-width:4;--viewer-markup-freeform-line-join:round;--viewer-markup-freeform-line-cap:round;--viewer-markup-freeform-bounds-outline-border-color:var(--blue-400);--viewer-markup-freeform-bounds-outline-border-width:1px;--viewer-markup-freeform-bounds-edge-anchor-border-color:var(--blue-400);--viewer-markup-freeform-bounds-edge-anchor-border-width:1px;--viewer-markup-freeform-bounds-edge-anchor-background-color:white;--viewer-markup-freeform-bounds-center-anchor-border-color:white;--viewer-markup-freeform-bounds-center-anchor-border-width:1px;--viewer-markup-freeform-bounds-center-anchor-background-color:var(--blue-400);--viewer-markup-freeform-bounds-anchor-width:9px;--viewer-markup-freeform-bounds-anchor-height:9px}.svg{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.path{pointer-events:auto;cursor:default;stroke:var(--viewer-markup-freeform-stroke-color);stroke-width:var(--viewer-markup-freeform-stroke-width);stroke-linejoin:var(--viewer-markup-freeform-line-join);stroke-linecap:var(--viewer-markup-freeform-line-cap)}.create-overlay{pointer-events:auto;position:absolute;left:0;top:0;width:100%;height:100%;cursor:crosshair}.bounds-container{pointer-events:none;position:absolute;width:100%;height:100%;top:0;left:0;overflow:hidden}.bounds-outline{position:absolute;border-width:var(--viewer-markup-freeform-bounds-outline-border-width);border-color:var(--viewer-markup-freeform-bounds-outline-border-color);border-style:solid;box-shadow:0 0 3px rgba(0, 0, 0, 0.3)}.bounds-anchor-position{position:absolute;transform:translate(-50%, -50%)}.bounds-anchor{pointer-events:auto;cursor:default;user-select:none}.bounds-default-anchor{width:var(--viewer-markup-freeform-bounds-anchor-width);height:var(--viewer-markup-freeform-bounds-anchor-height);box-sizing:border-box;box-shadow:0 0 2px rgba(0, 0, 0, 0.3)}.bounds-center-anchor{border-radius:100%;border-width:var(--viewer-markup-freeform-bounds-center-anchor-border-width);border-color:var(--viewer-markup-freeform-bounds-center-anchor-border-color);border-style:solid;background-color:var(--viewer-markup-freeform-bounds-center-anchor-background-color)}.bounds-edge-anchor{border-width:var(--viewer-markup-freeform-bounds-edge-anchor-border-width);border-color:var(--viewer-markup-freeform-bounds-edge-anchor-border-color);border-style:solid;background-color:var(--viewer-markup-freeform-bounds-edge-anchor-background-color)}";export{S as vertex_viewer_markup_arrow,E as vertex_viewer_markup_circle,$ as vertex_viewer_markup_freeform}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**!
|
|
2
|
-
* Copyright (c) 2022 Vertex Software LLC. All rights reserved.
|
|
3
|
-
*/
|
|
4
|
-
import{c as o}from"./p-112455b1.js";import{a as t,w as r}from"./p-3a20a038.js";import{m as n}from"./p-301660cf.js";import{g as i,e as u}from"./p-fe11d694.js";var p=o((function(o,r){var n=t,i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.Uuid",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Uuid2l",null,i),proto.vertexvis.protobuf.core.Uuid=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Uuid,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Uuid.displayName="proto.vertexvis.protobuf.core.Uuid"),t.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,r){var n={hex:t.Message.getFieldWithDefault(r,1,"")};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Uuid.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Uuid;return proto.vertexvis.protobuf.core.Uuid.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.core.Uuid.prototype.setHex=function(o){t.Message.setProto3StringField(this,1,o)},proto.vertexvis.protobuf.core.Uuid2l=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Uuid2l,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Uuid2l.displayName="proto.vertexvis.protobuf.core.Uuid2l"),t.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,r){var n={msb:t.Message.getFieldWithDefault(r,1,"0"),lsb:t.Message.getFieldWithDefault(r,2,"0")};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Uuid2l.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Uuid2l;return proto.vertexvis.protobuf.core.Uuid2l.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getFieldWithDefault(this,1,"0")},proto.vertexvis.protobuf.core.Uuid2l.prototype.setMsb=function(o){t.Message.setProto3StringIntField(this,1,o)},proto.vertexvis.protobuf.core.Uuid2l.prototype.getLsb=function(){return t.Message.getFieldWithDefault(this,2,"0")},proto.vertexvis.protobuf.core.Uuid2l.prototype.setLsb=function(o){t.Message.setProto3StringIntField(this,2,o)},n.object.extend(r,proto.vertexvis.protobuf.core)})),e=o((function(o,r){var n=t,i=function(){return this?this:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:Function("return this")()}.call(null);n.exportSymbol("proto.google.protobuf.Any",null,i),proto.google.protobuf.Any=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.google.protobuf.Any,t.Message),n.DEBUG&&!COMPILED&&(proto.google.protobuf.Any.displayName="proto.google.protobuf.Any"),t.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,r){var n={typeUrl:t.Message.getFieldWithDefault(r,1,""),value:r.getValue_asB64()};return o&&(n.$jspbMessageInstance=r),n}),proto.google.protobuf.Any.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.google.protobuf.Any;return proto.google.protobuf.Any.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.Any.prototype.setTypeUrl=function(o){return t.Message.setProto3StringField(this,1,o)},proto.google.protobuf.Any.prototype.getValue=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.Any.prototype.getValue_asB64=function(){return t.Message.bytesAsB64(this.getValue())},proto.google.protobuf.Any.prototype.getValue_asU8=function(){return t.Message.bytesAsU8(this.getValue())},proto.google.protobuf.Any.prototype.setValue=function(o){return t.Message.setProto3BytesField(this,2,o)},n.object.extend(r,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}})),c=o((function(o,r){var n=t,i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.ModelEntity",null,i),proto.vertexvis.protobuf.core.ModelEntity=function(o){t.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.core.ModelEntity.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.core.ModelEntity,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.ModelEntity.displayName="proto.vertexvis.protobuf.core.ModelEntity"),proto.vertexvis.protobuf.core.ModelEntity.repeatedFields_=[3],t.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,r){var n,i={entityId:t.Message.getFieldWithDefault(r,1,0),sceneItemId:(n=r.getSceneItemId())&&p.Uuid.toObject(o,n),detailsList:t.Message.toObjectList(r.getDetailsList(),e.Any.toObject,o)};return o&&(i.$jspbMessageInstance=r),i}),proto.vertexvis.protobuf.core.ModelEntity.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.ModelEntity;return proto.vertexvis.protobuf.core.ModelEntity.deserializeBinaryFromReader(n,r)},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 p.Uuid,t.readMessage(r,p.Uuid.deserializeBinaryFromReader),o.setSceneItemId(r);break;case 3:r=new e.Any,t.readMessage(r,e.Any.deserializeBinaryFromReader),o.addDetails(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.ModelEntity.prototype.serializeBinary=function(){var o=new t.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,p.Uuid.serializeBinaryToWriter),(r=o.getDetailsList()).length>0&&t.writeRepeatedMessage(3,r,e.Any.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.ModelEntity.prototype.getEntityId=function(){return t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.ModelEntity.prototype.setEntityId=function(o){t.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.ModelEntity.prototype.getSceneItemId=function(){return t.Message.getWrapperField(this,p.Uuid,2)},proto.vertexvis.protobuf.core.ModelEntity.prototype.setSceneItemId=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.ModelEntity.prototype.getDetailsList=function(){return t.Message.getRepeatedWrapperField(this,e.Any,3)},proto.vertexvis.protobuf.core.ModelEntity.prototype.setDetailsList=function(o){t.Message.setRepeatedWrapperField(this,3,o)},proto.vertexvis.protobuf.core.ModelEntity.prototype.addDetails=function(o,r){return t.Message.addToRepeatedWrapperField(this,3,o,proto.google.protobuf.Any,r)},proto.vertexvis.protobuf.core.ModelEntity.prototype.clearDetailsList=function(){this.setDetailsList([])},n.object.extend(r,proto.vertexvis.protobuf.core)})),f=o((function(o,r){var n=t,i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.AffineMatrix4d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.AffineMatrix4f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.AffineTransform2d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.AffineTransform2f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.AffineTransform3d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.AffineTransform3f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.BBox2d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.BBox2f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.BBox3d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.BBox3f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.BoundingBox3f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Dimension2i",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Indexed3DTriangleSet",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.IndexedVector3fArray",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.LinearTransform2d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.LinearTransform2f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.LinearTransform3d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.LinearTransform3f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Matrix4x4d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Matrix4x4f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Plane",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Point2i",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Vector2d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Vector2f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Vector3d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Vector3f",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Vector4d",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.Vector4f",null,i),proto.vertexvis.protobuf.core.Vector2f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Vector2f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector2f.displayName="proto.vertexvis.protobuf.core.Vector2f"),t.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,r){var n={x:+t.Message.getFieldWithDefault(r,1,0),y:+t.Message.getFieldWithDefault(r,2,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Vector2f.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Vector2f;return proto.vertexvis.protobuf.core.Vector2f.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector2f.prototype.setX=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector2f.prototype.getY=function(){return+t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector2f.prototype.setY=function(o){t.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector2d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Vector2d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector2d.displayName="proto.vertexvis.protobuf.core.Vector2d"),t.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,r){var n={x:+t.Message.getFieldWithDefault(r,1,0),y:+t.Message.getFieldWithDefault(r,2,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Vector2d.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Vector2d;return proto.vertexvis.protobuf.core.Vector2d.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector2d.prototype.setX=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector2d.prototype.getY=function(){return+t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector2d.prototype.setY=function(o){t.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector3f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Vector3f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector3f.displayName="proto.vertexvis.protobuf.core.Vector3f"),t.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,r){var n={x:+t.Message.getFieldWithDefault(r,1,0),y:+t.Message.getFieldWithDefault(r,2,0),z:+t.Message.getFieldWithDefault(r,3,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Vector3f.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Vector3f;return proto.vertexvis.protobuf.core.Vector3f.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector3f.prototype.setX=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector3f.prototype.getY=function(){return+t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector3f.prototype.setY=function(o){t.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector3f.prototype.getZ=function(){return+t.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.Vector3f.prototype.setZ=function(o){t.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.Vector3d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Vector3d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector3d.displayName="proto.vertexvis.protobuf.core.Vector3d"),t.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,r){var n={x:+t.Message.getFieldWithDefault(r,1,0),y:+t.Message.getFieldWithDefault(r,2,0),z:+t.Message.getFieldWithDefault(r,3,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Vector3d.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Vector3d;return proto.vertexvis.protobuf.core.Vector3d.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector3d.prototype.setX=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector3d.prototype.getY=function(){return+t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector3d.prototype.setY=function(o){t.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector3d.prototype.getZ=function(){return+t.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.Vector3d.prototype.setZ=function(o){t.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.Vector4f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Vector4f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector4f.displayName="proto.vertexvis.protobuf.core.Vector4f"),t.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,r){var n={x:+t.Message.getFieldWithDefault(r,1,0),y:+t.Message.getFieldWithDefault(r,2,0),z:+t.Message.getFieldWithDefault(r,3,0),w:+t.Message.getFieldWithDefault(r,4,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Vector4f.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Vector4f;return proto.vertexvis.protobuf.core.Vector4f.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector4f.prototype.setX=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector4f.prototype.getY=function(){return+t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector4f.prototype.setY=function(o){t.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector4f.prototype.getZ=function(){return+t.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.Vector4f.prototype.setZ=function(o){t.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.Vector4f.prototype.getW=function(){return+t.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.Vector4f.prototype.setW=function(o){t.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.Vector4d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Vector4d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Vector4d.displayName="proto.vertexvis.protobuf.core.Vector4d"),t.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,r){var n={x:+t.Message.getFieldWithDefault(r,1,0),y:+t.Message.getFieldWithDefault(r,2,0),z:+t.Message.getFieldWithDefault(r,3,0),w:+t.Message.getFieldWithDefault(r,4,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Vector4d.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Vector4d;return proto.vertexvis.protobuf.core.Vector4d.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Vector4d.prototype.setX=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.Vector4d.prototype.getY=function(){return+t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Vector4d.prototype.setY=function(o){t.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.Vector4d.prototype.getZ=function(){return+t.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.Vector4d.prototype.setZ=function(o){t.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.Vector4d.prototype.getW=function(){return+t.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.Vector4d.prototype.setW=function(o){t.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.BoundingBox3f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.BoundingBox3f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BoundingBox3f.displayName="proto.vertexvis.protobuf.core.BoundingBox3f"),t.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,r){var n={xmin:+t.Message.getFieldWithDefault(r,1,0),xmax:+t.Message.getFieldWithDefault(r,2,0),ymin:+t.Message.getFieldWithDefault(r,3,0),ymax:+t.Message.getFieldWithDefault(r,4,0),zmin:+t.Message.getFieldWithDefault(r,5,0),zmax:+t.Message.getFieldWithDefault(r,6,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.BoundingBox3f.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.BoundingBox3f;return proto.vertexvis.protobuf.core.BoundingBox3f.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setXmin=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getXmax=function(){return+t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setXmax=function(o){t.Message.setProto3FloatField(this,2,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getYmin=function(){return+t.Message.getFieldWithDefault(this,3,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setYmin=function(o){t.Message.setProto3FloatField(this,3,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getYmax=function(){return+t.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setYmax=function(o){t.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getZmin=function(){return+t.Message.getFieldWithDefault(this,5,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setZmin=function(o){t.Message.setProto3FloatField(this,5,o)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.getZmax=function(){return+t.Message.getFieldWithDefault(this,6,0)},proto.vertexvis.protobuf.core.BoundingBox3f.prototype.setZmax=function(o){t.Message.setProto3FloatField(this,6,o)},proto.vertexvis.protobuf.core.AffineMatrix4f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.AffineMatrix4f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineMatrix4f.displayName="proto.vertexvis.protobuf.core.AffineMatrix4f"),t.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,r){var n,i={basisX:(n=r.getBasisX())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,n),basisY:(n=r.getBasisY())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,n),xlate:(n=r.getXlate())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,n),scale:+t.Message.getFieldWithDefault(r,4,0),basisZ:(n=r.getBasisZ())&&proto.vertexvis.protobuf.core.Vector3f.toObject(o,n)};return o&&(i.$jspbMessageInstance=r),i}),proto.vertexvis.protobuf.core.AffineMatrix4f.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.AffineMatrix4f;return proto.vertexvis.protobuf.core.AffineMatrix4f.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,1)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setBasisX=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getBasisY=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,2)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setBasisY=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getXlate=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,3)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setXlate=function(o){t.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!=t.Message.getField(this,3)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getScale=function(){return+t.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setScale=function(o){t.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.getBasisZ=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,5)},proto.vertexvis.protobuf.core.AffineMatrix4f.prototype.setBasisZ=function(o){t.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!=t.Message.getField(this,5)},proto.vertexvis.protobuf.core.AffineMatrix4d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.AffineMatrix4d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineMatrix4d.displayName="proto.vertexvis.protobuf.core.AffineMatrix4d"),t.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,r){var n,i={basisX:(n=r.getBasisX())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,n),basisY:(n=r.getBasisY())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,n),xlate:(n=r.getXlate())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,n),scale:+t.Message.getFieldWithDefault(r,4,0),basisZ:(n=r.getBasisZ())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,n)};return o&&(i.$jspbMessageInstance=r),i}),proto.vertexvis.protobuf.core.AffineMatrix4d.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.AffineMatrix4d;return proto.vertexvis.protobuf.core.AffineMatrix4d.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,1)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setBasisX=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getBasisY=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,2)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setBasisY=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getXlate=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,3)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setXlate=function(o){t.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!=t.Message.getField(this,3)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getScale=function(){return+t.Message.getFieldWithDefault(this,4,0)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setScale=function(o){t.Message.setProto3FloatField(this,4,o)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.getBasisZ=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,5)},proto.vertexvis.protobuf.core.AffineMatrix4d.prototype.setBasisZ=function(o){t.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!=t.Message.getField(this,5)},proto.vertexvis.protobuf.core.IndexedVector3fArray=function(o){t.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.core.IndexedVector3fArray.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.core.IndexedVector3fArray,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.IndexedVector3fArray.displayName="proto.vertexvis.protobuf.core.IndexedVector3fArray"),proto.vertexvis.protobuf.core.IndexedVector3fArray.repeatedFields_=[1,2],t.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,r){var n={valuesList:t.Message.toObjectList(r.getValuesList(),proto.vertexvis.protobuf.core.Vector3f.toObject,o),indicesList:t.Message.getRepeatedField(r,2)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.IndexedVector3fArray.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.IndexedVector3fArray;return proto.vertexvis.protobuf.core.IndexedVector3fArray.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,1)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.setValuesList=function(o){t.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.addValues=function(o,r){return t.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.core.Vector3f,r)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.clearValuesList=function(){this.setValuesList([])},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.getIndicesList=function(){return t.Message.getRepeatedField(this,2)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.setIndicesList=function(o){t.Message.setField(this,2,o||[])},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.addIndices=function(o,r){t.Message.addToRepeatedField(this,2,o,r)},proto.vertexvis.protobuf.core.IndexedVector3fArray.prototype.clearIndicesList=function(){this.setIndicesList([])},proto.vertexvis.protobuf.core.Indexed3DTriangleSet=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Indexed3DTriangleSet,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Indexed3DTriangleSet.displayName="proto.vertexvis.protobuf.core.Indexed3DTriangleSet"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Indexed3DTriangleSet;return proto.vertexvis.protobuf.core.Indexed3DTriangleSet.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.IndexedVector3fArray,1)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.setVertices=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.getNormals=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.IndexedVector3fArray,2)},proto.vertexvis.protobuf.core.Indexed3DTriangleSet.prototype.setNormals=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.Matrix4x4f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Matrix4x4f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Matrix4x4f.displayName="proto.vertexvis.protobuf.core.Matrix4x4f"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Matrix4x4f;return proto.vertexvis.protobuf.core.Matrix4x4f.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4f,1)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.setR0=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.getR1=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4f,2)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.setR1=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.getR2=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4f,3)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.setR2=function(o){t.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!=t.Message.getField(this,3)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.getR3=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4f,4)},proto.vertexvis.protobuf.core.Matrix4x4f.prototype.setR3=function(o){t.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!=t.Message.getField(this,4)},proto.vertexvis.protobuf.core.Matrix4x4d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Matrix4x4d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Matrix4x4d.displayName="proto.vertexvis.protobuf.core.Matrix4x4d"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Matrix4x4d;return proto.vertexvis.protobuf.core.Matrix4x4d.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4d,1)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.setR0=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.getR1=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4d,2)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.setR1=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.getR2=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4d,3)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.setR2=function(o){t.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!=t.Message.getField(this,3)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.getR3=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector4d,4)},proto.vertexvis.protobuf.core.Matrix4x4d.prototype.setR3=function(o){t.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!=t.Message.getField(this,4)},proto.vertexvis.protobuf.core.Dimension2i=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Dimension2i,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Dimension2i.displayName="proto.vertexvis.protobuf.core.Dimension2i"),t.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,r){var n={width:t.Message.getFieldWithDefault(r,1,0),height:t.Message.getFieldWithDefault(r,2,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Dimension2i.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Dimension2i;return proto.vertexvis.protobuf.core.Dimension2i.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Dimension2i.prototype.setWidth=function(o){t.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.Dimension2i.prototype.getHeight=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Dimension2i.prototype.setHeight=function(o){t.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.core.Point2i=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Point2i,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Point2i.displayName="proto.vertexvis.protobuf.core.Point2i"),t.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,r){var n={dx:t.Message.getFieldWithDefault(r,1,0),dy:t.Message.getFieldWithDefault(r,2,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.Point2i.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Point2i;return proto.vertexvis.protobuf.core.Point2i.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.Point2i.prototype.setDx=function(o){t.Message.setProto3IntField(this,1,o)},proto.vertexvis.protobuf.core.Point2i.prototype.getDy=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Point2i.prototype.setDy=function(o){t.Message.setProto3IntField(this,2,o)},proto.vertexvis.protobuf.core.BBox2f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.BBox2f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BBox2f.displayName="proto.vertexvis.protobuf.core.BBox2f"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.BBox2f;return proto.vertexvis.protobuf.core.BBox2f.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,1)},proto.vertexvis.protobuf.core.BBox2f.prototype.setMin=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.BBox2f.prototype.getMax=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,2)},proto.vertexvis.protobuf.core.BBox2f.prototype.setMax=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.BBox2d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.BBox2d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BBox2d.displayName="proto.vertexvis.protobuf.core.BBox2d"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.BBox2d;return proto.vertexvis.protobuf.core.BBox2d.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,1)},proto.vertexvis.protobuf.core.BBox2d.prototype.setMin=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.BBox2d.prototype.getMax=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,2)},proto.vertexvis.protobuf.core.BBox2d.prototype.setMax=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.BBox3f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.BBox3f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BBox3f.displayName="proto.vertexvis.protobuf.core.BBox3f"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.BBox3f;return proto.vertexvis.protobuf.core.BBox3f.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,1)},proto.vertexvis.protobuf.core.BBox3f.prototype.setMin=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.BBox3f.prototype.getMax=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,2)},proto.vertexvis.protobuf.core.BBox3f.prototype.setMax=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.BBox3d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.BBox3d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.BBox3d.displayName="proto.vertexvis.protobuf.core.BBox3d"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.BBox3d;return proto.vertexvis.protobuf.core.BBox3d.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,1)},proto.vertexvis.protobuf.core.BBox3d.prototype.setMin=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.BBox3d.prototype.getMax=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,2)},proto.vertexvis.protobuf.core.BBox3d.prototype.setMax=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform2f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.LinearTransform2f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.LinearTransform2f.displayName="proto.vertexvis.protobuf.core.LinearTransform2f"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.LinearTransform2f;return proto.vertexvis.protobuf.core.LinearTransform2f.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,1)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.setBasisX=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.getBasisY=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,2)},proto.vertexvis.protobuf.core.LinearTransform2f.prototype.setBasisY=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform2d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.LinearTransform2d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.LinearTransform2d.displayName="proto.vertexvis.protobuf.core.LinearTransform2d"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.LinearTransform2d;return proto.vertexvis.protobuf.core.LinearTransform2d.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,1)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.setBasisX=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.getBasisY=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,2)},proto.vertexvis.protobuf.core.LinearTransform2d.prototype.setBasisY=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform3f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.LinearTransform3f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.LinearTransform3f.displayName="proto.vertexvis.protobuf.core.LinearTransform3f"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.LinearTransform3f;return proto.vertexvis.protobuf.core.LinearTransform3f.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,1)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.setBasisX=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.getBasisY=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,2)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.setBasisY=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.getBasisZ=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,3)},proto.vertexvis.protobuf.core.LinearTransform3f.prototype.setBasisZ=function(o){t.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!=t.Message.getField(this,3)},proto.vertexvis.protobuf.core.LinearTransform3d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.LinearTransform3d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.LinearTransform3d.displayName="proto.vertexvis.protobuf.core.LinearTransform3d"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.LinearTransform3d;return proto.vertexvis.protobuf.core.LinearTransform3d.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,1)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.setBasisX=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.getBasisY=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,2)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.setBasisY=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.getBasisZ=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,3)},proto.vertexvis.protobuf.core.LinearTransform3d.prototype.setBasisZ=function(o){t.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!=t.Message.getField(this,3)},proto.vertexvis.protobuf.core.AffineTransform2f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.AffineTransform2f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineTransform2f.displayName="proto.vertexvis.protobuf.core.AffineTransform2f"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.AffineTransform2f;return proto.vertexvis.protobuf.core.AffineTransform2f.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.LinearTransform2f,1)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.setTransform=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.getPos=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2f,2)},proto.vertexvis.protobuf.core.AffineTransform2f.prototype.setPos=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineTransform2d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.AffineTransform2d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineTransform2d.displayName="proto.vertexvis.protobuf.core.AffineTransform2d"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.AffineTransform2d;return proto.vertexvis.protobuf.core.AffineTransform2d.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.LinearTransform2d,1)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.setTransform=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.getPos=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector2d,2)},proto.vertexvis.protobuf.core.AffineTransform2d.prototype.setPos=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineTransform3f=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.AffineTransform3f,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineTransform3f.displayName="proto.vertexvis.protobuf.core.AffineTransform3f"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.AffineTransform3f;return proto.vertexvis.protobuf.core.AffineTransform3f.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.LinearTransform3f,1)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.setTransform=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.getPos=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3f,2)},proto.vertexvis.protobuf.core.AffineTransform3f.prototype.setPos=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.AffineTransform3d=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.AffineTransform3d,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.AffineTransform3d.displayName="proto.vertexvis.protobuf.core.AffineTransform3d"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.AffineTransform3d;return proto.vertexvis.protobuf.core.AffineTransform3d.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.LinearTransform3d,1)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.setTransform=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.getPos=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,2)},proto.vertexvis.protobuf.core.AffineTransform3d.prototype.setPos=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.Plane=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.Plane,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.Plane.displayName="proto.vertexvis.protobuf.core.Plane"),t.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,r){var n,i={normal:(n=r.getNormal())&&proto.vertexvis.protobuf.core.Vector3d.toObject(o,n),d:+t.Message.getFieldWithDefault(r,2,0)};return o&&(i.$jspbMessageInstance=r),i}),proto.vertexvis.protobuf.core.Plane.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.Plane;return proto.vertexvis.protobuf.core.Plane.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.Vector3d,1)},proto.vertexvis.protobuf.core.Plane.prototype.setNormal=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.Plane.prototype.getD=function(){return+t.Message.getFieldWithDefault(this,2,0)},proto.vertexvis.protobuf.core.Plane.prototype.setD=function(o){t.Message.setProto3FloatField(this,2,o)},n.object.extend(r,proto.vertexvis.protobuf.core)}));o((function(o,r){var n=t,i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.S3FileLocation",null,i),proto.vertexvis.protobuf.core.S3FileLocation=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.S3FileLocation,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.S3FileLocation.displayName="proto.vertexvis.protobuf.core.S3FileLocation"),t.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,r){var n={bucket:t.Message.getFieldWithDefault(r,1,""),key:t.Message.getFieldWithDefault(r,2,"")};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.S3FileLocation.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.S3FileLocation;return proto.vertexvis.protobuf.core.S3FileLocation.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getFieldWithDefault(this,1,"")},proto.vertexvis.protobuf.core.S3FileLocation.prototype.setBucket=function(o){t.Message.setProto3StringField(this,1,o)},proto.vertexvis.protobuf.core.S3FileLocation.prototype.getKey=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.vertexvis.protobuf.core.S3FileLocation.prototype.setKey=function(o){t.Message.setProto3StringField(this,2,o)},n.object.extend(r,proto.vertexvis.protobuf.core)}));var s=o((function(o,r){var n=t,i=Function("return this")();n.exportSymbol("proto.vertexvis.protobuf.core.MeasurementOutcome",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.MeasurementResult",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.MinimumDistanceResult",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.PlanarAngleResult",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.PlanarDistanceResult",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.PlanePair",null,i),n.exportSymbol("proto.vertexvis.protobuf.core.SurfaceAreaResult",null,i),proto.vertexvis.protobuf.core.PlanePair=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.PlanePair,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.PlanePair.displayName="proto.vertexvis.protobuf.core.PlanePair"),t.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())&&f.Plane.toObject(o,r),end:(r=t.getEnd())&&f.Plane.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.core.PlanePair.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.PlanePair;return proto.vertexvis.protobuf.core.PlanePair.deserializeBinaryFromReader(n,r)},proto.vertexvis.protobuf.core.PlanePair.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new f.Plane;t.readMessage(r,f.Plane.deserializeBinaryFromReader),o.setStart(r);break;case 2:r=new f.Plane,t.readMessage(r,f.Plane.deserializeBinaryFromReader),o.setEnd(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.PlanePair.prototype.serializeBinary=function(){var o=new t.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,f.Plane.serializeBinaryToWriter),null!=(r=o.getEnd())&&t.writeMessage(2,r,f.Plane.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.PlanePair.prototype.getStart=function(){return t.Message.getWrapperField(this,f.Plane,1)},proto.vertexvis.protobuf.core.PlanePair.prototype.setStart=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.PlanePair.prototype.getEnd=function(){return t.Message.getWrapperField(this,f.Plane,2)},proto.vertexvis.protobuf.core.PlanePair.prototype.setEnd=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.PlanarDistanceResult=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.PlanarDistanceResult,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.PlanarDistanceResult.displayName="proto.vertexvis.protobuf.core.PlanarDistanceResult"),t.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,r){var n,i={distance:+t.Message.getFieldWithDefault(r,1,0),planes:(n=r.getPlanes())&&proto.vertexvis.protobuf.core.PlanePair.toObject(o,n)};return o&&(i.$jspbMessageInstance=r),i}),proto.vertexvis.protobuf.core.PlanarDistanceResult.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.PlanarDistanceResult;return proto.vertexvis.protobuf.core.PlanarDistanceResult.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.setDistance=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.getPlanes=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.PlanePair,2)},proto.vertexvis.protobuf.core.PlanarDistanceResult.prototype.setPlanes=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.MinimumDistanceResult=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.MinimumDistanceResult,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.MinimumDistanceResult.displayName="proto.vertexvis.protobuf.core.MinimumDistanceResult"),t.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,r){var n,i={distance:+t.Message.getFieldWithDefault(r,1,0),closestPoint1:(n=r.getClosestPoint1())&&f.Vector3d.toObject(o,n),closestPoint2:(n=r.getClosestPoint2())&&f.Vector3d.toObject(o,n)};return o&&(i.$jspbMessageInstance=r),i}),proto.vertexvis.protobuf.core.MinimumDistanceResult.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.MinimumDistanceResult;return proto.vertexvis.protobuf.core.MinimumDistanceResult.deserializeBinaryFromReader(n,r)},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 f.Vector3d,t.readMessage(r,f.Vector3d.deserializeBinaryFromReader),o.setClosestPoint1(r);break;case 3:r=new f.Vector3d,t.readMessage(r,f.Vector3d.deserializeBinaryFromReader),o.setClosestPoint2(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.serializeBinary=function(){var o=new t.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,f.Vector3d.serializeBinaryToWriter),null!=(r=o.getClosestPoint2())&&t.writeMessage(3,r,f.Vector3d.serializeBinaryToWriter)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.getDistance=function(){return+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.setDistance=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.getClosestPoint1=function(){return t.Message.getWrapperField(this,f.Vector3d,2)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.setClosestPoint1=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.getClosestPoint2=function(){return t.Message.getWrapperField(this,f.Vector3d,3)},proto.vertexvis.protobuf.core.MinimumDistanceResult.prototype.setClosestPoint2=function(o){t.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!=t.Message.getField(this,3)},proto.vertexvis.protobuf.core.PlanarAngleResult=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.PlanarAngleResult,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.PlanarAngleResult.displayName="proto.vertexvis.protobuf.core.PlanarAngleResult"),t.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,r){var n,i={angleInRadians:+t.Message.getFieldWithDefault(r,1,0),planes:(n=r.getPlanes())&&proto.vertexvis.protobuf.core.PlanePair.toObject(o,n)};return o&&(i.$jspbMessageInstance=r),i}),proto.vertexvis.protobuf.core.PlanarAngleResult.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.PlanarAngleResult;return proto.vertexvis.protobuf.core.PlanarAngleResult.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.setAngleInRadians=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.getPlanes=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.PlanePair,5)},proto.vertexvis.protobuf.core.PlanarAngleResult.prototype.setPlanes=function(o){t.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!=t.Message.getField(this,5)},proto.vertexvis.protobuf.core.SurfaceAreaResult=function(o){t.Message.initialize(this,o,0,-1,null,null)},n.inherits(proto.vertexvis.protobuf.core.SurfaceAreaResult,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.SurfaceAreaResult.displayName="proto.vertexvis.protobuf.core.SurfaceAreaResult"),t.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,r){var n={area:+t.Message.getFieldWithDefault(r,1,0)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.SurfaceAreaResult.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.SurfaceAreaResult;return proto.vertexvis.protobuf.core.SurfaceAreaResult.deserializeBinaryFromReader(n,r)},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 t.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+t.Message.getFieldWithDefault(this,1,0)},proto.vertexvis.protobuf.core.SurfaceAreaResult.prototype.setArea=function(o){t.Message.setProto3FloatField(this,1,o)},proto.vertexvis.protobuf.core.MeasurementResult=function(o){t.Message.initialize(this,o,0,-1,null,proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_)},n.inherits(proto.vertexvis.protobuf.core.MeasurementResult,t.Message),n.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 t.Message.computeOneofCase(this,proto.vertexvis.protobuf.core.MeasurementResult.oneofGroups_[0])},t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.MeasurementResult;return proto.vertexvis.protobuf.core.MeasurementResult.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.PlanarDistanceResult,1)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.setPlanarDistance=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.getPlanarAngle=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.PlanarAngleResult,2)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.setPlanarAngle=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.getMinimumDistance=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.MinimumDistanceResult,3)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.setMinimumDistance=function(o){t.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!=t.Message.getField(this,3)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.getTotalSurfaceArea=function(){return t.Message.getWrapperField(this,proto.vertexvis.protobuf.core.SurfaceAreaResult,4)},proto.vertexvis.protobuf.core.MeasurementResult.prototype.setTotalSurfaceArea=function(o){t.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!=t.Message.getField(this,4)},proto.vertexvis.protobuf.core.MeasurementOutcome=function(o){t.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.core.MeasurementOutcome.repeatedFields_,null)},n.inherits(proto.vertexvis.protobuf.core.MeasurementOutcome,t.Message),n.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.core.MeasurementOutcome.displayName="proto.vertexvis.protobuf.core.MeasurementOutcome"),proto.vertexvis.protobuf.core.MeasurementOutcome.repeatedFields_=[1],t.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,r){var n={resultsList:t.Message.toObjectList(r.getResultsList(),proto.vertexvis.protobuf.core.MeasurementResult.toObject,o),isApproximate:t.Message.getFieldWithDefault(r,2,!1)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.core.MeasurementOutcome.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.core.MeasurementOutcome;return proto.vertexvis.protobuf.core.MeasurementOutcome.deserializeBinaryFromReader(n,r)},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;case 2:r=t.readBool(),o.setIsApproximate(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.serializeBinary=function(){var o=new t.BinaryWriter;return proto.vertexvis.protobuf.core.MeasurementOutcome.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.core.MeasurementOutcome.serializeBinaryToWriter=function(o,t){var r=void 0;(r=o.getResultsList()).length>0&&t.writeRepeatedMessage(1,r,proto.vertexvis.protobuf.core.MeasurementResult.serializeBinaryToWriter),(r=o.getIsApproximate())&&t.writeBool(2,r)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.getResultsList=function(){return t.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.core.MeasurementResult,1)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.setResultsList=function(o){t.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.addResults=function(o,r){return t.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.core.MeasurementResult,r)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.clearResultsList=function(){this.setResultsList([])},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.getIsApproximate=function(){return t.Message.getFieldWithDefault(this,2,!1)},proto.vertexvis.protobuf.core.MeasurementOutcome.prototype.setIsApproximate=function(o){t.Message.setProto3BooleanField(this,2,o)},n.object.extend(r,proto.vertexvis.protobuf.core)})),a=o((function(o,n){var i=t,u=Function("return this")();i.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.MeasureEntity",null,u),i.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.MeasureRequest",null,u),i.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.MeasureResponse",null,u),i.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate",null,u),i.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest",null,u),i.exportSymbol("proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse",null,u),proto.vertexvis.protobuf.sceneview.v1.MeasureRequest=function(o){t.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.repeatedFields_,null)},i.inherits(proto.vertexvis.protobuf.sceneview.v1.MeasureRequest,t.Message),i.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.displayName="proto.vertexvis.protobuf.sceneview.v1.MeasureRequest"),proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.repeatedFields_=[1],t.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,r){var n={entitiesList:t.Message.toObjectList(r.getEntitiesList(),proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.toObject,o)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.sceneview.v1.MeasureRequest;return proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.sceneview.v1.MeasureEntity,1)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.setEntitiesList=function(o){t.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.addEntities=function(o,r){return t.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.sceneview.v1.MeasureEntity,r)},proto.vertexvis.protobuf.sceneview.v1.MeasureRequest.prototype.clearEntitiesList=function(){this.setEntitiesList([])},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity=function(o){t.Message.initialize(this,o,0,-1,null,null)},i.inherits(proto.vertexvis.protobuf.sceneview.v1.MeasureEntity,t.Message),i.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.displayName="proto.vertexvis.protobuf.sceneview.v1.MeasureEntity"),t.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())&&c.ModelEntity.toObject(o,r),point:(r=t.getPoint())&&f.Vector3f.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.sceneview.v1.MeasureEntity;return proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.deserializeBinaryFromReader(n,r)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new c.ModelEntity;t.readMessage(r,c.ModelEntity.deserializeBinaryFromReader),o.setModelEntity(r);break;case 2:r=new f.Vector3f,t.readMessage(r,f.Vector3f.deserializeBinaryFromReader),o.setPoint(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.serializeBinary=function(){var o=new t.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,c.ModelEntity.serializeBinaryToWriter),null!=(r=o.getPoint())&&t.writeMessage(2,r,f.Vector3f.serializeBinaryToWriter)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.getModelEntity=function(){return t.Message.getWrapperField(this,c.ModelEntity,1)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.setModelEntity=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.getPoint=function(){return t.Message.getWrapperField(this,f.Vector3f,2)},proto.vertexvis.protobuf.sceneview.v1.MeasureEntity.prototype.setPoint=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse=function(o){t.Message.initialize(this,o,0,-1,null,null)},i.inherits(proto.vertexvis.protobuf.sceneview.v1.MeasureResponse,t.Message),i.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.displayName="proto.vertexvis.protobuf.sceneview.v1.MeasureResponse"),t.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())&&s.MeasurementOutcome.toObject(o,r)};return o&&(n.$jspbMessageInstance=t),n}),proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.sceneview.v1.MeasureResponse;return proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.deserializeBinaryFromReader(n,r)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var r=new s.MeasurementOutcome;t.readMessage(r,s.MeasurementOutcome.deserializeBinaryFromReader),o.setOutcome(r);break;default:t.skipField()}return o},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.serializeBinary=function(){var o=new t.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,s.MeasurementOutcome.serializeBinaryToWriter)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.getOutcome=function(){return t.Message.getWrapperField(this,s.MeasurementOutcome,1)},proto.vertexvis.protobuf.sceneview.v1.MeasureResponse.prototype.setOutcome=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest=function(o){t.Message.initialize(this,o,0,-1,proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.repeatedFields_,null)},i.inherits(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest,t.Message),i.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.displayName="proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest"),proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.repeatedFields_=[1],t.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,r){var n={updatesList:t.Message.toObjectList(r.getUpdatesList(),proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.toObject,o)};return o&&(n.$jspbMessageInstance=r),n}),proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest;return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.deserializeBinaryFromReader(n,r)},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 t.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 t.Message.getRepeatedWrapperField(this,proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate,1)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.setUpdatesList=function(o){t.Message.setRepeatedWrapperField(this,1,o)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.addUpdates=function(o,r){return t.Message.addToRepeatedWrapperField(this,1,o,proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate,r)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesRequest.prototype.clearUpdatesList=function(){this.setUpdatesList([])},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate=function(o){t.Message.initialize(this,o,0,-1,null,null)},i.inherits(proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate,t.Message),i.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.displayName="proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate"),t.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 n,i={modelEntity:(n=t.getModelEntity())&&c.ModelEntity.toObject(o,n),highlight:(n=t.getHighlight())&&r.BoolValue.toObject(o,n)};return o&&(i.$jspbMessageInstance=t),i}),proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.deserializeBinary=function(o){var r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate;return proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.deserializeBinaryFromReader(n,r)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.deserializeBinaryFromReader=function(o,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var n=new c.ModelEntity;t.readMessage(n,c.ModelEntity.deserializeBinaryFromReader),o.setModelEntity(n);break;case 2:n=new r.BoolValue,t.readMessage(n,r.BoolValue.deserializeBinaryFromReader),o.setHighlight(n);break;default:t.skipField()}return o},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.serializeBinary=function(){var o=new t.BinaryWriter;return proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.serializeBinaryToWriter=function(o,t){var n=void 0;null!=(n=o.getModelEntity())&&t.writeMessage(1,n,c.ModelEntity.serializeBinaryToWriter),null!=(n=o.getHighlight())&&t.writeMessage(2,n,r.BoolValue.serializeBinaryToWriter)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.getModelEntity=function(){return t.Message.getWrapperField(this,c.ModelEntity,1)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.setModelEntity=function(o){t.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!=t.Message.getField(this,1)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.getHighlight=function(){return t.Message.getWrapperField(this,r.BoolValue,2)},proto.vertexvis.protobuf.sceneview.v1.ModelEntityUpdate.prototype.setHighlight=function(o){t.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!=t.Message.getField(this,2)},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse=function(o){t.Message.initialize(this,o,0,-1,null,null)},i.inherits(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse,t.Message),i.DEBUG&&!COMPILED&&(proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.displayName="proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse"),t.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 r=new t.BinaryReader(o),n=new proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse;return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.deserializeBinaryFromReader(n,r)},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 t.BinaryWriter;return proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.vertexvis.protobuf.sceneview.v1.UpdateModelEntitiesResponse.serializeBinaryToWriter=function(){},i.object.extend(n,proto.vertexvis.protobuf.sceneview.v1)}));const l=n.defineMapper(n.read(n.mapRequiredProp("start",i),n.mapRequiredProp("end",i)),(([o,t])=>({start:o,end:t}))),h=n.defineMapper(n.read(n.getProp("distance"),n.mapRequiredProp("planes",n.compose(l,n.requiredProp("start"))),n.mapRequiredProp("planes",n.compose(l,n.requiredProp("end")))),(([o,t,r])=>({type:"planar-distance",distance:o,plane1:t,plane2:r}))),v=n.defineMapper(n.read(n.getProp("angleInRadians"),n.mapRequiredProp("planes",n.compose(l,n.requiredProp("start"))),n.mapRequiredProp("planes",n.compose(l,n.requiredProp("end")))),(([o,t,r])=>({type:"planar-angle",angle:o,plane1:t,plane2:r}))),w=n.defineMapper(n.read(n.getProp("distance"),n.mapRequiredProp("closestPoint1",u),n.mapRequiredProp("closestPoint2",u)),(([o,t,r])=>({type:"minimum-distance",distance:o,point1:t,point2:r}))),d=n.defineMapper(n.read(n.getProp("area")),(([o])=>({type:"surface-area",area:o}))),b=n.mapProp("planarDistance",n.ifDefined(h)),x=n.mapProp("planarAngle",n.ifDefined(v)),k=n.mapProp("minimumDistance",n.ifDefined(w)),m=n.mapProp("totalSurfaceArea",n.ifDefined(d)),M=n.compose(n.pickFirst(b,x,k,m),n.required("Result field")),L=n.defineMapper(n.read(n.mapRequiredProp("outcome",n.mapRequiredProp("resultsList",n.mapArray(M))),n.mapRequiredProp("outcome",n.getProp("isApproximate"))),(([o,t])=>({results:o,isApproximate:t}))),E=n.ifInvalidThrow(L);export{c as a,f as g,E as m,a as s}
|