x_ite 8.11.16 → 8.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +5 -3
  2. package/dist/LICENSE.md +2 -2
  3. package/dist/assets/components/Annotation.js +21 -21
  4. package/dist/assets/components/Annotation.min.js +1 -1
  5. package/dist/assets/components/CADGeometry.js +38 -36
  6. package/dist/assets/components/CADGeometry.min.js +1 -1
  7. package/dist/assets/components/CubeMapTexturing.js +31 -31
  8. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  9. package/dist/assets/components/DIS.js +20 -20
  10. package/dist/assets/components/DIS.min.js +1 -1
  11. package/dist/assets/components/EventUtilities.js +19 -19
  12. package/dist/assets/components/EventUtilities.min.js +1 -1
  13. package/dist/assets/components/Geometry2D.js +34 -34
  14. package/dist/assets/components/Geometry2D.min.js +1 -1
  15. package/dist/assets/components/Geospatial.js +86 -85
  16. package/dist/assets/components/Geospatial.min.js +1 -1
  17. package/dist/assets/components/HAnim.js +30 -32
  18. package/dist/assets/components/HAnim.min.js +1 -1
  19. package/dist/assets/components/KeyDeviceSensor.js +13 -13
  20. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  21. package/dist/assets/components/Layout.js +46 -42
  22. package/dist/assets/components/Layout.min.js +1 -1
  23. package/dist/assets/components/NURBS.js +65 -65
  24. package/dist/assets/components/NURBS.min.js +1 -1
  25. package/dist/assets/components/ParticleSystems.js +46 -46
  26. package/dist/assets/components/ParticleSystems.min.js +1 -1
  27. package/dist/assets/components/Picking.js +31 -31
  28. package/dist/assets/components/Picking.min.js +1 -1
  29. package/dist/assets/components/RigidBodyPhysics.js +48 -48
  30. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  31. package/dist/assets/components/Scripting.js +108 -101
  32. package/dist/assets/components/Scripting.min.js +1 -1
  33. package/dist/assets/components/Text.js +44 -44
  34. package/dist/assets/components/Text.min.js +1 -1
  35. package/dist/assets/components/TextureProjector.js +18 -18
  36. package/dist/assets/components/TextureProjector.min.js +1 -1
  37. package/dist/assets/components/Texturing3D.js +74 -92
  38. package/dist/assets/components/Texturing3D.min.js +1 -1
  39. package/dist/assets/components/VolumeRendering.js +39 -40
  40. package/dist/assets/components/VolumeRendering.min.js +1 -1
  41. package/dist/assets/components/X_ITE.js +11 -11
  42. package/dist/assets/components/X_ITE.min.js +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +3153 -2347
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.min.mjs +1 -0
  47. package/dist/x_ite.mjs +121582 -0
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +9 -2
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.11.16 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.12.0 */(() => { // 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.11.16")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .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.11.16")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .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.11.16")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .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.11.16")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .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/Core/X3DChildNode\")"
54
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Core/X3DChildNode");
54
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Core/X3DChildNode");
55
55
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_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.11.16")] .require ("x_ite/Base/X3DConstants");
57
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .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.11.16")] .require ("x_ite/Namespace");
60
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Namespace");
61
61
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
62
62
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanFilter.js
63
63
  /*******************************************************************************
@@ -180,10 +180,10 @@ Object .defineProperties (BooleanFilter,
180
180
  const __default__ = BooleanFilter;
181
181
  ;
182
182
 
183
- Namespace_default().set ("x_ite/Components/EventUtilities/BooleanFilter", __default__);
183
+ Namespace_default().add ("BooleanFilter", "x_ite/Components/EventUtilities/BooleanFilter", __default__);
184
184
  /* harmony default export */ const EventUtilities_BooleanFilter = (__default__);
185
185
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
186
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Algorithm");
186
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Algorithm");
187
187
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
188
188
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/X3DSequencerNode.js
189
189
  /*******************************************************************************
@@ -341,7 +341,7 @@ Object .defineProperties (X3DSequencerNode,
341
341
  const X3DSequencerNode_default_ = X3DSequencerNode;
342
342
  ;
343
343
 
344
- Namespace_default().set ("x_ite/Components/EventUtilities/X3DSequencerNode", X3DSequencerNode_default_);
344
+ Namespace_default().add ("X3DSequencerNode", "x_ite/Components/EventUtilities/X3DSequencerNode", X3DSequencerNode_default_);
345
345
  /* harmony default export */ const EventUtilities_X3DSequencerNode = (X3DSequencerNode_default_);
346
346
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanSequencer.js
347
347
  /*******************************************************************************
@@ -462,7 +462,7 @@ Object .defineProperties (BooleanSequencer,
462
462
  const BooleanSequencer_default_ = BooleanSequencer;
463
463
  ;
464
464
 
465
- Namespace_default().set ("x_ite/Components/EventUtilities/BooleanSequencer", BooleanSequencer_default_);
465
+ Namespace_default().add ("BooleanSequencer", "x_ite/Components/EventUtilities/BooleanSequencer", BooleanSequencer_default_);
466
466
  /* harmony default export */ const EventUtilities_BooleanSequencer = (BooleanSequencer_default_);
467
467
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanToggle.js
468
468
  /*******************************************************************************
@@ -576,7 +576,7 @@ Object .defineProperties (BooleanToggle,
576
576
  const BooleanToggle_default_ = BooleanToggle;
577
577
  ;
578
578
 
579
- Namespace_default().set ("x_ite/Components/EventUtilities/BooleanToggle", BooleanToggle_default_);
579
+ Namespace_default().add ("BooleanToggle", "x_ite/Components/EventUtilities/BooleanToggle", BooleanToggle_default_);
580
580
  /* harmony default export */ const EventUtilities_BooleanToggle = (BooleanToggle_default_);
581
581
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/X3DTriggerNode.js
582
582
  /*******************************************************************************
@@ -655,7 +655,7 @@ Object .defineProperties (X3DTriggerNode,
655
655
  const X3DTriggerNode_default_ = X3DTriggerNode;
656
656
  ;
657
657
 
658
- Namespace_default().set ("x_ite/Components/EventUtilities/X3DTriggerNode", X3DTriggerNode_default_);
658
+ Namespace_default().add ("X3DTriggerNode", "x_ite/Components/EventUtilities/X3DTriggerNode", X3DTriggerNode_default_);
659
659
  /* harmony default export */ const EventUtilities_X3DTriggerNode = (X3DTriggerNode_default_);
660
660
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanTrigger.js
661
661
  /*******************************************************************************
@@ -768,7 +768,7 @@ Object .defineProperties (BooleanTrigger,
768
768
  const BooleanTrigger_default_ = BooleanTrigger;
769
769
  ;
770
770
 
771
- Namespace_default().set ("x_ite/Components/EventUtilities/BooleanTrigger", BooleanTrigger_default_);
771
+ Namespace_default().add ("BooleanTrigger", "x_ite/Components/EventUtilities/BooleanTrigger", BooleanTrigger_default_);
772
772
  /* harmony default export */ const EventUtilities_BooleanTrigger = (BooleanTrigger_default_);
773
773
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/IntegerSequencer.js
774
774
  /*******************************************************************************
@@ -889,7 +889,7 @@ Object .defineProperties (IntegerSequencer,
889
889
  const IntegerSequencer_default_ = IntegerSequencer;
890
890
  ;
891
891
 
892
- Namespace_default().set ("x_ite/Components/EventUtilities/IntegerSequencer", IntegerSequencer_default_);
892
+ Namespace_default().add ("IntegerSequencer", "x_ite/Components/EventUtilities/IntegerSequencer", IntegerSequencer_default_);
893
893
  /* harmony default export */ const EventUtilities_IntegerSequencer = (IntegerSequencer_default_);
894
894
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/IntegerTrigger.js
895
895
  /*******************************************************************************
@@ -1003,7 +1003,7 @@ Object .defineProperties (IntegerTrigger,
1003
1003
  const IntegerTrigger_default_ = IntegerTrigger;
1004
1004
  ;
1005
1005
 
1006
- Namespace_default().set ("x_ite/Components/EventUtilities/IntegerTrigger", IntegerTrigger_default_);
1006
+ Namespace_default().add ("IntegerTrigger", "x_ite/Components/EventUtilities/IntegerTrigger", IntegerTrigger_default_);
1007
1007
  /* harmony default export */ const EventUtilities_IntegerTrigger = (IntegerTrigger_default_);
1008
1008
  ;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/TimeTrigger.js
1009
1009
  /*******************************************************************************
@@ -1116,7 +1116,7 @@ Object .defineProperties (TimeTrigger,
1116
1116
  const TimeTrigger_default_ = TimeTrigger;
1117
1117
  ;
1118
1118
 
1119
- Namespace_default().set ("x_ite/Components/EventUtilities/TimeTrigger", TimeTrigger_default_);
1119
+ Namespace_default().add ("TimeTrigger", "x_ite/Components/EventUtilities/TimeTrigger", TimeTrigger_default_);
1120
1120
  /* harmony default export */ const EventUtilities_TimeTrigger = (TimeTrigger_default_);
1121
1121
  ;// CONCATENATED MODULE: ./src/assets/components/EventUtilities.js
1122
1122
  /*******************************************************************************
@@ -1199,7 +1199,7 @@ Components_default().add ({
1199
1199
  const EventUtilities_default_ = undefined;
1200
1200
  ;
1201
1201
 
1202
- Namespace_default().set ("assets/components/EventUtilities", EventUtilities_default_);
1202
+ Namespace_default().add ("EventUtilities", "assets/components/EventUtilities", EventUtilities_default_);
1203
1203
  /* harmony default export */ const EventUtilities = ((/* unused pure expression or super */ null && (EventUtilities_default_)));
1204
1204
  /******/ })()
