x_ite 9.4.5 → 9.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -5
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +33 -17
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +20 -20
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +45 -60
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +40 -39
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +9 -9
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +28 -28
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +25 -27
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +181 -194
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +20 -22
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +19 -21
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +40 -36
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +363 -15
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +1 -1
- package/dist/x_ite.js +2311 -1682
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +2311 -1682
- package/dist/x_ite.zip +0 -0
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v9.4.5 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components");var i=e.n(t);const s=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Base/X3DBaseNode");var n=e.n(s);const o=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Base/X3DConstants");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Fields");var l=e.n(a);const c=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Namespace");var u=e.n(c);function h(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(h.prototype,n().prototype),Object.defineProperties(h,{typeName:{value:"Arc2DOptions",enumerable:!0}});const p=h;u().add("Arc2DOptions","x_ite/Browser/Geometry2D/Arc2DOptions",p);const d=p;function g(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(g.prototype,n().prototype),Object.defineProperties(g,{typeName:{value:"ArcClose2DOptions",enumerable:!0}});const m=g;u().add("ArcClose2DOptions","x_ite/Browser/Geometry2D/ArcClose2DOptions",m);const y=m,b=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Rendering/X3DGeometryNode");var f=e.n(b);const D=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Numbers/Complex");var O=e.n(D);function w(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.vertices=f().createArray()}Object.assign(Object.setPrototypeOf(w.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getVertices(){return this.vertices},build(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let s=0;s<e;++s){const e=O().Polar(1,t*s),n=O().Polar(1,t*(s+1));i.push(e.real,e.imag,0,1),i.push(n.real,n.imag,0,1)}i.shrinkToFit()}}),Object.defineProperties(w,{typeName:{value:"Circle2DOptions",enumerable:!0}});const _=w;u().add("Circle2DOptions","x_ite/Browser/Geometry2D/Circle2DOptions",_);const v=_;function C(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.circleVertices=f().createArray(),this.diskTexCoords=f().createArray(),this.diskNormals=f().createArray(),this.diskVertices=f().createArray()}Object.assign(Object.setPrototypeOf(C.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getCircleVertices(){return this.circleVertices},getDiskTexCoords(){return this.diskTexCoords},getDiskNormals(){return this.diskNormals},getDiskVertices(){return this.diskVertices},build:(()=>{const e=new(O())(.5,.5),t=new(O()),i=new(O()),s=new(O()),n=new(O());return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,c=this.diskNormals,u=this.diskVertices;a.length=0,l.length=0,c.length=0,u.length=0;for(let h=0;h<o;++h){const o=r*h,p=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,p).add(e),s.setPolar(1,o),n.setPolar(1,p),a.push(s.real,s.imag,0,1),a.push(n.real,n.imag,0,1),l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),c.shrinkToFit(),u.shrinkToFit()}})()}),Object.defineProperties(C,{typeName:{value:"Disk2DOptions",enumerable:!0}});const x=C;u().add("Disk2DOptions","x_ite/Browser/Geometry2D/Disk2DOptions",x);const V=x,P=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var S=e.n(P);const T=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Rendering/Coordinate");var I=e.n(T);const M=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Texturing/TextureCoordinate");var j=e.n(M);function F(e){n().call(this,e)}Object.assign(Object.setPrototypeOf(F.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this)},getGeometry(){if(this.geometry)return this.geometry;this.geometry=new(S())(this.getExecutionContext()),this.geometry._texCoord=new(j())(this.getExecutionContext()),this.geometry._coord=new(I())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return t._point=[1,1,0,1,0,0,1,0],i._point=[1,1,0,-1,1,0,-1,-1,0,1,-1,0],e._coordIndex=[0,1,2,3,-1],t.setup(),i.setup(),e.setup(),this.geometry}}),Object.defineProperties(F,{typeName:{value:"Rectangle2DOptions",enumerable:!0}});const A=F;u().add("Rectangle2DOptions","x_ite/Browser/Geometry2D/Rectangle2DOptions",A);const N=A,G=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Browser/Core/PrimitiveQuality");var B=e.n(G);function z(){}function R(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}Object.assign(z.prototype,{initialize(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions(){return R.call(this,"getArc2DOptions",d)},getArcClose2DOptions(){return R.call(this,"getArcClose2DOptions",y)},getCircle2DOptions(){return R.call(this,"getCircle2DOptions",v)},getDisk2DOptions(){return R.call(this,"getDisk2DOptions",V)},getRectangle2DOptions(){return R.call(this,"getRectangle2DOptions",N)},setPrimitiveQuality2D(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),s=this.getCircle2DOptions(),n=this.getDisk2DOptions();switch(e){case B().LOW:t._dimension=20,i._dimension=20,s._dimension=20,n._dimension=20;break;case B().MEDIUM:t._dimension=40,i._dimension=40,s._dimension=40,n._dimension=40;break;case B().HIGH:t._dimension=80,i._dimension=80,s._dimension=80,n._dimension=80}}});const X=z;u().add("X3DGeometry2DContext","x_ite/Browser/Geometry2D/X3DGeometry2DContext",X);const k=X,q=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Base/X3DFieldDefinition");var E=e.n(q);const U=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Base/FieldDefinitionArray");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var H=e.n(Q);const W=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Algorithm");var J=e.n(W);function K(e){H().call(this,e),this.addType(r().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(K.prototype,H().prototype),{set_live__(){H().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=J().interval(this._startAngle.getValue(),0,2*Math.PI),t=J().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),s=this.getSweepAngle(),n=Math.max(3,Math.floor(s*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<n;++e){const r=t+s*(e/n),a=O().Polar(i,r),l=t+s*((e+1)/n),c=O().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(c.real,c.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(K,{typeName:{value:"Arc2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(E())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.570796)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const Y=K;u().add("Arc2D","x_ite/Components/Geometry2D/Arc2D",Y);const Z=Y;function $(e){f().call(this,e),this.addType(r().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf($.prototype,f().prototype),{set_live__(){f().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=J().interval(this._startAngle.getValue(),0,2*Math.PI),t=J().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build:(()=>{const e=new(O())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),s=t._dimension.getValue(),n=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*s/(2*Math.PI))),l=this.getTexCoords(),c=this.getNormals(),u=this.getVertices(),h=[],p=[];this.getMultiTexCoords().push(l);const d=a-1;for(let t=0;t<a;++t){const i=n+r*(t/d);h.push(O().Polar(.5,i).add(e)),p.push(O().Polar(o,i))}if(i){const e=h[0],t=p[0];for(let i=1;i<d;++i){const s=h[i],n=h[i+1],o=p[i],r=p[i+1];l.push(e.real,e.imag,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(t.real,t.imag,0,1,o.real,o.imag,0,1,r.real,r.imag,0,1)}}else for(let e=0;e<d;++e){const t=h[e],i=h[e+1],s=p[e],n=p[e+1];l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}})()}),Object.defineProperties($,{typeName:{value:"ArcClose2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"closureType",new(l().SFString)("PIE")),new(E())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(E())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.570796)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const ee=$;u().add("ArcClose2D","x_ite/Components/Geometry2D/ArcClose2D",ee);const te=ee;function ie(e){H().call(this,e),this.addType(r().Circle2D),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(ie.prototype,H().prototype),{set_live__(){H().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const s=e.getVertices().getValue();for(let e=0,n=s.length;e<n;e+=4)t.push(s[e]*i,s[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(ie,{typeName:{value:"Circle2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const se=ie;u().add("Circle2D","x_ite/Components/Geometry2D/Circle2D",se);const ne=se,oe=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var re=e.n(oe);function ae(e){H().call(this,e),this.addType(r().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Object.assign(Object.setPrototypeOf(ae.prototype,f().prototype),{initialize(){f().prototype.initialize.call(this)},set_live__(){f().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),s=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),n=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(s===n){const e=this.getVertices();if(0===n)return e.push(0,0,0,1),this.getMin().set(0,0,0),this.getMax().set(0,0,0),this.setGeometryType(0),this.setPrimitiveMode(t.POINTS),this.setTransparent(!0),void this.setBase(re());if(1===n)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,s=t.length;i<s;i+=4)e.push(t[i]*n,t[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(H())}if(0===s){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===n)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,s=e.length;i<s;i+=4)t.push(e[i]*n,e[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(f())}const o=s/n,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),c=this.getTexCoords(),u=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(c);for(let e=0,t=l.length;e<t;e+=12)c.push(a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+4],a[e+5],0,1,a[e+8],a[e+9],0,1,a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+8],a[e+9],0,1,a[e+8]*o+r,a[e+9]*o+r,0,1),u.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),h.push(l[e+4]*s,l[e+5]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+8]*s,l[e+9]*s,0,1);this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(f())},setBase(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.buildTexCoords=e.prototype.buildTexCoords,this.displaySimple=e.prototype.displaySimple,this.display=e.prototype.display,this.displaySimpleParticles=e.prototype.displaySimpleParticles,this.displayParticles=e.prototype.displayParticles},updateRenderFunctions(){}}),Object.defineProperties(ae,{typeName:{value:"Disk2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"innerRadius",new(l().SFFloat)),new(E())(r().initializeOnly,"outerRadius",new(l().SFFloat)(1)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const le=ae;u().add("Disk2D","x_ite/Components/Geometry2D/Disk2D",le);const ce=le;function ue(e){H().call(this,e),this.addType(r().Polyline2D),this._lineSegments.setUnit("length")}Object.assign(Object.setPrototypeOf(ue.prototype,H().prototype),{build(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,s=2*(this._lineSegments.length-1);i<s;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}}),Object.defineProperties(ue,{typeName:{value:"Polyline2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"lineSegments",new(l().MFVec2f))]),enumerable:!0}});const he=ue;u().add("Polyline2D","x_ite/Components/Geometry2D/Polyline2D",he);const pe=he;function de(e){re().call(this,e),this.addType(r().Polypoint2D),this._point.setUnit("length")}Object.assign(Object.setPrototypeOf(de.prototype,re().prototype),{build(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,s=2*this._point.length;i<s;i+=2)t.push(e[i],e[i+1],0,1)}}),Object.defineProperties(de,{typeName:{value:"Polypoint2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().inputOutput,"point",new(l().MFVec2f))]),enumerable:!0}});const ge=de;u().add("Polypoint2D","x_ite/Components/Geometry2D/Polypoint2D",ge);const me=ge,ye=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Numbers/Vector2");var be=e.n(ye);function fe(e){f().call(this,e),this.addType(r().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}Object.assign(Object.setPrototypeOf(fe.prototype,f().prototype),{build:(()=>{const e=new(be())(2,2);return function(){const t=this.getBrowser().getRectangle2DOptions().getGeometry(),i=this._size.getValue();if(this.setMultiTexCoords(t.getMultiTexCoords()),this.setNormals(t.getNormals()),i.equals(e))this.setVertices(t.getVertices()),this.getMin().assign(t.getMin()),this.getMax().assign(t.getMax());else{const e=Math.abs(i.x/2),s=Math.abs(i.y/2),n=t.getVertices().getValue(),o=this.getVertices();for(let t=0;t<n.length;t+=4)o.push(e*n[t],s*n[t+1],0,1);this.getMin().set(-e,-s,0),this.getMax().set(e,s,0)}this.setSolid(this._solid.getValue())}})()}),Object.defineProperties(fe,{typeName:{value:"Rectangle2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"size",new(l().SFVec2f)(2,2)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const De=fe;u().add("Rectangle2D","x_ite/Components/Geometry2D/Rectangle2D",De);const Oe=De;function we(e){f().call(this,e),this.addType(r().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}Object.assign(Object.setPrototypeOf(we.prototype,f().prototype),{build(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let s=0,n=2*this._vertices.length;s<n;s+=2)t.push(0,0,1),i.push(e[s],e[s+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,s=t.Ssize,n=this.getVertices().getValue();for(let t=0,o=n.length;t<o;t+=4)e.push((n[t]-i[0])/s,(n[t+1]-i[1])/s,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}}),Object.defineProperties(we,{typeName:{value:"TriangleSet2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().inputOutput,"vertices",new(l().MFVec2f)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const _e=we;u().add("TriangleSet2D","x_ite/Components/Geometry2D/TriangleSet2D",_e);const ve=_e;i().add({name:"Geometry2D",concreteNodes:[Z,te,ne,ce,pe,me,Oe,ve],abstractNodes:[],browserContext:k});const Ce=void 0;u().add("Geometry2D","assets/components/Geometry2D",Ce)})();
|
|
1
|
+
/* X_ITE v9.5.1 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Components");var i=e.n(t);const s=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Base/X3DBaseNode");var n=e.n(s);const o=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Base/X3DConstants");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Fields");var l=e.n(a);const c=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Namespace");var u=e.n(c);function h(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(h.prototype,n().prototype),Object.defineProperties(h,{typeName:{value:"Arc2DOptions",enumerable:!0}});const p=h;u().add("Arc2DOptions","x_ite/Browser/Geometry2D/Arc2DOptions",p);const d=p;function g(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(g.prototype,n().prototype),Object.defineProperties(g,{typeName:{value:"ArcClose2DOptions",enumerable:!0}});const m=g;u().add("ArcClose2DOptions","x_ite/Browser/Geometry2D/ArcClose2DOptions",m);const y=m,b=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Components/Rendering/X3DGeometryNode");var f=e.n(b);const D=window[Symbol.for("X_ITE.X3D-9.5.1")].require("standard/Math/Numbers/Complex");var O=e.n(D);function w(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.vertices=f().createArray()}Object.assign(Object.setPrototypeOf(w.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getVertices(){return this.vertices},build(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let s=0;s<e;++s){const e=O().Polar(1,t*s),n=O().Polar(1,t*(s+1));i.push(e.real,e.imag,0,1),i.push(n.real,n.imag,0,1)}i.shrinkToFit()}}),Object.defineProperties(w,{typeName:{value:"Circle2DOptions",enumerable:!0}});const _=w;u().add("Circle2DOptions","x_ite/Browser/Geometry2D/Circle2DOptions",_);const v=_;function C(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.circleVertices=f().createArray(),this.diskTexCoords=f().createArray(),this.diskNormals=f().createArray(),this.diskVertices=f().createArray()}Object.assign(Object.setPrototypeOf(C.prototype,n().prototype),{initialize(){this.addInterest("build",this),this.build()},getCircleVertices(){return this.circleVertices},getDiskTexCoords(){return this.diskTexCoords},getDiskNormals(){return this.diskNormals},getDiskVertices(){return this.diskVertices},build:(()=>{const e=new(O())(.5,.5),t=new(O()),i=new(O()),s=new(O()),n=new(O());return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,c=this.diskNormals,u=this.diskVertices;a.length=0,l.length=0,c.length=0,u.length=0;for(let h=0;h<o;++h){const o=r*h,p=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,p).add(e),s.setPolar(1,o),n.setPolar(1,p),a.push(s.real,s.imag,0,1),a.push(n.real,n.imag,0,1),l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),c.shrinkToFit(),u.shrinkToFit()}})()}),Object.defineProperties(C,{typeName:{value:"Disk2DOptions",enumerable:!0}});const x=C;u().add("Disk2DOptions","x_ite/Browser/Geometry2D/Disk2DOptions",x);const V=x,S=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var I=e.n(S);const P=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Components/Rendering/Coordinate");var T=e.n(P);const M=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Components/Texturing/TextureCoordinate");var j=e.n(M);function F(e){n().call(this,e)}Object.assign(Object.setPrototypeOf(F.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this)},getGeometry(){if(this.geometry)return this.geometry;this.geometry=new(I())(this.getExecutionContext()),this.geometry._texCoord=new(j())(this.getExecutionContext()),this.geometry._coord=new(T())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return t._point=[1,1,0,1,0,0,1,0],i._point=[1,1,0,-1,1,0,-1,-1,0,1,-1,0],e._coordIndex=[0,1,2,3,-1],t.setup(),i.setup(),e.setup(),this.geometry}}),Object.defineProperties(F,{typeName:{value:"Rectangle2DOptions",enumerable:!0}});const A=F;u().add("Rectangle2DOptions","x_ite/Browser/Geometry2D/Rectangle2DOptions",A);const N=A,G=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Browser/Core/PrimitiveQuality");var B=e.n(G);function z(){}function R(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}Object.assign(z.prototype,{initialize(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions(){return R.call(this,"getArc2DOptions",d)},getArcClose2DOptions(){return R.call(this,"getArcClose2DOptions",y)},getCircle2DOptions(){return R.call(this,"getCircle2DOptions",v)},getDisk2DOptions(){return R.call(this,"getDisk2DOptions",V)},getRectangle2DOptions(){return R.call(this,"getRectangle2DOptions",N)},setPrimitiveQuality2D(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),s=this.getCircle2DOptions(),n=this.getDisk2DOptions();switch(e){case B().LOW:t._dimension=20,i._dimension=20,s._dimension=20,n._dimension=20;break;case B().MEDIUM:t._dimension=40,i._dimension=40,s._dimension=40,n._dimension=40;break;case B().HIGH:t._dimension=80,i._dimension=80,s._dimension=80,n._dimension=80}}});const X=z;u().add("X3DGeometry2DContext","x_ite/Browser/Geometry2D/X3DGeometry2DContext",X);const k=X,q=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Base/X3DFieldDefinition");var E=e.n(q);const U=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Base/FieldDefinitionArray");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var H=e.n(Q);const W=window[Symbol.for("X_ITE.X3D-9.5.1")].require("standard/Math/Algorithm");var J=e.n(W);function K(e){H().call(this,e),this.addType(r().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(K.prototype,H().prototype),{set_live__(){H().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=J().interval(this._startAngle.getValue(),0,2*Math.PI),t=J().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),s=this.getSweepAngle(),n=Math.max(3,Math.floor(s*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<n;++e){const r=t+s*(e/n),a=O().Polar(i,r),l=t+s*((e+1)/n),c=O().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(c.real,c.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(K,{typeName:{value:"Arc2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(E())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.570796)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const Y=K;u().add("Arc2D","x_ite/Components/Geometry2D/Arc2D",Y);const Z=Y;function $(e){f().call(this,e),this.addType(r().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf($.prototype,f().prototype),{set_live__(){f().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=J().interval(this._startAngle.getValue(),0,2*Math.PI),t=J().interval(this._endAngle.getValue(),0,2*Math.PI);if(e===t)return 2*Math.PI;const i=Math.abs(t-e);return e>t?2*Math.PI-i:isNaN(i)?0:i},build:(()=>{const e=new(O())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),s=t._dimension.getValue(),n=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*s/(2*Math.PI))),l=this.getTexCoords(),c=this.getNormals(),u=this.getVertices(),h=[],p=[];this.getMultiTexCoords().push(l);const d=a-1;for(let t=0;t<a;++t){const i=n+r*(t/d);h.push(O().Polar(.5,i).add(e)),p.push(O().Polar(o,i))}if(i){const e=h[0],t=p[0];for(let i=1;i<d;++i){const s=h[i],n=h[i+1],o=p[i],r=p[i+1];l.push(e.real,e.imag,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(t.real,t.imag,0,1,o.real,o.imag,0,1,r.real,r.imag,0,1)}}else for(let e=0;e<d;++e){const t=h[e],i=h[e+1],s=p[e],n=p[e+1];l.push(.5,.5,0,1,t.real,t.imag,0,1,i.real,i.imag,0,1),c.push(0,0,1,0,0,1,0,0,1),u.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}})()}),Object.defineProperties($,{typeName:{value:"ArcClose2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"closureType",new(l().SFString)("PIE")),new(E())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(E())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.570796)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const ee=$;u().add("ArcClose2D","x_ite/Components/Geometry2D/ArcClose2D",ee);const te=ee;function ie(e){H().call(this,e),this.addType(r().Circle2D),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(ie.prototype,H().prototype),{set_live__(){H().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const s=e.getVertices().getValue();for(let e=0,n=s.length;e<n;e+=4)t.push(s[e]*i,s[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(ie,{typeName:{value:"Circle2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const se=ie;u().add("Circle2D","x_ite/Components/Geometry2D/Circle2D",se);const ne=se,oe=window[Symbol.for("X_ITE.X3D-9.5.1")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var re=e.n(oe);function ae(e){H().call(this,e),this.addType(r().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Object.assign(Object.setPrototypeOf(ae.prototype,f().prototype),{initialize(){f().prototype.initialize.call(this)},set_live__(){f().prototype.set_live__.call(this);const e=this.isLive()&&this.getBrowser().getBrowserOption("AlwaysUpdateGeometries");this.getLive().getValue()||e?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),s=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),n=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(s===n){const e=this.getVertices();if(0===n)return e.push(0,0,0,1),this.getMin().set(0,0,0),this.getMax().set(0,0,0),this.setGeometryType(0),this.setPrimitiveMode(t.POINTS),this.setTransparent(!0),void this.setBase(re());if(1===n)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,s=t.length;i<s;i+=4)e.push(t[i]*n,t[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(H())}if(0===s){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===n)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,s=e.length;i<s;i+=4)t.push(e[i]*n,e[i+1]*n,0,1)}return this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(f())}const o=s/n,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),c=this.getTexCoords(),u=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(c);for(let e=0,t=l.length;e<t;e+=12)c.push(a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+4],a[e+5],0,1,a[e+8],a[e+9],0,1,a[e+4]*o+r,a[e+5]*o+r,0,1,a[e+8],a[e+9],0,1,a[e+8]*o+r,a[e+9]*o+r,0,1),u.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),h.push(l[e+4]*s,l[e+5]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*n,l[e+9]*n,0,1,l[e+8]*s,l[e+9]*s,0,1);this.getMin().set(-n,-n,0),this.getMax().set(n,n,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(f())},setBase(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.buildTexCoords=e.prototype.buildTexCoords,this.displaySimple=e.prototype.displaySimple,this.display=e.prototype.display,this.displaySimpleInstanced=e.prototype.displaySimpleInstanced,this.displayInstanced=e.prototype.displayInstanced},updateRenderFunctions(){}}),Object.defineProperties(ae,{typeName:{value:"Disk2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:2}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"innerRadius",new(l().SFFloat)),new(E())(r().initializeOnly,"outerRadius",new(l().SFFloat)(1)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const le=ae;u().add("Disk2D","x_ite/Components/Geometry2D/Disk2D",le);const ce=le;function ue(e){H().call(this,e),this.addType(r().Polyline2D),this._lineSegments.setUnit("length")}Object.assign(Object.setPrototypeOf(ue.prototype,H().prototype),{build(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,s=2*(this._lineSegments.length-1);i<s;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}}),Object.defineProperties(ue,{typeName:{value:"Polyline2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"lineSegments",new(l().MFVec2f))]),enumerable:!0}});const he=ue;u().add("Polyline2D","x_ite/Components/Geometry2D/Polyline2D",he);const pe=he;function de(e){re().call(this,e),this.addType(r().Polypoint2D),this._point.setUnit("length")}Object.assign(Object.setPrototypeOf(de.prototype,re().prototype),{build(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,s=2*this._point.length;i<s;i+=2)t.push(e[i],e[i+1],0,1)}}),Object.defineProperties(de,{typeName:{value:"Polypoint2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().inputOutput,"point",new(l().MFVec2f))]),enumerable:!0}});const ge=de;u().add("Polypoint2D","x_ite/Components/Geometry2D/Polypoint2D",ge);const me=ge,ye=window[Symbol.for("X_ITE.X3D-9.5.1")].require("standard/Math/Numbers/Vector2");var be=e.n(ye);function fe(e){f().call(this,e),this.addType(r().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}Object.assign(Object.setPrototypeOf(fe.prototype,f().prototype),{build:(()=>{const e=new(be())(2,2);return function(){const t=this.getBrowser().getRectangle2DOptions().getGeometry(),i=this._size.getValue();if(this.setMultiTexCoords(t.getMultiTexCoords()),this.setNormals(t.getNormals()),i.equals(e))this.setVertices(t.getVertices()),this.getMin().assign(t.getMin()),this.getMax().assign(t.getMax());else{const e=Math.abs(i.x/2),s=Math.abs(i.y/2),n=t.getVertices().getValue(),o=this.getVertices();for(let t=0;t<n.length;t+=4)o.push(e*n[t],s*n[t+1],0,1);this.getMin().set(-e,-s,0),this.getMax().set(e,s,0)}this.setSolid(this._solid.getValue())}})()}),Object.defineProperties(fe,{typeName:{value:"Rectangle2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().initializeOnly,"size",new(l().SFVec2f)(2,2)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const De=fe;u().add("Rectangle2D","x_ite/Components/Geometry2D/Rectangle2D",De);const Oe=De;function we(e){f().call(this,e),this.addType(r().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}Object.assign(Object.setPrototypeOf(we.prototype,f().prototype),{build(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let s=0,n=2*this._vertices.length;s<n;s+=2)t.push(0,0,1),i.push(e[s],e[s+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,s=t.Ssize,n=this.getVertices().getValue();for(let t=0,o=n.length;t<o;t+=4)e.push((n[t]-i[0])/s,(n[t+1]-i[1])/s,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}}),Object.defineProperties(we,{typeName:{value:"TriangleSet2D",enumerable:!0},componentInfo:{value:Object.freeze({name:"Geometry2D",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(L())([new(E())(r().inputOutput,"metadata",new(l().SFNode)),new(E())(r().inputOutput,"vertices",new(l().MFVec2f)),new(E())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const _e=we;u().add("TriangleSet2D","x_ite/Components/Geometry2D/TriangleSet2D",_e);const ve=_e;i().add({name:"Geometry2D",concreteNodes:[Z,te,ne,ce,pe,me,Oe,ve],abstractNodes:[],browserContext:k});const Ce=void 0;u().add("Geometry2D","assets/components/Geometry2D",Ce)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.5.1 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DCoordinateNode\")"
|
|
54
|
-
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
54
|
+
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
|
|
55
55
|
var X3DCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DCoordinateNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Namespace");
|
|
61
61
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Spheroid3.js
|
|
63
63
|
/*******************************************************************************
|
|
@@ -437,7 +437,7 @@ const Geodetic_default_ = Geodetic;
|
|
|
437
437
|
Namespace_default().add ("Geodetic", "standard/Geospatial/Geodetic", Geodetic_default_);
|
|
438
438
|
/* harmony default export */ const Geospatial_Geodetic = (Geodetic_default_);
|
|
439
439
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
440
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
440
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("standard/Math/Algorithm");
|
|
441
441
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
442
442
|
;// CONCATENATED MODULE: ./src/standard/Geospatial/UniversalTransverseMercator.js
|
|
443
443
|
/*******************************************************************************
|
|
@@ -939,13 +939,13 @@ const GeospatialObject_default_ = GeospatialObject;
|
|
|
939
939
|
Namespace_default().add ("GeospatialObject", "x_ite/Browser/Geospatial/GeospatialObject", GeospatialObject_default_);
|
|
940
940
|
/* harmony default export */ const Geospatial_GeospatialObject = (GeospatialObject_default_);
|
|
941
941
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
942
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
942
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Base/X3DCast");
|
|
943
943
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
944
944
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
945
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
945
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("standard/Math/Numbers/Vector3");
|
|
946
946
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
947
947
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
948
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
948
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("standard/Math/Numbers/Matrix4");
|
|
949
949
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
950
950
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/X3DGeospatialObject.js
|
|
951
951
|
/*******************************************************************************
|
|
@@ -1225,7 +1225,7 @@ const X3DGeospatialObject_default_ = X3DGeospatialObject;
|
|
|
1225
1225
|
Namespace_default().add ("X3DGeospatialObject", "x_ite/Components/Geospatial/X3DGeospatialObject", X3DGeospatialObject_default_);
|
|
1226
1226
|
/* harmony default export */ const Geospatial_X3DGeospatialObject = (X3DGeospatialObject_default_);
|
|
1227
1227
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
1228
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1228
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("standard/Math/Geometry/Triangle3");
|
|
1229
1229
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
1230
1230
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoCoordinate.js
|
|
1231
1231
|
/*******************************************************************************
|
|
@@ -1472,10 +1472,10 @@ const GeoCoordinate_default_ = GeoCoordinate;
|
|
|
1472
1472
|
Namespace_default().add ("GeoCoordinate", "x_ite/Components/Geospatial/GeoCoordinate", GeoCoordinate_default_);
|
|
1473
1473
|
/* harmony default export */ const Geospatial_GeoCoordinate = (GeoCoordinate_default_);
|
|
1474
1474
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
1475
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1475
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
1476
1476
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
1477
1477
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1478
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1478
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("standard/Math/Numbers/Vector2");
|
|
1479
1479
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1480
1480
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoElevationGrid.js
|
|
1481
1481
|
/*******************************************************************************
|
|
@@ -1667,7 +1667,7 @@ Object .assign (Object .setPrototypeOf (GeoElevationGrid .prototype, (X3DGeometr
|
|
|
1667
1667
|
if (!this ._normalPerVertex .getValue ())
|
|
1668
1668
|
return normals;
|
|
1669
1669
|
|
|
1670
|
-
return this .refineNormals (normalIndex, normals, this ._creaseAngle .getValue ());
|
|
1670
|
+
return this .refineNormals (normalIndex, normals, creaseAngle ?? this ._creaseAngle .getValue ());
|
|
1671
1671
|
},
|
|
1672
1672
|
createCoordIndex ()
|
|
1673
1673
|
{
|
|
@@ -1802,19 +1802,13 @@ Object .assign (Object .setPrototypeOf (GeoElevationGrid .prototype, (X3DGeometr
|
|
|
1802
1802
|
for (let p = 0; p < 6; ++ p, ++ c)
|
|
1803
1803
|
{
|
|
1804
1804
|
const
|
|
1805
|
-
index
|
|
1806
|
-
|
|
1805
|
+
index = coordIndex [c],
|
|
1806
|
+
{ x, y, z } = points [index];
|
|
1807
1807
|
|
|
1808
1808
|
//for (size_t a = 0, size = attribNodes .size (); a < size; ++ a)
|
|
1809
1809
|
// attribNodes [a] -> addValue (attribArrays [a], i);
|
|
1810
1810
|
|
|
1811
|
-
|
|
1812
|
-
{
|
|
1813
|
-
if (colorPerVertex)
|
|
1814
|
-
colorNode .addColor (index, colorArray);
|
|
1815
|
-
else
|
|
1816
|
-
colorNode .addColor (face, colorArray);
|
|
1817
|
-
}
|
|
1811
|
+
colorNode ?.addColor (colorPerVertex ? index : face, colorArray);
|
|
1818
1812
|
|
|
1819
1813
|
if (texCoordNode)
|
|
1820
1814
|
{
|
|
@@ -1822,21 +1816,14 @@ Object .assign (Object .setPrototypeOf (GeoElevationGrid .prototype, (X3DGeometr
|
|
|
1822
1816
|
}
|
|
1823
1817
|
else
|
|
1824
1818
|
{
|
|
1825
|
-
const
|
|
1819
|
+
const { x, y } = texCoords [index];
|
|
1826
1820
|
|
|
1827
|
-
texCoordArray .push (
|
|
1821
|
+
texCoordArray .push (x, y, 0, 1);
|
|
1828
1822
|
}
|
|
1829
1823
|
|
|
1830
|
-
|
|
1831
|
-
{
|
|
1832
|
-
if (normalPerVertex)
|
|
1833
|
-
normalNode .addVector (index, normalArray);
|
|
1834
|
-
|
|
1835
|
-
else
|
|
1836
|
-
normalNode .addVector (face, normalArray);
|
|
1837
|
-
}
|
|
1824
|
+
normalNode ?.addVector (normalPerVertex ? index : face, normalArray);
|
|
1838
1825
|
|
|
1839
|
-
vertexArray .push (
|
|
1826
|
+
vertexArray .push (x, y, z, 1);
|
|
1840
1827
|
}
|
|
1841
1828
|
}
|
|
1842
1829
|
|
|
@@ -1846,12 +1833,8 @@ Object .assign (Object .setPrototypeOf (GeoElevationGrid .prototype, (X3DGeometr
|
|
|
1846
1833
|
{
|
|
1847
1834
|
const normals = this .createNormals (points, coordIndex);
|
|
1848
1835
|
|
|
1849
|
-
for (
|
|
1850
|
-
|
|
1851
|
-
const normal = normals [i];
|
|
1852
|
-
|
|
1853
|
-
normalArray .push (normal .x, normal .y, normal .z);
|
|
1854
|
-
}
|
|
1836
|
+
for (const { x, y, z } of normals)
|
|
1837
|
+
normalArray .push (x, y, z);
|
|
1855
1838
|
}
|
|
1856
1839
|
|
|
1857
1840
|
this .setSolid (this ._solid .getValue ());
|
|
@@ -1919,22 +1902,22 @@ const GeoElevationGrid_default_ = GeoElevationGrid;
|
|
|
1919
1902
|
Namespace_default().add ("GeoElevationGrid", "x_ite/Components/Geospatial/GeoElevationGrid", GeoElevationGrid_default_);
|
|
1920
1903
|
/* harmony default export */ const Geospatial_GeoElevationGrid = (GeoElevationGrid_default_);
|
|
1921
1904
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
1922
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1905
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
1923
1906
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
1924
1907
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
1925
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1908
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
1926
1909
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
1927
1910
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
1928
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1911
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Rendering/TraverseType");
|
|
1929
1912
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
1930
1913
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
1931
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1914
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Grouping/Group");
|
|
1932
1915
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
1933
1916
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/Inline\")"
|
|
1934
|
-
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1917
|
+
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Networking/Inline");
|
|
1935
1918
|
var Inline_default = /*#__PURE__*/__webpack_require__.n(Inline_namespaceObject);
|
|
1936
1919
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
1937
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1920
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("standard/Math/Geometry/Box3");
|
|
1938
1921
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
1939
1922
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLOD.js
|
|
1940
1923
|
/*******************************************************************************
|
|
@@ -2408,7 +2391,7 @@ const GeoLOD_default_ = GeoLOD;
|
|
|
2408
2391
|
Namespace_default().add ("GeoLOD", "x_ite/Components/Geospatial/GeoLOD", GeoLOD_default_);
|
|
2409
2392
|
/* harmony default export */ const Geospatial_GeoLOD = (GeoLOD_default_);
|
|
2410
2393
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformMatrix3DNode\")"
|
|
2411
|
-
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
2394
|
+
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Grouping/X3DTransformMatrix3DNode");
|
|
2412
2395
|
var X3DTransformMatrix3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformMatrix3DNode_namespaceObject);
|
|
2413
2396
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLocation.js
|
|
2414
2397
|
/*******************************************************************************
|
|
@@ -2546,10 +2529,10 @@ const GeoLocation_default_ = GeoLocation;
|
|
|
2546
2529
|
Namespace_default().add ("GeoLocation", "x_ite/Components/Geospatial/GeoLocation", GeoLocation_default_);
|
|
2547
2530
|
/* harmony default export */ const Geospatial_GeoLocation = (GeoLocation_default_);
|
|
2548
2531
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
|
|
2549
|
-
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
2532
|
+
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Core/X3DInfoNode");
|
|
2550
2533
|
var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
|
|
2551
2534
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
2552
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
2535
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
2553
2536
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
2554
2537
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoMetadata.js
|
|
2555
2538
|
/*******************************************************************************
|
|
@@ -2675,7 +2658,7 @@ const GeoMetadata_default_ = GeoMetadata;
|
|
|
2675
2658
|
Namespace_default().add ("GeoMetadata", "x_ite/Components/Geospatial/GeoMetadata", GeoMetadata_default_);
|
|
2676
2659
|
/* harmony default export */ const Geospatial_GeoMetadata = (GeoMetadata_default_);
|
|
2677
2660
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
2678
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
2661
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Core/X3DNode");
|
|
2679
2662
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
2680
2663
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoOrigin.js
|
|
2681
2664
|
/*******************************************************************************
|
|
@@ -2801,7 +2784,7 @@ const GeoOrigin_default_ = GeoOrigin;
|
|
|
2801
2784
|
Namespace_default().add ("GeoOrigin", "x_ite/Components/Geospatial/GeoOrigin", GeoOrigin_default_);
|
|
2802
2785
|
/* harmony default export */ const Geospatial_GeoOrigin = (GeoOrigin_default_);
|
|
2803
2786
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/X3DInterpolatorNode\")"
|
|
2804
|
-
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
2787
|
+
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Interpolation/X3DInterpolatorNode");
|
|
2805
2788
|
var X3DInterpolatorNode_default = /*#__PURE__*/__webpack_require__.n(X3DInterpolatorNode_namespaceObject);
|
|
2806
2789
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoPositionInterpolator.js
|
|
2807
2790
|
/*******************************************************************************
|
|
@@ -2965,10 +2948,10 @@ const GeoPositionInterpolator_default_ = GeoPositionInterpolator;
|
|
|
2965
2948
|
Namespace_default().add ("GeoPositionInterpolator", "x_ite/Components/Geospatial/GeoPositionInterpolator", GeoPositionInterpolator_default_);
|
|
2966
2949
|
/* harmony default export */ const Geospatial_GeoPositionInterpolator = (GeoPositionInterpolator_default_);
|
|
2967
2950
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode\")"
|
|
2968
|
-
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
2951
|
+
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");
|
|
2969
2952
|
var X3DEnvironmentalSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DEnvironmentalSensorNode_namespaceObject);
|
|
2970
2953
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/ProximitySensor\")"
|
|
2971
|
-
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
2954
|
+
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/EnvironmentalSensor/ProximitySensor");
|
|
2972
2955
|
var ProximitySensor_default = /*#__PURE__*/__webpack_require__.n(ProximitySensor_namespaceObject);
|
|
2973
2956
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoProximitySensor.js
|
|
2974
2957
|
/*******************************************************************************
|
|
@@ -3143,7 +3126,7 @@ const GeoProximitySensor_default_ = GeoProximitySensor;
|
|
|
3143
3126
|
Namespace_default().add ("GeoProximitySensor", "x_ite/Components/Geospatial/GeoProximitySensor", GeoProximitySensor_default_);
|
|
3144
3127
|
/* harmony default export */ const Geospatial_GeoProximitySensor = (GeoProximitySensor_default_);
|
|
3145
3128
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode\")"
|
|
3146
|
-
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3129
|
+
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");
|
|
3147
3130
|
var X3DTouchSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DTouchSensorNode_namespaceObject);
|
|
3148
3131
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoTouchSensor.js
|
|
3149
3132
|
/*******************************************************************************
|
|
@@ -3436,16 +3419,16 @@ const GeoTransform_default_ = GeoTransform;
|
|
|
3436
3419
|
Namespace_default().add ("GeoTransform", "x_ite/Components/Geospatial/GeoTransform", GeoTransform_default_);
|
|
3437
3420
|
/* harmony default export */ const Geospatial_GeoTransform = (GeoTransform_default_);
|
|
3438
3421
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/X3DViewpointNode\")"
|
|
3439
|
-
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3422
|
+
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Navigation/X3DViewpointNode");
|
|
3440
3423
|
var X3DViewpointNode_default = /*#__PURE__*/__webpack_require__.n(X3DViewpointNode_namespaceObject);
|
|
3441
3424
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
3442
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3425
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
3443
3426
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
3444
3427
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/NavigationInfo\")"
|
|
3445
|
-
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3428
|
+
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("x_ite/Components/Navigation/NavigationInfo");
|
|
3446
3429
|
var NavigationInfo_default = /*#__PURE__*/__webpack_require__.n(NavigationInfo_namespaceObject);
|
|
3447
3430
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
3448
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3431
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.1")] .require ("standard/Math/Numbers/Rotation4");
|
|
3449
3432
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
3450
3433
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoViewpoint.js
|
|
3451
3434
|
/*******************************************************************************
|
|
@@ -3572,6 +3555,8 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, (X3DViewpointNo
|
|
|
3572
3555
|
},
|
|
3573
3556
|
getRelativeTransformation: (Viewpoint_default()).prototype .getRelativeTransformation,
|
|
3574
3557
|
setInterpolators: (Viewpoint_default()).prototype .setInterpolators,
|
|
3558
|
+
getFieldOfView: (Viewpoint_default()).prototype .getFieldOfView,
|
|
3559
|
+
setFieldOfView: (Viewpoint_default()).prototype .setFieldOfView,
|
|
3575
3560
|
getUserFieldOfView: (Viewpoint_default()).prototype .getUserFieldOfView,
|
|
3576
3561
|
getScreenScale: (Viewpoint_default()).prototype .getScreenScale,
|
|
3577
3562
|
getViewportSize: (Viewpoint_default()).prototype .getViewportSize,
|