x_ite 8.6.10 → 8.6.12
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/Makefile +12 -12
- package/build/bin/version.pl +6 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +21 -45
- 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 +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +40 -58
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +18 -18
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +48 -42
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +28 -34
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +140 -29
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +132 -22
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +33 -77
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +28 -28
- 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/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- 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 +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +645 -786
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +1 -1
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +1 -1
- package/docs/_posts/components/Lighting/DirectionalLight.md +4 -4
- package/docs/_posts/components/Lighting/EnvironmentLight.md +4 -4
- package/docs/_posts/components/Lighting/PointLight.md +4 -4
- package/docs/_posts/components/Lighting/SpotLight.md +4 -4
- package/docs/_posts/components/Rendering/IndexedLineSet.md +1 -1
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +3 -3
- package/docs/_posts/components/X_ITE/BlendMode.md +1 -1
- package/docs/_posts/getting-started.md +8 -3
- package/docs/_posts/reference/browser-services.md +1 -1
- package/docs/_posts/reference/ecmascript-object-and-function-definitions.md +16 -99
- package/docs/_posts/what's-new.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +4 -2
- package/package.json +3 -3
- package/src/assets/shaders/webgl1/include/Fragment.glsl.js +11 -4
- package/src/assets/shaders/webgl2/include/Fragment.glsl.js +11 -4
- package/src/lib/jquery.js +6 -1
- package/src/standard/Math/Algorithm.js +8 -1
- package/src/standard/Math/Geometry/Box3.js +2 -5
- package/src/standard/Utility/BitSet.js +33 -0
- package/src/x_ite/Base/X3DBaseNode.js +8 -0
- package/src/x_ite/Base/X3DObject.js +14 -1
- package/src/x_ite/Browser/Core/BrowserOptions.js +27 -29
- package/src/x_ite/Browser/Core/BrowserTimings.js +4 -12
- package/src/x_ite/Browser/Core/Context.js +1 -1
- package/src/x_ite/Browser/Core/X3DCoreContext.js +5 -0
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +3 -3
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +20 -15
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +3 -3
- package/src/x_ite/Browser/Rendering/GeometryContext.js +2 -0
- package/src/x_ite/Browser/Shape/AlphaMode.js +1 -1
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +4 -4
- package/src/x_ite/Browser/X3DBrowserContext.js +21 -12
- package/src/x_ite/Components/CADGeometry/CADFace.js +8 -32
- package/src/x_ite/Components/Core/X3DNode.js +1 -1
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +115 -139
- package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +1 -1
- package/src/x_ite/Components/Geometry3D/ElevationGrid.js +10 -31
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +3 -6
- package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +7 -25
- package/src/x_ite/Components/Grouping/StaticGroup.js +19 -0
- package/src/x_ite/Components/Grouping/Switch.js +7 -25
- package/src/x_ite/Components/Grouping/X3DBoundedObject.js +0 -1
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +1 -1
- package/src/x_ite/Components/Layout/Layout.js +12 -10
- package/src/x_ite/Components/Layout/LayoutGroup.js +9 -5
- package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +4 -10
- package/src/x_ite/Components/Navigation/LOD.js +7 -25
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -11
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +4 -3
- package/src/x_ite/Components/Rendering/IndexedLineSet.js +11 -33
- package/src/x_ite/Components/Rendering/LineSet.js +12 -37
- package/src/x_ite/Components/Rendering/PointSet.js +11 -24
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +14 -39
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +15 -8
- package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +7 -29
- package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +8 -30
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +3 -10
- package/src/x_ite/Components/Shape/Appearance.js +9 -5
- package/src/x_ite/Components/Shape/Material.js +1 -2
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +1 -2
- package/src/x_ite/Components/Shape/Shape.js +0 -5
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Shape/UnlitMaterial.js +1 -1
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +24 -9
- package/src/x_ite/Components/Shape/X3DShapeNode.js +21 -18
- package/src/x_ite/Components/Texturing/ImageTexture.js +1 -1
- package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +2 -0
- package/src/x_ite/Fields/SFImage.js +9 -9
- package/src/x_ite/Fields/SFInt32.js +2 -2
- package/src/x_ite/Fields/SFNode.js +8 -0
- package/src/x_ite/Rendering/X3DRenderObject.js +0 -1
- package/src/x_ite/{X3DCanvas.js → X3DCanvasElement.js} +23 -4
- package/src/x_ite.js +4 -4
- package/x_ite.min.html +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.6.10 */(()=>{"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 n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components");var i=e.n(t);const n=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/X3DBaseNode");var s=e.n(n);const o=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Fields");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Namespace");var l=e.n(a);function c(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40))}c.prototype=Object.assign(Object.create(s().prototype),{constructor:c,getTypeName:function(){return"ArcClose2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"arcClose2DOptions"}});const u=c;l().set("x_ite/Browser/Geometry2D/Arc2DOptions",u);const h=u;function g(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40))}g.prototype=Object.assign(Object.create(s().prototype),{constructor:g,getTypeName:function(){return"Arc2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"arc2DOptions"}});const p=g;l().set("x_ite/Browser/Geometry2D/ArcClose2DOptions",p);const d=p,m=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Rendering/X3DGeometryNode");var y=e.n(m);const f=window[Symbol.for("X_ITE.X3D-8.6.10")].require("standard/Math/Numbers/Complex");var D=e.n(f);function w(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40)),this.vertices=y().createArray()}w.prototype=Object.assign(Object.create(s().prototype),{constructor:w,getTypeName:function(){return"Circle2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"circle2DOptions"},initialize:function(){this.addInterest("build",this),this.build()},getVertices:function(){return this.vertices},build:function(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let n=0;n<e;++n){const e=D().Polar(1,t*n),s=D().Polar(1,t*(n+1));i.push(e.real,e.imag,0,1),i.push(s.real,s.imag,0,1)}i.shrinkToFit()}});const _=w;l().set("x_ite/Browser/Geometry2D/Circle2DOptions",_);const C=_,O=window[Symbol.for("X_ITE.X3D-8.6.10")].require("standard/Math/Numbers/Vector3");var b=e.n(O);function T(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40)),this.circleVertices=y().createArray(),this.diskTexCoords=y().createArray(),this.diskNormals=y().createArray(),this.diskVertices=y().createArray()}T.prototype=Object.assign(Object.create(s().prototype),{constructor:T,getTypeName:function(){return"Disk2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"circle2DOptions"},initialize:function(){this.addInterest("build",this),this.build()},getCircleVertices:function(){return this.circleVertices},getDiskTexCoords:function(){return this.diskTexCoords},getDiskNormals:function(){return this.diskNormals},getDiskVertices:function(){return this.diskVertices},build:function(){const e=new(D())(.5,.5),t=new(D())(0,0),i=new(D())(0,0),n=new(D())(0,0),s=new(D())(0,0);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,g=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,g).add(e),n.setPolar(1,o),s.setPolar(1,g),a.push(n.real,n.imag,0,1),a.push(s.real,s.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,n.real,n.imag,0,1,s.real,s.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),c.shrinkToFit(),u.shrinkToFit()}}()});const S=T;l().set("x_ite/Browser/Geometry2D/Disk2DOptions",S);const V=S,x=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var F=e.n(x);const M=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Rendering/Coordinate");var I=e.n(M);const N=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Texturing/TextureCoordinate");var X=e.n(N);function v(e){s().call(this,e)}v.prototype=Object.assign(Object.create(s().prototype),{constructor:v,getTypeName:function(){return"Rectangle2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"rectangle2DOptions"},initialize:function(){s().prototype.initialize.call(this)},getGeometry:function(){if(this.geometry)return this.geometry;this.geometry=new(F())(this.getExecutionContext()),this.geometry._texCoord=new(X())(this.getExecutionContext()),this.geometry._coord=new(I())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return e._texCoordIndex=new(r().MFInt32)(0,1,2,3,-1),e._coordIndex=new(r().MFInt32)(0,1,2,3,-1),t._point=new(r().MFVec2f)(new(r().SFVec2f)(1,1),new(r().SFVec2f)(0,1),new(r().SFVec2f)(0,0),new(r().SFVec2f)(1,0)),i._point=new(r().MFVec3f)(new(r().SFVec3f)(1,1,0),new(r().SFVec3f)(-1,1,0),new(r().SFVec3f)(-1,-1,0),new(r().SFVec3f)(1,-1,0)),t.setup(),i.setup(),e.setup(),this.geometry}});const A=v;l().set("x_ite/Browser/Geometry2D/Rectangle2DOptions",A);const P=A,B=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Browser/Core/PrimitiveQuality");var G=e.n(B);function E(){}function k(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}E.prototype={initialize:function(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions:function(){return k.call(this,"getArc2DOptions",h)},getArcClose2DOptions:function(){return k.call(this,"getArcClose2DOptions",d)},getCircle2DOptions:function(){return k.call(this,"getCircle2DOptions",C)},getDisk2DOptions:function(){return k.call(this,"getDisk2DOptions",V)},getRectangle2DOptions:function(){return k.call(this,"getRectangle2DOptions",P)},setPrimitiveQuality2D:function(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),n=this.getCircle2DOptions(),s=this.getDisk2DOptions();switch(e){case G().LOW:t._dimension=20,i._dimension=20,n._dimension=20,s._dimension=20;break;case G().MEDIUM:t._dimension=40,i._dimension=40,n._dimension=40,s._dimension=40;break;case G().HIGH:t._dimension=80,i._dimension=80,n._dimension=80,s._dimension=80}}};const j=E;l().set("x_ite/Browser/Geometry2D/X3DGeometry2DContext",j);const R=j,q=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/X3DFieldDefinition");var z=e.n(q);const U=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/FieldDefinitionArray");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var H=e.n(Q);const W=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Base/X3DConstants");var J=e.n(W);const K=window[Symbol.for("X_ITE.X3D-8.6.10")].require("standard/Math/Algorithm");var Y=e.n(K);function Z(e){H().call(this,e),this.addType(J().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Z.prototype=Object.assign(Object.create(H().prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"startAngle",new(r().SFFloat)),new(z())(J().initializeOnly,"endAngle",new(r().SFFloat)(1.5708)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1))]),getTypeName:function(){return"Arc2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){H().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle:function(){const e=Y().interval(this._startAngle.getValue(),0,2*Math.PI),t=Y().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:function(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),n=this.getSweepAngle(),s=Math.max(3,Math.floor(n*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<s;++e){const r=t+n*(e/s),a=D().Polar(i,r),l=t+n*((e+1)/s),c=D().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)}});const $=Z;l().set("x_ite/Components/Geometry2D/Arc2D",$);const ee=$;function te(e){y().call(this,e),this.addType(J().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}te.prototype=Object.assign(Object.create(y().prototype),{constructor:te,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"closureType",new(r().SFString)("PIE")),new(z())(J().initializeOnly,"startAngle",new(r().SFFloat)),new(z())(J().initializeOnly,"endAngle",new(r().SFFloat)(1.5708)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"ArcClose2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){y().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle:function(){const e=Y().interval(this._startAngle.getValue(),0,2*Math.PI),t=Y().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:function(){const e=new(D())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),n=t._dimension.getValue(),s=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*n/(2*Math.PI))),l=this.getTexCoords(),c=this.getNormals(),u=this.getVertices(),h=[],g=[];this.getMultiTexCoords().push(l);const p=a-1;for(let t=0;t<a;++t){const i=s+r*(t/p);h.push(D().Polar(.5,i).add(e)),g.push(D().Polar(o,i))}if(i){const e=h[0],t=g[0];for(let i=1;i<p;++i){const n=h[i],s=h[i+1],o=g[i],r=g[i+1];l.push(e.real,e.imag,0,1,n.real,n.imag,0,1,s.real,s.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<p;++e){const t=h[e],i=h[e+1],n=g[e],s=g[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,n.real,n.imag,0,1,s.real,s.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}}()});const ie=te;l().set("x_ite/Components/Geometry2D/ArcClose2D",ie);const ne=ie;function se(e){H().call(this,e),this.addType(J().Circle2D),this._radius.setUnit("length")}se.prototype=Object.assign(Object.create(H().prototype),{constructor:se,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1))]),getTypeName:function(){return"Circle2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){H().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build:function(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const n=e.getVertices().getValue();for(let e=0,s=n.length;e<s;e+=4)t.push(n[e]*i,n[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}});const oe=se;l().set("x_ite/Components/Geometry2D/Circle2D",oe);const re=oe,ae=window[Symbol.for("X_ITE.X3D-8.6.10")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var le=e.n(ae);function ce(e){H().call(this,e),this.addType(J().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}ce.prototype=Object.assign(Object.create(y().prototype),{constructor:ce,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"innerRadius",new(r().SFFloat)),new(z())(J().initializeOnly,"outerRadius",new(r().SFFloat)(1)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"Disk2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},initialize:function(){y().prototype.initialize.call(this)},set_live__:function(){y().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build:function(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),n=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),s=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(n===s){const e=this.getVertices();if(0===s)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(le());if(1===s)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,n=t.length;i<n;i+=4)e.push(t[i]*s,t[i+1]*s,0,1)}return this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(H())}if(0===n){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===s)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,n=e.length;i<n;i+=4)t.push(e[i]*s,e[i+1]*s,0,1)}return this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(y())}const o=n/s,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]*n,l[e+5]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*s,l[e+9]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*s,l[e+9]*s,0,1,l[e+8]*n,l[e+9]*n,0,1);this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(y())},setBase:function(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.displaySimple=e.prototype.displaySimple,this.display=e.prototype.display,this.displaySimpleParticles=e.prototype.displaySimpleParticles,this.displayParticles=e.prototype.displayParticles},updateRenderFunctions:function(){}});const ue=ce;l().set("x_ite/Components/Geometry2D/Disk2D",ue);const he=ue;function ge(e){H().call(this,e),this.addType(J().Polyline2D),this._lineSegments.setUnit("length")}ge.prototype=Object.assign(Object.create(H().prototype),{constructor:ge,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"lineSegments",new(r().MFVec2f))]),getTypeName:function(){return"Polyline2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,n=2*(this._lineSegments.length-1);i<n;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}});const pe=ge;l().set("x_ite/Components/Geometry2D/Polyline2D",pe);const de=pe;function me(e){le().call(this,e),this.addType(J().Polypoint2D),this._point.setUnit("length")}me.prototype=Object.assign(Object.create(le().prototype),{constructor:me,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().inputOutput,"point",new(r().MFVec2f))]),getTypeName:function(){return"Polypoint2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,n=2*this._point.length;i<n;i+=2)t.push(e[i],e[i+1],0,1)}});const ye=me;l().set("x_ite/Components/Geometry2D/Polypoint2D",ye);const fe=ye,De=window[Symbol.for("X_ITE.X3D-8.6.10")].require("standard/Math/Numbers/Vector2");var we=e.n(De);function _e(e){y().call(this,e),this.addType(J().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}_e.prototype=Object.assign(Object.create(y().prototype),{constructor:_e,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"size",new(r().SFVec2f)(2,2)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"Rectangle2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=new(we())(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=b().divide(i,2),n=e.x,s=e.y,o=t.getVertices().getValue(),r=this.getVertices();for(let e=0;e<o.length;e+=4)r.push(n*o[e],s*o[e+1],0,1);this.getMin().set(-n,-s,0),this.getMax().set(n,s,0)}this.setSolid(this._solid.getValue())}}()});const Ce=_e;l().set("x_ite/Components/Geometry2D/Rectangle2D",Ce);const Oe=Ce;function be(e){y().call(this,e),this.addType(J().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}be.prototype=Object.assign(Object.create(y().prototype),{constructor:be,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().inputOutput,"vertices",new(r().MFVec2f)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"TriangleSet2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let n=0,s=2*this._vertices.length;n<s;n+=2)t.push(0,0,1),i.push(e[n],e[n+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords:function(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,n=t.Ssize,s=this.getVertices().getValue();for(let t=0,o=s.length;t<o;t+=4)e.push((s[t]-i[0])/n,(s[t+1]-i[1])/n,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}});const Te=be;l().set("x_ite/Components/Geometry2D/TriangleSet2D",Te);const Se=Te;i().addComponent({name:"Geometry2D",types:{Arc2D:ee,ArcClose2D:ne,Circle2D:re,Disk2D:he,Polyline2D:de,Polypoint2D:fe,Rectangle2D:Oe,TriangleSet2D:Se},abstractTypes:{},browserContext:R});const Ve=void 0;l().set("assets/components/Geometry2D",Ve)})();
|
|
1
|
+
/* X_ITE v8.6.12 */(()=>{"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 n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components");var i=e.n(t);const n=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DBaseNode");var s=e.n(n);const o=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Fields");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Namespace");var l=e.n(a);function c(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40))}c.prototype=Object.assign(Object.create(s().prototype),{constructor:c,getTypeName:function(){return"ArcClose2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"arcClose2DOptions"}});const u=c;l().set("x_ite/Browser/Geometry2D/Arc2DOptions",u);const h=u;function g(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40))}g.prototype=Object.assign(Object.create(s().prototype),{constructor:g,getTypeName:function(){return"Arc2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"arc2DOptions"}});const p=g;l().set("x_ite/Browser/Geometry2D/ArcClose2DOptions",p);const d=p,m=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Rendering/X3DGeometryNode");var y=e.n(m);const f=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Complex");var D=e.n(f);function w(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40)),this.vertices=y().createArray()}w.prototype=Object.assign(Object.create(s().prototype),{constructor:w,getTypeName:function(){return"Circle2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"circle2DOptions"},initialize:function(){this.addInterest("build",this),this.build()},getVertices:function(){return this.vertices},build:function(){const e=this._dimension.getValue(),t=2*Math.PI/e,i=this.vertices;i.length=0;for(let n=0;n<e;++n){const e=D().Polar(1,t*n),s=D().Polar(1,t*(n+1));i.push(e.real,e.imag,0,1),i.push(s.real,s.imag,0,1)}i.shrinkToFit()}});const _=w;l().set("x_ite/Browser/Geometry2D/Circle2DOptions",_);const C=_,O=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Vector3");var b=e.n(O);function T(e){s().call(this,e),this.addChildObjects("dimension",new(r().SFInt32)(40)),this.circleVertices=y().createArray(),this.diskTexCoords=y().createArray(),this.diskNormals=y().createArray(),this.diskVertices=y().createArray()}T.prototype=Object.assign(Object.create(s().prototype),{constructor:T,getTypeName:function(){return"Disk2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"circle2DOptions"},initialize:function(){this.addInterest("build",this),this.build()},getCircleVertices:function(){return this.circleVertices},getDiskTexCoords:function(){return this.diskTexCoords},getDiskNormals:function(){return this.diskNormals},getDiskVertices:function(){return this.diskVertices},build:function(){const e=new(D())(.5,.5),t=new(D())(0,0),i=new(D())(0,0),n=new(D())(0,0),s=new(D())(0,0);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,g=r*(h+1);t.setPolar(.5,o).add(e),i.setPolar(.5,g).add(e),n.setPolar(1,o),s.setPolar(1,g),a.push(n.real,n.imag,0,1),a.push(s.real,s.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,n.real,n.imag,0,1,s.real,s.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),c.shrinkToFit(),u.shrinkToFit()}}()});const S=T;l().set("x_ite/Browser/Geometry2D/Disk2DOptions",S);const V=S,x=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var F=e.n(x);const M=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Rendering/Coordinate");var I=e.n(M);const N=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Texturing/TextureCoordinate");var X=e.n(N);function v(e){s().call(this,e)}v.prototype=Object.assign(Object.create(s().prototype),{constructor:v,getTypeName:function(){return"Rectangle2DOptions"},getComponentName:function(){return"X_ITE"},getContainerField:function(){return"rectangle2DOptions"},initialize:function(){s().prototype.initialize.call(this)},getGeometry:function(){if(this.geometry)return this.geometry;this.geometry=new(F())(this.getExecutionContext()),this.geometry._texCoord=new(X())(this.getExecutionContext()),this.geometry._coord=new(I())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return e._texCoordIndex=new(r().MFInt32)(0,1,2,3,-1),e._coordIndex=new(r().MFInt32)(0,1,2,3,-1),t._point=new(r().MFVec2f)(new(r().SFVec2f)(1,1),new(r().SFVec2f)(0,1),new(r().SFVec2f)(0,0),new(r().SFVec2f)(1,0)),i._point=new(r().MFVec3f)(new(r().SFVec3f)(1,1,0),new(r().SFVec3f)(-1,1,0),new(r().SFVec3f)(-1,-1,0),new(r().SFVec3f)(1,-1,0)),t.setup(),i.setup(),e.setup(),this.geometry}});const A=v;l().set("x_ite/Browser/Geometry2D/Rectangle2DOptions",A);const P=A,B=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Browser/Core/PrimitiveQuality");var G=e.n(B);function E(){}function k(e,t){const i=new t(this.getPrivateScene());return i.setup(),this[e]=function(){return i},Object.defineProperty(this,e,{enumerable:!1}),i}E.prototype={initialize:function(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions:function(){return k.call(this,"getArc2DOptions",h)},getArcClose2DOptions:function(){return k.call(this,"getArcClose2DOptions",d)},getCircle2DOptions:function(){return k.call(this,"getCircle2DOptions",C)},getDisk2DOptions:function(){return k.call(this,"getDisk2DOptions",V)},getRectangle2DOptions:function(){return k.call(this,"getRectangle2DOptions",P)},setPrimitiveQuality2D:function(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),n=this.getCircle2DOptions(),s=this.getDisk2DOptions();switch(e){case G().LOW:t._dimension=20,i._dimension=20,n._dimension=20,s._dimension=20;break;case G().MEDIUM:t._dimension=40,i._dimension=40,n._dimension=40,s._dimension=40;break;case G().HIGH:t._dimension=80,i._dimension=80,n._dimension=80,s._dimension=80}}};const j=E;l().set("x_ite/Browser/Geometry2D/X3DGeometry2DContext",j);const R=j,q=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DFieldDefinition");var z=e.n(q);const U=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/FieldDefinitionArray");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var H=e.n(Q);const W=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Base/X3DConstants");var J=e.n(W);const K=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Algorithm");var Y=e.n(K);function Z(e){H().call(this,e),this.addType(J().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Z.prototype=Object.assign(Object.create(H().prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"startAngle",new(r().SFFloat)),new(z())(J().initializeOnly,"endAngle",new(r().SFFloat)(1.5708)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1))]),getTypeName:function(){return"Arc2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){H().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle:function(){const e=Y().interval(this._startAngle.getValue(),0,2*Math.PI),t=Y().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:function(){const e=this.getBrowser().getArc2DOptions()._dimension.getValue(),t=this._startAngle.getValue(),i=Math.abs(this._radius.getValue()),n=this.getSweepAngle(),s=Math.max(3,Math.floor(n*e/(2*Math.PI))),o=this.getVertices();for(let e=0;e<s;++e){const r=t+n*(e/s),a=D().Polar(i,r),l=t+n*((e+1)/s),c=D().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)}});const $=Z;l().set("x_ite/Components/Geometry2D/Arc2D",$);const ee=$;function te(e){y().call(this,e),this.addType(J().ArcClose2D),this.setGeometryType(2),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}te.prototype=Object.assign(Object.create(y().prototype),{constructor:te,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"closureType",new(r().SFString)("PIE")),new(z())(J().initializeOnly,"startAngle",new(r().SFFloat)),new(z())(J().initializeOnly,"endAngle",new(r().SFFloat)(1.5708)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"ArcClose2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){y().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle:function(){const e=Y().interval(this._startAngle.getValue(),0,2*Math.PI),t=Y().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:function(){const e=new(D())(.5,.5);return function(){const t=this.getBrowser().getArcClose2DOptions(),i="CHORD"===this._closureType.getValue(),n=t._dimension.getValue(),s=this._startAngle.getValue(),o=Math.abs(this._radius.getValue()),r=this.getSweepAngle(),a=Math.max(4,Math.floor(r*n/(2*Math.PI))),l=this.getTexCoords(),c=this.getNormals(),u=this.getVertices(),h=[],g=[];this.getMultiTexCoords().push(l);const p=a-1;for(let t=0;t<a;++t){const i=s+r*(t/p);h.push(D().Polar(.5,i).add(e)),g.push(D().Polar(o,i))}if(i){const e=h[0],t=g[0];for(let i=1;i<p;++i){const n=h[i],s=h[i+1],o=g[i],r=g[i+1];l.push(e.real,e.imag,0,1,n.real,n.imag,0,1,s.real,s.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<p;++e){const t=h[e],i=h[e+1],n=g[e],s=g[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,n.real,n.imag,0,1,s.real,s.imag,0,1)}this.getMin().set(-o,-o,0),this.getMax().set(o,o,0),this.setSolid(this._solid.getValue())}}()});const ie=te;l().set("x_ite/Components/Geometry2D/ArcClose2D",ie);const ne=ie;function se(e){H().call(this,e),this.addType(J().Circle2D),this._radius.setUnit("length")}se.prototype=Object.assign(Object.create(H().prototype),{constructor:se,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"radius",new(r().SFFloat)(1))]),getTypeName:function(){return"Circle2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},set_live__:function(){H().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getCircle2DOptions().addInterest("requestRebuild",this):this.getBrowser().getCircle2DOptions().removeInterest("requestRebuild",this)},build:function(){const e=this.getBrowser().getCircle2DOptions(),t=this.getVertices(),i=this._radius.getValue();if(1===i)this.setVertices(e.getVertices());else{const n=e.getVertices().getValue();for(let e=0,s=n.length;e<s;e+=4)t.push(n[e]*i,n[e+1]*i,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}});const oe=se;l().set("x_ite/Components/Geometry2D/Circle2D",oe);const re=oe,ae=window[Symbol.for("X_ITE.X3D-8.6.12")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var le=e.n(ae);function ce(e){H().call(this,e),this.addType(J().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}ce.prototype=Object.assign(Object.create(y().prototype),{constructor:ce,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"innerRadius",new(r().SFFloat)),new(z())(J().initializeOnly,"outerRadius",new(r().SFFloat)(1)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"Disk2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},initialize:function(){y().prototype.initialize.call(this)},set_live__:function(){y().prototype.set_live__.call(this),this.isLive().getValue()?this.getBrowser().getDisk2DOptions().addInterest("requestRebuild",this):this.getBrowser().getDisk2DOptions().removeInterest("requestRebuild",this)},build:function(){const e=this.getBrowser(),t=e.getContext(),i=e.getDisk2DOptions(),n=Math.min(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue())),s=Math.max(Math.abs(this._innerRadius.getValue()),Math.abs(this._outerRadius.getValue()));if(n===s){const e=this.getVertices();if(0===s)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(le());if(1===s)this.setVertices(i.getCircleVertices());else{const t=i.getCircleVertices().getValue();for(let i=0,n=t.length;i<n;i+=4)e.push(t[i]*s,t[i+1]*s,0,1)}return this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(1),this.setPrimitiveMode(t.LINES),this.setTransparent(!1),void this.setBase(H())}if(0===n){if(this.getMultiTexCoords().push(i.getDiskTexCoords()),this.setNormals(i.getDiskNormals()),1===s)this.setVertices(i.getDiskVertices());else{const e=i.getDiskVertices().getValue(),t=this.getVertices();for(let i=0,n=e.length;i<n;i+=4)t.push(e[i]*s,e[i+1]*s,0,1)}return this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),void this.setBase(y())}const o=n/s,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]*n,l[e+5]*n,0,1,l[e+4]*s,l[e+5]*s,0,1,l[e+8]*s,l[e+9]*s,0,1,l[e+4]*n,l[e+5]*n,0,1,l[e+8]*s,l[e+9]*s,0,1,l[e+8]*n,l[e+9]*n,0,1);this.getMin().set(-s,-s,0),this.getMax().set(s,s,0),this.setGeometryType(2),this.setPrimitiveMode(t.TRIANGLES),this.setTransparent(!1),this.setSolid(this._solid.getValue()),this.setBase(y())},setBase:function(e){this.intersectsLine=e.prototype.intersectsLine,this.intersectsBox=e.prototype.intersectsBox,this.displaySimple=e.prototype.displaySimple,this.display=e.prototype.display,this.displaySimpleParticles=e.prototype.displaySimpleParticles,this.displayParticles=e.prototype.displayParticles},updateRenderFunctions:function(){}});const ue=ce;l().set("x_ite/Components/Geometry2D/Disk2D",ue);const he=ue;function ge(e){H().call(this,e),this.addType(J().Polyline2D),this._lineSegments.setUnit("length")}ge.prototype=Object.assign(Object.create(H().prototype),{constructor:ge,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"lineSegments",new(r().MFVec2f))]),getTypeName:function(){return"Polyline2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._lineSegments.getValue(),t=this.getVertices();for(let i=0,n=2*(this._lineSegments.length-1);i<n;i+=2)t.push(e[i+0],e[i+1],0,1),t.push(e[i+2],e[i+3],0,1)}});const pe=ge;l().set("x_ite/Components/Geometry2D/Polyline2D",pe);const de=pe;function me(e){le().call(this,e),this.addType(J().Polypoint2D),this._point.setUnit("length")}me.prototype=Object.assign(Object.create(le().prototype),{constructor:me,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().inputOutput,"point",new(r().MFVec2f))]),getTypeName:function(){return"Polypoint2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._point.getValue(),t=this.getVertices();for(let i=0,n=2*this._point.length;i<n;i+=2)t.push(e[i],e[i+1],0,1)}});const ye=me;l().set("x_ite/Components/Geometry2D/Polypoint2D",ye);const fe=ye,De=window[Symbol.for("X_ITE.X3D-8.6.12")].require("standard/Math/Numbers/Vector2");var we=e.n(De);function _e(e){y().call(this,e),this.addType(J().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}_e.prototype=Object.assign(Object.create(y().prototype),{constructor:_e,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().initializeOnly,"size",new(r().SFVec2f)(2,2)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"Rectangle2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=new(we())(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=b().divide(i,2),n=e.x,s=e.y,o=t.getVertices().getValue(),r=this.getVertices();for(let e=0;e<o.length;e+=4)r.push(n*o[e],s*o[e+1],0,1);this.getMin().set(-n,-s,0),this.getMax().set(n,s,0)}this.setSolid(this._solid.getValue())}}()});const Ce=_e;l().set("x_ite/Components/Geometry2D/Rectangle2D",Ce);const Oe=Ce;function be(e){y().call(this,e),this.addType(J().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}be.prototype=Object.assign(Object.create(y().prototype),{constructor:be,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(L())([new(z())(J().inputOutput,"metadata",new(r().SFNode)),new(z())(J().inputOutput,"vertices",new(r().MFVec2f)),new(z())(J().initializeOnly,"solid",new(r().SFBool))]),getTypeName:function(){return"TriangleSet2D"},getComponentName:function(){return"Geometry2D"},getContainerField:function(){return"geometry"},build:function(){const e=this._vertices.getValue(),t=this.getNormals(),i=this.getVertices();for(let n=0,s=2*this._vertices.length;n<s;n+=2)t.push(0,0,1),i.push(e[n],e[n+1],0,1);this.setSolid(this._solid.getValue())},buildTexCoords:function(){const e=this.getTexCoords();if(0===e.length){const t=this.getTexCoordParams(),i=t.min,n=t.Ssize,s=this.getVertices().getValue();for(let t=0,o=s.length;t<o;t+=4)e.push((s[t]-i[0])/n,(s[t+1]-i[1])/n,0,1);e.shrinkToFit()}this.getMultiTexCoords().push(e)}});const Te=be;l().set("x_ite/Components/Geometry2D/TriangleSet2D",Te);const Se=Te;i().addComponent({name:"Geometry2D",types:{Arc2D:ee,ArcClose2D:ne,Circle2D:re,Disk2D:he,Polyline2D:de,Polypoint2D:fe,Rectangle2D:Oe,TriangleSet2D:Se},abstractTypes:{},browserContext:R});const Ve=void 0;l().set("assets/components/Geometry2D",Ve)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.12 */(() => { // 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-8.6.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.
|
|
54
|
+
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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-8.6.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .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
|
/*******************************************************************************
|
|
@@ -249,10 +249,10 @@ const ReferenceEllipsoids_default_ = ReferenceEllipsoids;
|
|
|
249
249
|
Namespace_default().set ("standard/Geospatial/ReferenceEllipsoids", ReferenceEllipsoids_default_);
|
|
250
250
|
/* harmony default export */ const Geospatial_ReferenceEllipsoids = (ReferenceEllipsoids_default_);
|
|
251
251
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
252
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
252
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Vector3");
|
|
253
253
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
254
254
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
255
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
255
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Algorithm");
|
|
256
256
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
257
257
|
;// CONCATENATED MODULE: ./src/standard/Geospatial/Geodetic.js
|
|
258
258
|
/*******************************************************************************
|
|
@@ -1021,10 +1021,10 @@ const Geospatial_default_ = Geospatial;
|
|
|
1021
1021
|
Namespace_default().set ("x_ite/Browser/Geospatial/Geospatial", Geospatial_default_);
|
|
1022
1022
|
/* harmony default export */ const Geospatial_Geospatial = (Geospatial_default_);
|
|
1023
1023
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
1024
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1024
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Base/X3DCast");
|
|
1025
1025
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
1026
1026
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
1027
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1027
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Matrix4");
|
|
1028
1028
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
1029
1029
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/X3DGeospatialObject.js
|
|
1030
1030
|
/*******************************************************************************
|
|
@@ -1291,7 +1291,7 @@ const X3DGeospatialObject_default_ = X3DGeospatialObject;
|
|
|
1291
1291
|
Namespace_default().set ("x_ite/Components/Geospatial/X3DGeospatialObject", X3DGeospatialObject_default_);
|
|
1292
1292
|
/* harmony default export */ const Geospatial_X3DGeospatialObject = (X3DGeospatialObject_default_);
|
|
1293
1293
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
1294
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1294
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Geometry/Triangle3");
|
|
1295
1295
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
1296
1296
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoCoordinate.js
|
|
1297
1297
|
/*******************************************************************************
|
|
@@ -1522,10 +1522,10 @@ const GeoCoordinate_default_ = GeoCoordinate;
|
|
|
1522
1522
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoCoordinate", GeoCoordinate_default_);
|
|
1523
1523
|
/* harmony default export */ const Geospatial_GeoCoordinate = (GeoCoordinate_default_);
|
|
1524
1524
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
1525
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1525
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
1526
1526
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
1527
1527
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1528
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1528
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Vector2");
|
|
1529
1529
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1530
1530
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoElevationGrid.js
|
|
1531
1531
|
/*******************************************************************************
|
|
@@ -1652,49 +1652,31 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1652
1652
|
},
|
|
1653
1653
|
set_color__: function ()
|
|
1654
1654
|
{
|
|
1655
|
-
|
|
1656
|
-
{
|
|
1657
|
-
this .colorNode .removeInterest ("requestRebuild", this);
|
|
1658
|
-
this .colorNode ._transparent .removeInterest ("set_transparent__", this);
|
|
1659
|
-
}
|
|
1655
|
+
this .colorNode?.removeInterest ("requestRebuild", this);
|
|
1660
1656
|
|
|
1661
1657
|
this .colorNode = X3DCast_default() ((X3DConstants_default()).X3DColorNode, this ._color);
|
|
1662
1658
|
|
|
1663
|
-
|
|
1664
|
-
{
|
|
1665
|
-
this .colorNode .addInterest ("requestRebuild", this);
|
|
1666
|
-
this .colorNode ._transparent .addInterest ("set_transparent__", this);
|
|
1659
|
+
this .colorNode?.addInterest ("requestRebuild", this);
|
|
1667
1660
|
|
|
1668
|
-
|
|
1669
|
-
}
|
|
1670
|
-
else
|
|
1671
|
-
this .setTransparent (false);
|
|
1672
|
-
},
|
|
1673
|
-
set_transparent__: function ()
|
|
1674
|
-
{
|
|
1675
|
-
this .setTransparent (this .colorNode .isTransparent ());
|
|
1661
|
+
this .setTransparent (this .colorNode?.isTransparent () ?? false);
|
|
1676
1662
|
},
|
|
1677
1663
|
set_texCoord__: function ()
|
|
1678
1664
|
{
|
|
1679
|
-
|
|
1680
|
-
this .texCoordNode .removeInterest ("requestRebuild", this);
|
|
1665
|
+
this .texCoordNode?.removeInterest ("requestRebuild", this);
|
|
1681
1666
|
|
|
1682
1667
|
this .texCoordNode = X3DCast_default() ((X3DConstants_default()).X3DTextureCoordinateNode, this ._texCoord);
|
|
1683
1668
|
|
|
1684
|
-
|
|
1685
|
-
this .texCoordNode .addInterest ("requestRebuild", this);
|
|
1669
|
+
this .texCoordNode?.addInterest ("requestRebuild", this);
|
|
1686
1670
|
|
|
1687
1671
|
this .setTextureCoordinate (this .texCoordNode);
|
|
1688
1672
|
},
|
|
1689
1673
|
set_normal__: function ()
|
|
1690
1674
|
{
|
|
1691
|
-
|
|
1692
|
-
this .normalNode .removeInterest ("requestRebuild", this);
|
|
1675
|
+
this .normalNode?.removeInterest ("requestRebuild", this);
|
|
1693
1676
|
|
|
1694
1677
|
this .normalNode = X3DCast_default() ((X3DConstants_default()).X3DNormalNode, this ._normal);
|
|
1695
1678
|
|
|
1696
|
-
|
|
1697
|
-
this .normalNode .addInterest ("requestRebuild", this);
|
|
1679
|
+
this .normalNode?.addInterest ("requestRebuild", this);
|
|
1698
1680
|
},
|
|
1699
1681
|
getColor: function ()
|
|
1700
1682
|
{
|
|
@@ -1965,22 +1947,22 @@ const GeoElevationGrid_default_ = GeoElevationGrid;
|
|
|
1965
1947
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoElevationGrid", GeoElevationGrid_default_);
|
|
1966
1948
|
/* harmony default export */ const Geospatial_GeoElevationGrid = (GeoElevationGrid_default_);
|
|
1967
1949
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
1968
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1950
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
1969
1951
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
1970
1952
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
1971
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1953
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
1972
1954
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
1973
1955
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
1974
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1956
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Rendering/TraverseType");
|
|
1975
1957
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
1976
1958
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
1977
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1959
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/Group");
|
|
1978
1960
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
1979
1961
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/Inline\")"
|
|
1980
|
-
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1962
|
+
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Networking/Inline");
|
|
1981
1963
|
var Inline_default = /*#__PURE__*/__webpack_require__.n(Inline_namespaceObject);
|
|
1982
1964
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
1983
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
1965
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Geometry/Box3");
|
|
1984
1966
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
1985
1967
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLOD.js
|
|
1986
1968
|
/*******************************************************************************
|
|
@@ -2439,7 +2421,7 @@ const GeoLOD_default_ = GeoLOD;
|
|
|
2439
2421
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoLOD", GeoLOD_default_);
|
|
2440
2422
|
/* harmony default export */ const Geospatial_GeoLOD = (GeoLOD_default_);
|
|
2441
2423
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformMatrix3DNode\")"
|
|
2442
|
-
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2424
|
+
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Grouping/X3DTransformMatrix3DNode");
|
|
2443
2425
|
var X3DTransformMatrix3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformMatrix3DNode_namespaceObject);
|
|
2444
2426
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLocation.js
|
|
2445
2427
|
/*******************************************************************************
|
|
@@ -2562,10 +2544,10 @@ const GeoLocation_default_ = GeoLocation;
|
|
|
2562
2544
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoLocation", GeoLocation_default_);
|
|
2563
2545
|
/* harmony default export */ const Geospatial_GeoLocation = (GeoLocation_default_);
|
|
2564
2546
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
|
|
2565
|
-
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2547
|
+
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DInfoNode");
|
|
2566
2548
|
var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
|
|
2567
2549
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
2568
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2550
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
2569
2551
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
2570
2552
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoMetadata.js
|
|
2571
2553
|
/*******************************************************************************
|
|
@@ -2681,7 +2663,7 @@ const GeoMetadata_default_ = GeoMetadata;
|
|
|
2681
2663
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoMetadata", GeoMetadata_default_);
|
|
2682
2664
|
/* harmony default export */ const Geospatial_GeoMetadata = (GeoMetadata_default_);
|
|
2683
2665
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
2684
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2666
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Core/X3DNode");
|
|
2685
2667
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
2686
2668
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoOrigin.js
|
|
2687
2669
|
/*******************************************************************************
|
|
@@ -2792,7 +2774,7 @@ const GeoOrigin_default_ = GeoOrigin;
|
|
|
2792
2774
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoOrigin", GeoOrigin_default_);
|
|
2793
2775
|
/* harmony default export */ const Geospatial_GeoOrigin = (GeoOrigin_default_);
|
|
2794
2776
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/X3DInterpolatorNode\")"
|
|
2795
|
-
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2777
|
+
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Interpolation/X3DInterpolatorNode");
|
|
2796
2778
|
var X3DInterpolatorNode_default = /*#__PURE__*/__webpack_require__.n(X3DInterpolatorNode_namespaceObject);
|
|
2797
2779
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoPositionInterpolator.js
|
|
2798
2780
|
/*******************************************************************************
|
|
@@ -2941,10 +2923,10 @@ const GeoPositionInterpolator_default_ = GeoPositionInterpolator;
|
|
|
2941
2923
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoPositionInterpolator", GeoPositionInterpolator_default_);
|
|
2942
2924
|
/* harmony default export */ const Geospatial_GeoPositionInterpolator = (GeoPositionInterpolator_default_);
|
|
2943
2925
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode\")"
|
|
2944
|
-
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2926
|
+
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");
|
|
2945
2927
|
var X3DEnvironmentalSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DEnvironmentalSensorNode_namespaceObject);
|
|
2946
2928
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/ProximitySensor\")"
|
|
2947
|
-
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
2929
|
+
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/EnvironmentalSensor/ProximitySensor");
|
|
2948
2930
|
var ProximitySensor_default = /*#__PURE__*/__webpack_require__.n(ProximitySensor_namespaceObject);
|
|
2949
2931
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoProximitySensor.js
|
|
2950
2932
|
/*******************************************************************************
|
|
@@ -3100,7 +3082,7 @@ const GeoProximitySensor_default_ = GeoProximitySensor;
|
|
|
3100
3082
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoProximitySensor", GeoProximitySensor_default_);
|
|
3101
3083
|
/* harmony default export */ const Geospatial_GeoProximitySensor = (GeoProximitySensor_default_);
|
|
3102
3084
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode\")"
|
|
3103
|
-
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3085
|
+
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");
|
|
3104
3086
|
var X3DTouchSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DTouchSensorNode_namespaceObject);
|
|
3105
3087
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoTouchSensor.js
|
|
3106
3088
|
/*******************************************************************************
|
|
@@ -3363,16 +3345,16 @@ const GeoTransform_default_ = GeoTransform;
|
|
|
3363
3345
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoTransform", GeoTransform_default_);
|
|
3364
3346
|
/* harmony default export */ const Geospatial_GeoTransform = (GeoTransform_default_);
|
|
3365
3347
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/X3DViewpointNode\")"
|
|
3366
|
-
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3348
|
+
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Navigation/X3DViewpointNode");
|
|
3367
3349
|
var X3DViewpointNode_default = /*#__PURE__*/__webpack_require__.n(X3DViewpointNode_namespaceObject);
|
|
3368
3350
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
3369
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3351
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
3370
3352
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
3371
3353
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/NavigationInfo\")"
|
|
3372
|
-
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3354
|
+
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("x_ite/Components/Navigation/NavigationInfo");
|
|
3373
3355
|
var NavigationInfo_default = /*#__PURE__*/__webpack_require__.n(NavigationInfo_namespaceObject);
|
|
3374
3356
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
3375
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
3357
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.12")] .require ("standard/Math/Numbers/Rotation4");
|
|
3376
3358
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
3377
3359
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoViewpoint.js
|
|
3378
3360
|
/*******************************************************************************
|