1205
1205
  ;
@@ -1 +1 @@
1
- /* X_ITE v8.11.16 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Fields");var o=e.n(i);const a=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/X3DFieldDefinition");var l=e.n(a);const s=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/FieldDefinitionArray");var r=e.n(s);const u=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(u);const c=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/X3DConstants");var d=e.n(c);const _=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Namespace");var h=e.n(_);function m(e){p().call(this,e),this.addType(d().BooleanFilter)}Object.assign(Object.setPrototypeOf(m.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){const e=this._set_boolean.getValue();e?this._inputTrue=!0:this._inputFalse=!1,this._inputNegate=!e}}),Object.defineProperties(m,{typeName:{value:"BooleanFilter",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().outputOnly,"inputTrue",new(o().SFBool)),new(l())(d().outputOnly,"inputFalse",new(o().SFBool)),new(l())(d().outputOnly,"inputNegate",new(o().SFBool))]),enumerable:!0}});const g=m;h().set("x_ite/Components/EventUtilities/BooleanFilter",g);const y=g,b=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Algorithm");var w=e.n(b);function f(e){p().call(this,e),this.addType(d().X3DSequencerNode),this.index=-1}Object.assign(Object.setPrototypeOf(f.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_fraction.addInterest("set_fraction__",this),this._previous.addInterest("set_previous__",this),this._next.addInterest("set_next__",this),this._key.addInterest("set_index__",this)},set_fraction__(){const e=this._set_fraction.getValue(),t=this._key,n=t.length;if(0===n)return;let i=0;if(1===n||e<=t[0])i=0;else if(e>=t[n-1])i=this.getSize()-1;else{i=w().upperBound(t,0,n,e)-1}i!==this.index&&i<this.getSize()&&this.sequence(this.index=i)},set_previous__(){this._previous.getValue()&&(this.index<=0?this.index=this.getSize()-1:--this.index,this.index<this.getSize()&&this.sequence(this.index))},set_next__(){this._next.getValue()&&(this.index>=this.getSize()-1?this.index=0:++this.index,this.index<this.getSize()&&this.sequence(this.index))},set_index__(){this.index=-1}}),Object.defineProperties(f,{typeName:{value:"X3DSequencerNode",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0}});const v=f;h().set("x_ite/Components/EventUtilities/X3DSequencerNode",v);const O=v;function S(e){O.call(this,e),this.addType(d().BooleanSequencer)}Object.assign(Object.setPrototypeOf(S.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._keyValue.addInterest("set_index__",this)},getSize(){return this._keyValue.length},sequence(e){this._value_changed=this._keyValue[e]}}),Object.defineProperties(S,{typeName:{value:"BooleanSequencer",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_fraction",new(o().SFFloat)),new(l())(d().inputOnly,"previous",new(o().SFBool)),new(l())(d().inputOnly,"next",new(o().SFBool)),new(l())(d().inputOutput,"key",new(o().MFFloat)),new(l())(d().inputOutput,"keyValue",new(o().MFBool)),new(l())(d().outputOnly,"value_changed",new(o().SFBool))]),enumerable:!0}});const F=S;h().set("x_ite/Components/EventUtilities/BooleanSequencer",F);const T=F;function x(e){p().call(this,e),this.addType(d().BooleanToggle)}Object.assign(Object.setPrototypeOf(x.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._set_boolean.getValue()&&(this._toggle=!this._toggle.getValue())}}),Object.defineProperties(x,{typeName:{value:"BooleanToggle",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().inputOutput,"toggle",new(o().SFBool))]),enumerable:!0}});const N=x;h().set("x_ite/Components/EventUtilities/BooleanToggle",N);const I=N;function j(e){p().call(this,e),this.addType(d().X3DTriggerNode)}Object.setPrototypeOf(j.prototype,p().prototype),Object.defineProperties(j,{typeName:{value:"X3DTriggerNode",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0}});const B=j;h().set("x_ite/Components/EventUtilities/X3DTriggerNode",B);const z=B;function E(e){z.call(this,e),this.addType(d().BooleanTrigger)}Object.assign(Object.setPrototypeOf(E.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_triggerTime.addInterest("set_triggerTime__",this)},set_triggerTime__(){this._triggerTrue=!0}}),Object.defineProperties(E,{typeName:{value:"BooleanTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_triggerTime",new(o().SFTime)),new(l())(d().outputOnly,"triggerTrue",new(o().SFBool))]),enumerable:!0}});const D=E;h().set("x_ite/Components/EventUtilities/BooleanTrigger",D);const X=D;function q(e){O.call(this,e),this.addType(d().IntegerSequencer)}Object.assign(Object.setPrototypeOf(q.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._keyValue.addInterest("set_index__",this)},getSize(){return this._keyValue.length},sequence(e){this._value_changed=this._keyValue[e]}}),Object.defineProperties(q,{typeName:{value:"IntegerSequencer",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_fraction",new(o().SFFloat)),new(l())(d().inputOnly,"previous",new(o().SFBool)),new(l())(d().inputOnly,"next",new(o().SFBool)),new(l())(d().inputOutput,"key",new(o().MFFloat)),new(l())(d().inputOutput,"keyValue",new(o().MFInt32)),new(l())(d().outputOnly,"value_changed",new(o().SFInt32))]),enumerable:!0}});const P=q;h().set("x_ite/Components/EventUtilities/IntegerSequencer",P);const U=P;function V(e){z.call(this,e),this.addType(d().IntegerTrigger)}Object.assign(Object.setPrototypeOf(V.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._triggerValue=this._integerKey}}),Object.defineProperties(V,{typeName:{value:"IntegerTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().inputOutput,"integerKey",new(o().SFInt32)(-1)),new(l())(d().outputOnly,"triggerValue",new(o().SFInt32))]),enumerable:!0}});const C=V;h().set("x_ite/Components/EventUtilities/IntegerTrigger",C);const k=C;function R(e){z.call(this,e),this.addType(d().TimeTrigger)}Object.assign(Object.setPrototypeOf(R.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._triggerTime=this.getBrowser().getCurrentTime()}}),Object.defineProperties(R,{typeName:{value:"TimeTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().outputOnly,"triggerTime",new(o().SFTime))]),enumerable:!0}});const M=R;h().set("x_ite/Components/EventUtilities/TimeTrigger",M);const A=M;n().add({name:"EventUtilities",concreteNodes:[y,T,I,X,U,k,A],abstractNodes:[O,z]});const K=void 0;h().set("assets/components/EventUtilities",K)})();
1
+ /* X_ITE v8.12.0 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Fields");var o=e.n(i);const a=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/X3DFieldDefinition");var l=e.n(a);const s=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/FieldDefinitionArray");var r=e.n(s);const u=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(u);const c=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/X3DConstants");var d=e.n(c);const _=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Namespace");var g=e.n(_);function h(e){p().call(this,e),this.addType(d().BooleanFilter)}Object.assign(Object.setPrototypeOf(h.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){const e=this._set_boolean.getValue();e?this._inputTrue=!0:this._inputFalse=!1,this._inputNegate=!e}}),Object.defineProperties(h,{typeName:{value:"BooleanFilter",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().outputOnly,"inputTrue",new(o().SFBool)),new(l())(d().outputOnly,"inputFalse",new(o().SFBool)),new(l())(d().outputOnly,"inputNegate",new(o().SFBool))]),enumerable:!0}});const m=h;g().add("BooleanFilter","x_ite/Components/EventUtilities/BooleanFilter",m);const y=m,b=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Algorithm");var w=e.n(b);function f(e){p().call(this,e),this.addType(d().X3DSequencerNode),this.index=-1}Object.assign(Object.setPrototypeOf(f.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_fraction.addInterest("set_fraction__",this),this._previous.addInterest("set_previous__",this),this._next.addInterest("set_next__",this),this._key.addInterest("set_index__",this)},set_fraction__(){const e=this._set_fraction.getValue(),t=this._key,n=t.length;if(0===n)return;let i=0;if(1===n||e<=t[0])i=0;else if(e>=t[n-1])i=this.getSize()-1;else{i=w().upperBound(t,0,n,e)-1}i!==this.index&&i<this.getSize()&&this.sequence(this.index=i)},set_previous__(){this._previous.getValue()&&(this.index<=0?this.index=this.getSize()-1:--this.index,this.index<this.getSize()&&this.sequence(this.index))},set_next__(){this._next.getValue()&&(this.index>=this.getSize()-1?this.index=0:++this.index,this.index<this.getSize()&&this.sequence(this.index))},set_index__(){this.index=-1}}),Object.defineProperties(f,{typeName:{value:"X3DSequencerNode",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0}});const v=f;g().add("X3DSequencerNode","x_ite/Components/EventUtilities/X3DSequencerNode",v);const O=v;function S(e){O.call(this,e),this.addType(d().BooleanSequencer)}Object.assign(Object.setPrototypeOf(S.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._keyValue.addInterest("set_index__",this)},getSize(){return this._keyValue.length},sequence(e){this._value_changed=this._keyValue[e]}}),Object.defineProperties(S,{typeName:{value:"BooleanSequencer",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_fraction",new(o().SFFloat)),new(l())(d().inputOnly,"previous",new(o().SFBool)),new(l())(d().inputOnly,"next",new(o().SFBool)),new(l())(d().inputOutput,"key",new(o().MFFloat)),new(l())(d().inputOutput,"keyValue",new(o().MFBool)),new(l())(d().outputOnly,"value_changed",new(o().SFBool))]),enumerable:!0}});const T=S;g().add("BooleanSequencer","x_ite/Components/EventUtilities/BooleanSequencer",T);const F=T;function x(e){p().call(this,e),this.addType(d().BooleanToggle)}Object.assign(Object.setPrototypeOf(x.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._set_boolean.getValue()&&(this._toggle=!this._toggle.getValue())}}),Object.defineProperties(x,{typeName:{value:"BooleanToggle",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().inputOutput,"toggle",new(o().SFBool))]),enumerable:!0}});const N=x;g().add("BooleanToggle","x_ite/Components/EventUtilities/BooleanToggle",N);const I=N;function B(e){p().call(this,e),this.addType(d().X3DTriggerNode)}Object.setPrototypeOf(B.prototype,p().prototype),Object.defineProperties(B,{typeName:{value:"X3DTriggerNode",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0}});const j=B;g().add("X3DTriggerNode","x_ite/Components/EventUtilities/X3DTriggerNode",j);const z=j;function E(e){z.call(this,e),this.addType(d().BooleanTrigger)}Object.assign(Object.setPrototypeOf(E.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_triggerTime.addInterest("set_triggerTime__",this)},set_triggerTime__(){this._triggerTrue=!0}}),Object.defineProperties(E,{typeName:{value:"BooleanTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_triggerTime",new(o().SFTime)),new(l())(d().outputOnly,"triggerTrue",new(o().SFBool))]),enumerable:!0}});const D=E;g().add("BooleanTrigger","x_ite/Components/EventUtilities/BooleanTrigger",D);const X=D;function q(e){O.call(this,e),this.addType(d().IntegerSequencer)}Object.assign(Object.setPrototypeOf(q.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._keyValue.addInterest("set_index__",this)},getSize(){return this._keyValue.length},sequence(e){this._value_changed=this._keyValue[e]}}),Object.defineProperties(q,{typeName:{value:"IntegerSequencer",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_fraction",new(o().SFFloat)),new(l())(d().inputOnly,"previous",new(o().SFBool)),new(l())(d().inputOnly,"next",new(o().SFBool)),new(l())(d().inputOutput,"key",new(o().MFFloat)),new(l())(d().inputOutput,"keyValue",new(o().MFInt32)),new(l())(d().outputOnly,"value_changed",new(o().SFInt32))]),enumerable:!0}});const U=q;g().add("IntegerSequencer","x_ite/Components/EventUtilities/IntegerSequencer",U);const P=U;function V(e){z.call(this,e),this.addType(d().IntegerTrigger)}Object.assign(Object.setPrototypeOf(V.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._triggerValue=this._integerKey}}),Object.defineProperties(V,{typeName:{value:"IntegerTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().inputOutput,"integerKey",new(o().SFInt32)(-1)),new(l())(d().outputOnly,"triggerValue",new(o().SFInt32))]),enumerable:!0}});const C=V;g().add("IntegerTrigger","x_ite/Components/EventUtilities/IntegerTrigger",C);const k=C;function R(e){z.call(this,e),this.addType(d().TimeTrigger)}Object.assign(Object.setPrototypeOf(R.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._triggerTime=this.getBrowser().getCurrentTime()}}),Object.defineProperties(R,{typeName:{value:"TimeTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().outputOnly,"triggerTime",new(o().SFTime))]),enumerable:!0}});const M=R;g().add("TimeTrigger","x_ite/Components/EventUtilities/TimeTrigger",M);const A=M;n().add({name:"EventUtilities",concreteNodes:[y,F,I,X,P,k,A],abstractNodes:[O,z]});const K=void 0;g().add("EventUtilities","assets/components/EventUtilities",K)})();
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.11.16 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.12.0 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,19 +39,19 @@ 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.11.16")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .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/Base/X3DBaseNode\")"
45
- const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/X3DBaseNode");
45
+ const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/X3DBaseNode");
46
46
  var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
47
47
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
48
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/X3DConstants");
48
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/X3DConstants");
49
49
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
50
50
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
51
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Fields");
51
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Fields");
52
52
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
53
53
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
54
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Namespace");
54
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Namespace");
55
55
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
56
56
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Arc2DOptions.js
57
57
  /*******************************************************************************
@@ -126,7 +126,7 @@ Object .defineProperties (Arc2DOptions,
126
126
  const __default__ = Arc2DOptions;
127
127
  ;
128
128
 
129
- Namespace_default().set ("x_ite/Browser/Geometry2D/Arc2DOptions", __default__);
129
+ Namespace_default().add ("Arc2DOptions", "x_ite/Browser/Geometry2D/Arc2DOptions", __default__);
130
130
  /* harmony default export */ const Geometry2D_Arc2DOptions = (__default__);
131
131
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/ArcClose2DOptions.js
132
132
  /*******************************************************************************
@@ -201,10 +201,10 @@ Object .defineProperties (ArcClose2DOptions,
201
201
  const ArcClose2DOptions_default_ = ArcClose2DOptions;
202
202
  ;
203
203
 
204
- Namespace_default().set ("x_ite/Browser/Geometry2D/ArcClose2DOptions", ArcClose2DOptions_default_);
204
+ Namespace_default().add ("ArcClose2DOptions", "x_ite/Browser/Geometry2D/ArcClose2DOptions", ArcClose2DOptions_default_);
205
205
  /* harmony default export */ const Geometry2D_ArcClose2DOptions = (ArcClose2DOptions_default_);
206
206
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Complex\")"
207
- const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Complex");
207
+ const Complex_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Complex");
208
208
  var Complex_default = /*#__PURE__*/__webpack_require__.n(Complex_namespaceObject);
209
209
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Circle2DOptions.js
210
210
  /*******************************************************************************
@@ -315,7 +315,7 @@ Object .defineProperties (Circle2DOptions,
315
315
  const Circle2DOptions_default_ = Circle2DOptions;
316
316
  ;
317
317
 
318
- Namespace_default().set ("x_ite/Browser/Geometry2D/Circle2DOptions", Circle2DOptions_default_);
318
+ Namespace_default().add ("Circle2DOptions", "x_ite/Browser/Geometry2D/Circle2DOptions", Circle2DOptions_default_);
319
319
  /* harmony default export */ const Geometry2D_Circle2DOptions = (Circle2DOptions_default_);
320
320
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Disk2DOptions.js
321
321
  /*******************************************************************************
@@ -479,16 +479,16 @@ Object .defineProperties (Disk2DOptions,
479
479
  const Disk2DOptions_default_ = Disk2DOptions;
480
480
  ;
481
481
 
482
- Namespace_default().set ("x_ite/Browser/Geometry2D/Disk2DOptions", Disk2DOptions_default_);
482
+ Namespace_default().add ("Disk2DOptions", "x_ite/Browser/Geometry2D/Disk2DOptions", Disk2DOptions_default_);
483
483
  /* harmony default export */ const Geometry2D_Disk2DOptions = (Disk2DOptions_default_);
484
484
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/IndexedFaceSet\")"
485
- const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
485
+ const IndexedFaceSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Geometry3D/IndexedFaceSet");
486
486
  var IndexedFaceSet_default = /*#__PURE__*/__webpack_require__.n(IndexedFaceSet_namespaceObject);
487
487
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/Coordinate\")"
488
- const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Rendering/Coordinate");
488
+ const Coordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Rendering/Coordinate");
489
489
  var Coordinate_default = /*#__PURE__*/__webpack_require__.n(Coordinate_namespaceObject);
490
490
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/TextureCoordinate\")"
491
- const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Texturing/TextureCoordinate");
491
+ const TextureCoordinate_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Texturing/TextureCoordinate");
492
492
  var TextureCoordinate_default = /*#__PURE__*/__webpack_require__.n(TextureCoordinate_namespaceObject);
493
493
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js
494
494
  /*******************************************************************************
@@ -605,10 +605,10 @@ Object .defineProperties (Rectangle2DOptions,
605
605
  const Rectangle2DOptions_default_ = Rectangle2DOptions;
606
606
  ;
607
607
 
608
- Namespace_default().set ("x_ite/Browser/Geometry2D/Rectangle2DOptions", Rectangle2DOptions_default_);
608
+ Namespace_default().add ("Rectangle2DOptions", "x_ite/Browser/Geometry2D/Rectangle2DOptions", Rectangle2DOptions_default_);
609
609
  /* harmony default export */ const Geometry2D_Rectangle2DOptions = (Rectangle2DOptions_default_);
610
610
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Core/PrimitiveQuality\")"
611
- const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Browser/Core/PrimitiveQuality");
611
+ const PrimitiveQuality_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Browser/Core/PrimitiveQuality");
612
612
  var PrimitiveQuality_default = /*#__PURE__*/__webpack_require__.n(PrimitiveQuality_namespaceObject);
613
613
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js
614
614
  /*******************************************************************************
@@ -747,19 +747,19 @@ function getOptionNode (key, OptionNode)
747
747
  const X3DGeometry2DContext_default_ = X3DGeometry2DContext;
748
748
  ;
749
749
 
750
- Namespace_default().set ("x_ite/Browser/Geometry2D/X3DGeometry2DContext", X3DGeometry2DContext_default_);
750
+ Namespace_default().add ("X3DGeometry2DContext", "x_ite/Browser/Geometry2D/X3DGeometry2DContext", X3DGeometry2DContext_default_);
751
751
  /* harmony default export */ const Geometry2D_X3DGeometry2DContext = (X3DGeometry2DContext_default_);
752
752
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
753
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/X3DFieldDefinition");
753
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/X3DFieldDefinition");
754
754
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
755
755
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
756
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/FieldDefinitionArray");
756
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/FieldDefinitionArray");
757
757
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
758
758
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
759
- const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
759
+ const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
760
760
  var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
761
761
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
762
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Algorithm");
762
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Algorithm");
763
763
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
764
764
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Arc2D.js
765
765
  /*******************************************************************************
@@ -926,10 +926,10 @@ Object .defineProperties (Arc2D,
926
926
  const Arc2D_default_ = Arc2D;
927
927
  ;
928
928
 
929
- Namespace_default().set ("x_ite/Components/Geometry2D/Arc2D", Arc2D_default_);
929
+ Namespace_default().add ("Arc2D", "x_ite/Components/Geometry2D/Arc2D", Arc2D_default_);
930
930
  /* harmony default export */ const Geometry2D_Arc2D = (Arc2D_default_);
931
931
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
932
- const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
932
+ const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
933
933
  var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
934
934
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/ArcClose2D.js
935
935
  /*******************************************************************************
@@ -1161,7 +1161,7 @@ Object .defineProperties (ArcClose2D,
1161
1161
  const ArcClose2D_default_ = ArcClose2D;
1162
1162
  ;
1163
1163
 
1164
- Namespace_default().set ("x_ite/Components/Geometry2D/ArcClose2D", ArcClose2D_default_);
1164
+ Namespace_default().add ("ArcClose2D", "x_ite/Components/Geometry2D/ArcClose2D", ArcClose2D_default_);
1165
1165
  /* harmony default export */ const Geometry2D_ArcClose2D = (ArcClose2D_default_);
1166
1166
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Circle2D.js
1167
1167
  /*******************************************************************************
@@ -1296,10 +1296,10 @@ Object .defineProperties (Circle2D,
1296
1296
  const Circle2D_default_ = Circle2D;
1297
1297
  ;
1298
1298
 
1299
- Namespace_default().set ("x_ite/Components/Geometry2D/Circle2D", Circle2D_default_);
1299
+ Namespace_default().add ("Circle2D", "x_ite/Components/Geometry2D/Circle2D", Circle2D_default_);
1300
1300
  /* harmony default export */ const Geometry2D_Circle2D = (Circle2D_default_);
1301
1301
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DPointGeometryNode\")"
1302
- const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Rendering/X3DPointGeometryNode");
1302
+ const X3DPointGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Rendering/X3DPointGeometryNode");
1303
1303
  var X3DPointGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DPointGeometryNode_namespaceObject);
1304
1304
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Disk2D.js
1305
1305
  /*******************************************************************************
@@ -1561,7 +1561,7 @@ Object .defineProperties (Disk2D,
1561
1561
  const Disk2D_default_ = Disk2D;
1562
1562
  ;
1563
1563
 
1564
- Namespace_default().set ("x_ite/Components/Geometry2D/Disk2D", Disk2D_default_);
1564
+ Namespace_default().add ("Disk2D", "x_ite/Components/Geometry2D/Disk2D", Disk2D_default_);
1565
1565
  /* harmony default export */ const Geometry2D_Disk2D = (Disk2D_default_);
1566
1566
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Polyline2D.js
1567
1567
  /*******************************************************************************
@@ -1677,7 +1677,7 @@ Object .defineProperties (Polyline2D,
1677
1677
  const Polyline2D_default_ = Polyline2D;
1678
1678
  ;
1679
1679
 
1680
- Namespace_default().set ("x_ite/Components/Geometry2D/Polyline2D", Polyline2D_default_);
1680
+ Namespace_default().add ("Polyline2D", "x_ite/Components/Geometry2D/Polyline2D", Polyline2D_default_);
1681
1681
  /* harmony default export */ const Geometry2D_Polyline2D = (Polyline2D_default_);
1682
1682
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Polypoint2D.js
1683
1683
  /*******************************************************************************
@@ -1792,13 +1792,13 @@ Object .defineProperties (Polypoint2D,
1792
1792
  const Polypoint2D_default_ = Polypoint2D;
1793
1793
  ;
1794
1794
 
1795
- Namespace_default().set ("x_ite/Components/Geometry2D/Polypoint2D", Polypoint2D_default_);
1795
+ Namespace_default().add ("Polypoint2D", "x_ite/Components/Geometry2D/Polypoint2D", Polypoint2D_default_);
1796
1796
  /* harmony default export */ const Geometry2D_Polypoint2D = (Polypoint2D_default_);
1797
1797
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
1798
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Vector2");
1798
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Vector2");
1799
1799
  var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
1800
1800
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
1801
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Vector3");
1801
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Vector3");
1802
1802
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/Rectangle2D.js
1803
1803
  /*******************************************************************************
1804
1804
  *
@@ -1950,7 +1950,7 @@ Object .defineProperties (Rectangle2D,
1950
1950
  const Rectangle2D_default_ = Rectangle2D;
1951
1951
  ;
1952
1952
 
1953
- Namespace_default().set ("x_ite/Components/Geometry2D/Rectangle2D", Rectangle2D_default_);
1953
+ Namespace_default().add ("Rectangle2D", "x_ite/Components/Geometry2D/Rectangle2D", Rectangle2D_default_);
1954
1954
  /* harmony default export */ const Geometry2D_Rectangle2D = (Rectangle2D_default_);
1955
1955
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geometry2D/TriangleSet2D.js
1956
1956
  /*******************************************************************************
@@ -2097,7 +2097,7 @@ Object .defineProperties (TriangleSet2D,
2097
2097
  const TriangleSet2D_default_ = TriangleSet2D;
2098
2098
  ;
2099
2099
 
2100
- Namespace_default().set ("x_ite/Components/Geometry2D/TriangleSet2D", TriangleSet2D_default_);
2100
+ Namespace_default().add ("TriangleSet2D", "x_ite/Components/Geometry2D/TriangleSet2D", TriangleSet2D_default_);
2101
2101
  /* harmony default export */ const Geometry2D_TriangleSet2D = (TriangleSet2D_default_);
2102
2102
  ;// CONCATENATED MODULE: ./src/assets/components/Geometry2D.js
2103
2103
  /*******************************************************************************
@@ -2180,7 +2180,7 @@ Components_default().add ({
2180
2180
  const Geometry2D_default_ = undefined;
2181
2181
  ;
2182
2182
 
2183
- Namespace_default().set ("assets/components/Geometry2D", Geometry2D_default_);
2183
+ Namespace_default().add ("Geometry2D", "assets/components/Geometry2D", Geometry2D_default_);
2184
2184
  /* harmony default export */ const Geometry2D = ((/* unused pure expression or super */ null && (Geometry2D_default_)));
2185
2185
  /******/ })()
2186
2186
  ;
@@ -1 +1 @@
1
- /* X_ITE v8.11.16 */(()=>{"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-8.11.16")].require("x_ite/Components");var i=e.n(t);const s=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/X3DBaseNode");var n=e.n(s);const o=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/X3DConstants");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Fields");var l=e.n(a);const u=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Namespace");var c=e.n(u);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;c().set("x_ite/Browser/Geometry2D/Arc2DOptions",p);const g=p;function d(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40))}Object.setPrototypeOf(d.prototype,n().prototype),Object.defineProperties(d,{typeName:{value:"ArcClose2DOptions",enumerable:!0}});const m=d;c().set("x_ite/Browser/Geometry2D/ArcClose2DOptions",m);const y=m,b=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Numbers/Complex");var w=e.n(b);function f(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.vertices=new(l().MFFloat)}Object.assign(Object.setPrototypeOf(f.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=w().Polar(1,t*s),n=w().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(f,{typeName:{value:"Circle2DOptions",enumerable:!0}});const D=f;c().set("x_ite/Browser/Geometry2D/Circle2DOptions",D);const O=D;function _(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.circleVertices=new(l().MFFloat),this.diskTexCoords=new(l().MFFloat),this.diskNormals=new(l().MFFloat),this.diskVertices=new(l().MFFloat)}Object.assign(Object.setPrototypeOf(_.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(w())(.5,.5),t=new(w())(0,0),i=new(w())(0,0),s=new(w())(0,0),n=new(w())(0,0);return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,u=this.diskNormals,c=this.diskVertices;a.length=0,l.length=0,u.length=0,c.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),u.push(0,0,1,0,0,1,0,0,1),c.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),u.shrinkToFit(),c.shrinkToFit()}})()}),Object.defineProperties(_,{typeName:{value:"Disk2DOptions",enumerable:!0}});const v=_;c().set("x_ite/Browser/Geometry2D/Disk2DOptions",v);const V=v,S=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var F=e.n(S);const x=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components/Rendering/Coordinate");var M=e.n(x);const C=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components/Texturing/TextureCoordinate");var P=e.n(C);function T(e){n().call(this,e)}Object.assign(Object.setPrototypeOf(T.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this)},getGeometry(){if(this.geometry)return this.geometry;this.geometry=new(F())(this.getExecutionContext()),this.geometry._texCoord=new(P())(this.getExecutionContext()),this.geometry._coord=new(M())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return e._texCoordIndex=new(l().MFInt32)(0,1,2,3,-1),e._coordIndex=new(l().MFInt32)(0,1,2,3,-1),t._point=new(l().MFVec2f)(new(l().SFVec2f)(1,1),new(l().SFVec2f)(0,1),new(l().SFVec2f)(0,0),new(l().SFVec2f)(1,0)),i._point=new(l().MFVec3f)(new(l().SFVec3f)(1,1,0),new(l().SFVec3f)(-1,1,0),new(l().SFVec3f)(-1,-1,0),new(l().SFVec3f)(1,-1,0)),t.setup(),i.setup(),e.setup(),this.geometry}}),Object.defineProperties(T,{typeName:{value:"Rectangle2DOptions",enumerable:!0}});const I=T;c().set("x_ite/Browser/Geometry2D/Rectangle2DOptions",I);const N=I,j=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Browser/Core/PrimitiveQuality");var A=e.n(j);function X(){}function G(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(X.prototype,{initialize(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions(){return G.call(this,"getArc2DOptions",g)},getArcClose2DOptions(){return G.call(this,"getArcClose2DOptions",y)},getCircle2DOptions(){return G.call(this,"getCircle2DOptions",O)},getDisk2DOptions(){return G.call(this,"getDisk2DOptions",V)},getRectangle2DOptions(){return G.call(this,"getRectangle2DOptions",N)},setPrimitiveQuality2D(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),s=this.getCircle2DOptions(),n=this.getDisk2DOptions();switch(e){case A().LOW:t._dimension=20,i._dimension=20,s._dimension=20,n._dimension=20;break;case A().MEDIUM:t._dimension=40,i._dimension=40,s._dimension=40,n._dimension=40;break;case A().HIGH:t._dimension=80,i._dimension=80,s._dimension=80,n._dimension=80}}});const R=X;c().set("x_ite/Browser/Geometry2D/X3DGeometry2DContext",R);const k=R,B=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/X3DFieldDefinition");var z=e.n(B);const q=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/FieldDefinitionArray");var E=e.n(q);const U=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Algorithm");var H=e.n(Q);function W(e){L().call(this,e),this.addType(r().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(W.prototype,L().prototype),{set_live__(){L().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=H().interval(this._startAngle.getValue(),0,2*Math.PI),t=H().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=w().Polar(i,r),l=t+s*((e+1)/n),u=w().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(u.real,u.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(W,{typeName:{value:"Arc2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(z())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.5708)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const J=W;c().set("x_ite/Components/Geometry2D/Arc2D",J);const K=J,Y=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components/Rendering/X3DGeometryNode");var Z=e.n(Y);function $(e){Z().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,Z().prototype),{set_live__(){Z().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=H().interval(this._startAngle.getValue(),0,2*Math.PI),t=H().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(w())(.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(),u=this.getNormals(),c=this.getVertices(),h=[],p=[];this.getMultiTexCoords().push(l);const g=a-1;for(let t=0;t<a;++t){const i=n+r*(t/g);h.push(w().Polar(.5,i).add(e)),p.push(w().Polar(o,i))}if(i){const e=h[0],t=p[0];for(let i=1;i<g;++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),u.push(0,0,1,0,0,1,0,0,1),c.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<g;++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),u.push(0,0,1,0,0,1,0,0,1),c.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},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"closureType",new(l().SFString)("PIE")),new(z())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(z())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.5708)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const ee=$;c().set("x_ite/Components/Geometry2D/ArcClose2D",ee);const te=ee;function ie(e){L().call(this,e),this.addType(r().Circle2D),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(ie.prototype,L().prototype),{set_live__(){L().prototype.set_live__.call(this),this.getLive().getValue()?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},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const se=ie;c().set("x_ite/Components/Geometry2D/Circle2D",se);const ne=se,oe=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var re=e.n(oe);function ae(e){L().call(this,e),this.addType(r().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Object.assign(Object.setPrototypeOf(ae.prototype,Z().prototype),{initialize(){Z().prototype.initialize.call(this)},set_live__(){Z().prototype.set_live__.call(this),this.getLive().getValue()?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(L())}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(Z())}const o=s/n,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),u=this.getTexCoords(),c=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(u);for(let e=0,t=l.length;e<t;e+=12)u.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),c.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(Z())},setBase(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(){}}),Object.defineProperties(ae,{typeName:{value:"Disk2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"innerRadius",new(l().SFFloat)),new(z())(r().initializeOnly,"outerRadius",new(l().SFFloat)(1)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const le=ae;c().set("x_ite/Components/Geometry2D/Disk2D",le);const ue=le;function ce(e){L().call(this,e),this.addType(r().Polyline2D),this._lineSegments.setUnit("length")}Object.assign(Object.setPrototypeOf(ce.prototype,L().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(ce,{typeName:{value:"Polyline2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"lineSegments",new(l().MFVec2f))]),enumerable:!0}});const he=ce;c().set("x_ite/Components/Geometry2D/Polyline2D",he);const pe=he;function ge(e){re().call(this,e),this.addType(r().Polypoint2D),this._point.setUnit("length")}Object.assign(Object.setPrototypeOf(ge.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(ge,{typeName:{value:"Polypoint2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().inputOutput,"point",new(l().MFVec2f))]),enumerable:!0}});const de=ge;c().set("x_ite/Components/Geometry2D/Polypoint2D",de);const me=de,ye=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Numbers/Vector2");var be=e.n(ye);window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Numbers/Vector3");function we(e){Z().call(this,e),this.addType(r().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}Object.assign(Object.setPrototypeOf(we.prototype,Z().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(we,{typeName:{value:"Rectangle2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"size",new(l().SFVec2f)(2,2)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const fe=we;c().set("x_ite/Components/Geometry2D/Rectangle2D",fe);const De=fe;function Oe(e){Z().call(this,e),this.addType(r().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}Object.assign(Object.setPrototypeOf(Oe.prototype,Z().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(Oe,{typeName:{value:"TriangleSet2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().inputOutput,"vertices",new(l().MFVec2f)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const _e=Oe;c().set("x_ite/Components/Geometry2D/TriangleSet2D",_e);const ve=_e;i().add({name:"Geometry2D",concreteNodes:[K,te,ne,ue,pe,me,De,ve],abstractNodes:[],browserContext:k});const Ve=void 0;c().set("assets/components/Geometry2D",Ve)})();
1
+ /* X_ITE v8.12.0 */(()=>{"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-8.12.0")].require("x_ite/Components");var i=e.n(t);const s=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/X3DBaseNode");var n=e.n(s);const o=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/X3DConstants");var r=e.n(o);const a=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Fields");var l=e.n(a);const u=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Namespace");var c=e.n(u);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;c().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;c().add("ArcClose2DOptions","x_ite/Browser/Geometry2D/ArcClose2DOptions",m);const y=m,D=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Numbers/Complex");var b=e.n(D);function w(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.vertices=new(l().MFFloat)}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=b().Polar(1,t*s),n=b().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 f=w;c().add("Circle2DOptions","x_ite/Browser/Geometry2D/Circle2DOptions",f);const O=f;function _(e){n().call(this,e),this.addChildObjects(r().inputOutput,"dimension",new(l().SFInt32)(40)),this.circleVertices=new(l().MFFloat),this.diskTexCoords=new(l().MFFloat),this.diskNormals=new(l().MFFloat),this.diskVertices=new(l().MFFloat)}Object.assign(Object.setPrototypeOf(_.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(b())(.5,.5),t=new(b())(0,0),i=new(b())(0,0),s=new(b())(0,0),n=new(b())(0,0);return function(){const o=this._dimension.getValue(),r=2*Math.PI/o,a=this.circleVertices,l=this.diskTexCoords,u=this.diskNormals,c=this.diskVertices;a.length=0,l.length=0,u.length=0,c.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),u.push(0,0,1,0,0,1,0,0,1),c.push(0,0,0,1,s.real,s.imag,0,1,n.real,n.imag,0,1)}a.shrinkToFit(),l.shrinkToFit(),u.shrinkToFit(),c.shrinkToFit()}})()}),Object.defineProperties(_,{typeName:{value:"Disk2DOptions",enumerable:!0}});const v=_;c().add("Disk2DOptions","x_ite/Browser/Geometry2D/Disk2DOptions",v);const V=v,S=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components/Geometry3D/IndexedFaceSet");var C=e.n(S);const x=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components/Rendering/Coordinate");var F=e.n(x);const M=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components/Texturing/TextureCoordinate");var P=e.n(M);function T(e){n().call(this,e)}Object.assign(Object.setPrototypeOf(T.prototype,n().prototype),{initialize(){n().prototype.initialize.call(this)},getGeometry(){if(this.geometry)return this.geometry;this.geometry=new(C())(this.getExecutionContext()),this.geometry._texCoord=new(P())(this.getExecutionContext()),this.geometry._coord=new(F())(this.getExecutionContext());const e=this.geometry,t=this.geometry._texCoord.getValue(),i=this.geometry._coord.getValue();return e._texCoordIndex=new(l().MFInt32)(0,1,2,3,-1),e._coordIndex=new(l().MFInt32)(0,1,2,3,-1),t._point=new(l().MFVec2f)(new(l().SFVec2f)(1,1),new(l().SFVec2f)(0,1),new(l().SFVec2f)(0,0),new(l().SFVec2f)(1,0)),i._point=new(l().MFVec3f)(new(l().SFVec3f)(1,1,0),new(l().SFVec3f)(-1,1,0),new(l().SFVec3f)(-1,-1,0),new(l().SFVec3f)(1,-1,0)),t.setup(),i.setup(),e.setup(),this.geometry}}),Object.defineProperties(T,{typeName:{value:"Rectangle2DOptions",enumerable:!0}});const I=T;c().add("Rectangle2DOptions","x_ite/Browser/Geometry2D/Rectangle2DOptions",I);const N=I,j=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Browser/Core/PrimitiveQuality");var A=e.n(j);function X(){}function G(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(X.prototype,{initialize(){this.setPrimitiveQuality2D(this.getBrowserOptions().getPrimitiveQuality())},getArc2DOptions(){return G.call(this,"getArc2DOptions",d)},getArcClose2DOptions(){return G.call(this,"getArcClose2DOptions",y)},getCircle2DOptions(){return G.call(this,"getCircle2DOptions",O)},getDisk2DOptions(){return G.call(this,"getDisk2DOptions",V)},getRectangle2DOptions(){return G.call(this,"getRectangle2DOptions",N)},setPrimitiveQuality2D(e){const t=this.getArc2DOptions(),i=this.getArcClose2DOptions(),s=this.getCircle2DOptions(),n=this.getDisk2DOptions();switch(e){case A().LOW:t._dimension=20,i._dimension=20,s._dimension=20,n._dimension=20;break;case A().MEDIUM:t._dimension=40,i._dimension=40,s._dimension=40,n._dimension=40;break;case A().HIGH:t._dimension=80,i._dimension=80,s._dimension=80,n._dimension=80}}});const R=X;c().add("X3DGeometry2DContext","x_ite/Browser/Geometry2D/X3DGeometry2DContext",R);const k=R,B=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/X3DFieldDefinition");var z=e.n(B);const q=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/FieldDefinitionArray");var E=e.n(q);const U=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components/Rendering/X3DLineGeometryNode");var L=e.n(U);const Q=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Algorithm");var H=e.n(Q);function W(e){L().call(this,e),this.addType(r().Arc2D),this._startAngle.setUnit("angle"),this._endAngle.setUnit("angle"),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(W.prototype,L().prototype),{set_live__(){L().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getArc2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArc2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=H().interval(this._startAngle.getValue(),0,2*Math.PI),t=H().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=b().Polar(i,r),l=t+s*((e+1)/n),u=b().Polar(i,l);o.push(a.real,a.imag,0,1),o.push(u.real,u.imag,0,1)}this.getMin().set(-i,-i,0),this.getMax().set(i,i,0)}}),Object.defineProperties(W,{typeName:{value:"Arc2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(z())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.5708)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const J=W;c().add("Arc2D","x_ite/Components/Geometry2D/Arc2D",J);const K=J,Y=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components/Rendering/X3DGeometryNode");var Z=e.n(Y);function $(e){Z().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,Z().prototype),{set_live__(){Z().prototype.set_live__.call(this),this.getLive().getValue()?this.getBrowser().getArcClose2DOptions().addInterest("requestRebuild",this):this.getBrowser().getArcClose2DOptions().removeInterest("requestRebuild",this)},getSweepAngle(){const e=H().interval(this._startAngle.getValue(),0,2*Math.PI),t=H().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(b())(.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(),u=this.getNormals(),c=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(b().Polar(.5,i).add(e)),p.push(b().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),u.push(0,0,1,0,0,1,0,0,1),c.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),u.push(0,0,1,0,0,1,0,0,1),c.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},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"closureType",new(l().SFString)("PIE")),new(z())(r().initializeOnly,"startAngle",new(l().SFFloat)),new(z())(r().initializeOnly,"endAngle",new(l().SFFloat)(1.5708)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const ee=$;c().add("ArcClose2D","x_ite/Components/Geometry2D/ArcClose2D",ee);const te=ee;function ie(e){L().call(this,e),this.addType(r().Circle2D),this._radius.setUnit("length")}Object.assign(Object.setPrototypeOf(ie.prototype,L().prototype),{set_live__(){L().prototype.set_live__.call(this),this.getLive().getValue()?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},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"radius",new(l().SFFloat)(1))]),enumerable:!0}});const se=ie;c().add("Circle2D","x_ite/Components/Geometry2D/Circle2D",se);const ne=se,oe=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components/Rendering/X3DPointGeometryNode");var re=e.n(oe);function ae(e){L().call(this,e),this.addType(r().Disk2D),this._innerRadius.setUnit("length"),this._outerRadius.setUnit("length")}Object.assign(Object.setPrototypeOf(ae.prototype,Z().prototype),{initialize(){Z().prototype.initialize.call(this)},set_live__(){Z().prototype.set_live__.call(this),this.getLive().getValue()?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(L())}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(Z())}const o=s/n,r=(1-o)/2,a=i.getDiskTexCoords().getValue(),l=i.getDiskVertices().getValue(),u=this.getTexCoords(),c=this.getNormals(),h=this.getVertices();this.getMultiTexCoords().push(u);for(let e=0,t=l.length;e<t;e+=12)u.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),c.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(Z())},setBase(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(){}}),Object.defineProperties(ae,{typeName:{value:"Disk2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"innerRadius",new(l().SFFloat)),new(z())(r().initializeOnly,"outerRadius",new(l().SFFloat)(1)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const le=ae;c().add("Disk2D","x_ite/Components/Geometry2D/Disk2D",le);const ue=le;function ce(e){L().call(this,e),this.addType(r().Polyline2D),this._lineSegments.setUnit("length")}Object.assign(Object.setPrototypeOf(ce.prototype,L().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(ce,{typeName:{value:"Polyline2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"lineSegments",new(l().MFVec2f))]),enumerable:!0}});const he=ce;c().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},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().inputOutput,"point",new(l().MFVec2f))]),enumerable:!0}});const ge=de;c().add("Polypoint2D","x_ite/Components/Geometry2D/Polypoint2D",ge);const me=ge,ye=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Numbers/Vector2");var De=e.n(ye);window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Numbers/Vector3");function be(e){Z().call(this,e),this.addType(r().Rectangle2D),this.setGeometryType(2),this._size.setUnit("length")}Object.assign(Object.setPrototypeOf(be.prototype,Z().prototype),{build:(()=>{const e=new(De())(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(be,{typeName:{value:"Rectangle2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().initializeOnly,"size",new(l().SFVec2f)(2,2)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const we=be;c().add("Rectangle2D","x_ite/Components/Geometry2D/Rectangle2D",we);const fe=we;function Oe(e){Z().call(this,e),this.addType(r().TriangleSet2D),this.setGeometryType(2),this._vertices.setUnit("length")}Object.assign(Object.setPrototypeOf(Oe.prototype,Z().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(Oe,{typeName:{value:"TriangleSet2D",enumerable:!0},componentName:{value:"Geometry2D",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(E())([new(z())(r().inputOutput,"metadata",new(l().SFNode)),new(z())(r().inputOutput,"vertices",new(l().MFVec2f)),new(z())(r().initializeOnly,"solid",new(l().SFBool))]),enumerable:!0}});const _e=Oe;c().add("TriangleSet2D","x_ite/Components/Geometry2D/TriangleSet2D",_e);const ve=_e;i().add({name:"Geometry2D",concreteNodes:[K,te,ne,ue,pe,me,fe,ve],abstractNodes:[],browserContext:k});const Ve=void 0;c().add("Geometry2D","assets/components/Geometry2D",Ve)})();