x_ite 8.7.9 → 8.8.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 (644) hide show
  1. package/Makefile +3 -0
  2. package/build/bin/version.pl +1 -1
  3. package/dist/assets/components/Annotation.js +248 -169
  4. package/dist/assets/components/Annotation.min.js +1 -1
  5. package/dist/assets/components/CADGeometry.js +296 -233
  6. package/dist/assets/components/CADGeometry.min.js +1 -1
  7. package/dist/assets/components/CubeMapTexturing.js +217 -172
  8. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  9. package/dist/assets/components/DIS.js +451 -387
  10. package/dist/assets/components/DIS.min.js +1 -1
  11. package/dist/assets/components/EventUtilities.js +309 -208
  12. package/dist/assets/components/EventUtilities.min.js +1 -1
  13. package/dist/assets/components/Geometry2D.js +397 -333
  14. package/dist/assets/components/Geometry2D.min.js +1 -1
  15. package/dist/assets/components/Geospatial.js +705 -575
  16. package/dist/assets/components/Geospatial.min.js +1 -1
  17. package/dist/assets/components/HAnim.js +319 -259
  18. package/dist/assets/components/HAnim.min.js +1 -1
  19. package/dist/assets/components/KeyDeviceSensor.js +134 -99
  20. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  21. package/dist/assets/components/Layout.js +305 -240
  22. package/dist/assets/components/Layout.min.js +1 -1
  23. package/dist/assets/components/NURBS.js +781 -620
  24. package/dist/assets/components/NURBS.min.js +1 -1
  25. package/dist/assets/components/ParticleSystems.js +632 -460
  26. package/dist/assets/components/ParticleSystems.min.js +1 -1
  27. package/dist/assets/components/Picking.js +376 -295
  28. package/dist/assets/components/Picking.min.js +1 -1
  29. package/dist/assets/components/RigidBodyPhysics.js +936 -749
  30. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  31. package/dist/assets/components/Scripting.js +166 -96
  32. package/dist/assets/components/Scripting.min.js +1 -1
  33. package/dist/assets/components/Text.js +241 -207
  34. package/dist/assets/components/Text.min.js +1 -1
  35. package/dist/assets/components/TextureProjector.js +162 -129
  36. package/dist/assets/components/TextureProjector.min.js +1 -1
  37. package/dist/assets/components/Texturing3D.js +485 -384
  38. package/dist/assets/components/Texturing3D.min.js +1 -1
  39. package/dist/assets/components/VolumeRendering.js +741 -547
  40. package/dist/assets/components/VolumeRendering.min.js +1 -1
  41. package/dist/assets/components/X_ITE.js +66 -54
  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 +61526 -59688
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.zip +0 -0
  47. package/docs/_config.yml +2 -2
  48. package/package.json +4 -4
  49. package/src/assets/components/Annotation.js +14 -14
  50. package/src/assets/components/CADGeometry.js +14 -14
  51. package/src/assets/components/CubeMapTexturing.js +11 -11
  52. package/src/assets/components/DIS.js +13 -13
  53. package/src/assets/components/EventUtilities.js +16 -16
  54. package/src/assets/components/Geometry2D.js +15 -15
  55. package/src/assets/components/Geospatial.js +19 -19
  56. package/src/assets/components/HAnim.js +13 -13
  57. package/src/assets/components/KeyDeviceSensor.js +10 -10
  58. package/src/assets/components/Layout.js +13 -13
  59. package/src/assets/components/NURBS.js +24 -24
  60. package/src/assets/components/ParticleSystems.js +19 -19
  61. package/src/assets/components/Picking.js +14 -14
  62. package/src/assets/components/RigidBodyPhysics.js +24 -24
  63. package/src/assets/components/Scripting.js +9 -9
  64. package/src/assets/components/Text.js +10 -10
  65. package/src/assets/components/TextureProjector.js +10 -10
  66. package/src/assets/components/Texturing3D.js +16 -16
  67. package/src/assets/components/VolumeRendering.js +23 -23
  68. package/src/assets/components/X_ITE.js +8 -7
  69. package/src/bookmarks.js +2 -2
  70. package/src/lib/jquery.js +42 -30
  71. package/src/standard/Geospatial/Geodetic.js +8 -9
  72. package/src/standard/Geospatial/UniversalTransverseMercator.js +4 -5
  73. package/src/standard/Math/Algorithm.js +41 -56
  74. package/src/standard/Math/Algorithms/Bezier.js +2 -2
  75. package/src/standard/Math/Algorithms/MergeSort.js +6 -6
  76. package/src/standard/Math/Algorithms/PartialSort.js +5 -5
  77. package/src/standard/Math/Algorithms/QuickSort.js +5 -5
  78. package/src/standard/Math/Geometry/Box2.js +16 -17
  79. package/src/standard/Math/Geometry/Box3.js +18 -19
  80. package/src/standard/Math/Geometry/Camera.js +6 -5
  81. package/src/standard/Math/Geometry/Cylinder3.js +6 -7
  82. package/src/standard/Math/Geometry/Line2.js +20 -18
  83. package/src/standard/Math/Geometry/Line3.js +20 -18
  84. package/src/standard/Math/Geometry/Plane3.js +11 -12
  85. package/src/standard/Math/Geometry/Sphere3.js +6 -7
  86. package/src/standard/Math/Geometry/Spheroid3.js +6 -7
  87. package/src/standard/Math/Geometry/Triangle2.js +4 -3
  88. package/src/standard/Math/Geometry/Triangle3.js +5 -4
  89. package/src/standard/Math/Geometry/ViewVolume.js +6 -7
  90. package/src/standard/Math/Numbers/Color3.js +18 -19
  91. package/src/standard/Math/Numbers/Color4.js +20 -21
  92. package/src/standard/Math/Numbers/Complex.js +28 -29
  93. package/src/standard/Math/Numbers/Matrix2.js +22 -23
  94. package/src/standard/Math/Numbers/Matrix3.js +28 -29
  95. package/src/standard/Math/Numbers/Matrix4.js +29 -30
  96. package/src/standard/Math/Numbers/Quaternion.js +40 -41
  97. package/src/standard/Math/Numbers/Rotation4.js +34 -35
  98. package/src/standard/Math/Numbers/Vector2.js +29 -30
  99. package/src/standard/Math/Numbers/Vector3.js +32 -33
  100. package/src/standard/Math/Numbers/Vector4.js +34 -35
  101. package/src/standard/Math/Utility/BVH.js +14 -15
  102. package/src/standard/Math/Utility/MatrixStack.js +12 -12
  103. package/src/standard/Time/MicroTime.js +4 -3
  104. package/src/standard/Utility/BitSet.js +10 -11
  105. package/src/standard/Utility/DataStorage.js +10 -10
  106. package/src/standard/Utility/MapUtilities.js +2 -1
  107. package/src/standard/Utility/ObjectCache.js +3 -3
  108. package/src/tests.js +10 -0
  109. package/src/x_ite/Base/Events.js +3 -3
  110. package/src/x_ite/Base/FieldArray.js +11 -9
  111. package/src/x_ite/Base/FieldDefinitionArray.js +11 -9
  112. package/src/x_ite/Base/X3DArrayField.js +13 -14
  113. package/src/x_ite/Base/X3DBaseNode.js +217 -178
  114. package/src/x_ite/Base/X3DCast.js +1 -1
  115. package/src/x_ite/Base/X3DChildObject.js +162 -53
  116. package/src/x_ite/Base/X3DConstants.js +74 -60
  117. package/src/x_ite/Base/X3DEventObject.js +6 -12
  118. package/src/x_ite/Base/X3DField.js +45 -42
  119. package/src/x_ite/Base/X3DFieldDefinition.js +9 -7
  120. package/src/x_ite/Base/X3DInfoArray.js +75 -65
  121. package/src/x_ite/Base/X3DObject.js +60 -30
  122. package/src/x_ite/Base/X3DObjectArrayField.js +48 -83
  123. package/src/x_ite/Base/X3DTypedArrayField.js +46 -40
  124. package/src/x_ite/Browser/Core/BrowserOptions.js +55 -57
  125. package/src/x_ite/Browser/Core/BrowserProperties.js +18 -20
  126. package/src/x_ite/Browser/Core/BrowserTimings.js +29 -33
  127. package/src/x_ite/Browser/Core/Context.js +7 -7
  128. package/src/x_ite/Browser/Core/ContextMenu.js +61 -83
  129. package/src/x_ite/Browser/Core/Notification.js +12 -12
  130. package/src/x_ite/Browser/Core/RenderingProperties.js +28 -28
  131. package/src/x_ite/Browser/Core/X3DCoreContext.js +45 -37
  132. package/src/x_ite/Browser/DOMIntegration.js +4 -1
  133. package/src/x_ite/Browser/EnvironmentalEffects/X3DEnvironmentalEffectsContext.js +3 -3
  134. package/src/x_ite/Browser/Followers/X3DArrayChaserTemplate.js +1 -1
  135. package/src/x_ite/Browser/Followers/X3DArrayFollowerTemplate.js +12 -12
  136. package/src/x_ite/Browser/Geometry2D/Arc2DOptions.js +8 -14
  137. package/src/x_ite/Browser/Geometry2D/ArcClose2DOptions.js +8 -14
  138. package/src/x_ite/Browser/Geometry2D/Circle2DOptions.js +13 -17
  139. package/src/x_ite/Browser/Geometry2D/Disk2DOptions.js +15 -19
  140. package/src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js +12 -16
  141. package/src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js +9 -9
  142. package/src/x_ite/Browser/Geometry3D/BoxOptions.js +12 -16
  143. package/src/x_ite/Browser/Geometry3D/ConeOptions.js +6 -12
  144. package/src/x_ite/Browser/Geometry3D/CylinderOptions.js +6 -12
  145. package/src/x_ite/Browser/Geometry3D/IcoSphereOptions.js +13 -17
  146. package/src/x_ite/Browser/Geometry3D/QuadSphereOptions.js +17 -21
  147. package/src/x_ite/Browser/Geometry3D/X3DGeometry3DContext.js +8 -8
  148. package/src/x_ite/Browser/Geospatial/Geocentric.js +5 -6
  149. package/src/x_ite/Browser/Geospatial/Geospatial.js +10 -10
  150. package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +3 -3
  151. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator.js +2 -3
  152. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator1.js +8 -9
  153. package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolatorTemplate.js +7 -8
  154. package/src/x_ite/Browser/Interpolation/SquatInterpolator.js +3 -4
  155. package/src/x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext.js +8 -8
  156. package/src/x_ite/Browser/Layering/X3DLayeringContext.js +4 -4
  157. package/src/x_ite/Browser/Layout/ScreenText.js +7 -8
  158. package/src/x_ite/Browser/Layout/X3DLayoutContext.js +3 -3
  159. package/src/x_ite/Browser/Legacy.js +32 -12
  160. package/src/x_ite/Browser/Lighting/X3DLightingContext.js +5 -5
  161. package/src/x_ite/Browser/NURBS/NURBS.js +10 -10
  162. package/src/x_ite/Browser/Navigation/ExamineViewer.js +32 -20
  163. package/src/x_ite/Browser/Navigation/FlyViewer.js +22 -10
  164. package/src/x_ite/Browser/Navigation/LookAtViewer.js +29 -17
  165. package/src/x_ite/Browser/Navigation/NoneViewer.js +15 -5
  166. package/src/x_ite/Browser/Navigation/PlaneViewer.js +24 -12
  167. package/src/x_ite/Browser/Navigation/WalkViewer.js +22 -10
  168. package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +17 -18
  169. package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +19 -19
  170. package/src/x_ite/Browser/Navigation/X3DViewer.js +13 -19
  171. package/src/x_ite/Browser/Networking/URLs.js +5 -5
  172. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +16 -16
  173. package/src/x_ite/Browser/ParticleSystems/X3DParticleSystemsContext.js +3 -3
  174. package/src/x_ite/Browser/Picking/VolumePicker.js +8 -8
  175. package/src/x_ite/Browser/Picking/X3DPickingContext.js +12 -12
  176. package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +24 -20
  177. package/src/x_ite/Browser/PointingDeviceSensor/PointingDeviceSensorContainer.js +6 -6
  178. package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +21 -21
  179. package/src/x_ite/Browser/Rendering/GeometryContext.js +4 -5
  180. package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +18 -18
  181. package/src/x_ite/Browser/Scripting/X3DScriptingContext.js +4 -4
  182. package/src/x_ite/Browser/Shaders/ShaderCompiler.js +4 -4
  183. package/src/x_ite/Browser/Shaders/ShaderSource.js +1 -1
  184. package/src/x_ite/Browser/Shaders/X3DShadersContext.js +13 -13
  185. package/src/x_ite/Browser/Shape/X3DShapeContext.js +12 -12
  186. package/src/x_ite/Browser/Sound/X3DSoundContext.js +0 -2
  187. package/src/x_ite/Browser/Text/PolygonText.js +10 -11
  188. package/src/x_ite/Browser/Text/X3DTextContext.js +6 -6
  189. package/src/x_ite/Browser/Text/X3DTextGeometry.js +18 -19
  190. package/src/x_ite/Browser/Texturing/GifMedia.js +7 -7
  191. package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +24 -24
  192. package/src/x_ite/Browser/Texturing3D/DICOMParser.js +38 -38
  193. package/src/x_ite/Browser/Texturing3D/NRRDParser.js +14 -14
  194. package/src/x_ite/Browser/Time/X3DTimeContext.js +5 -5
  195. package/src/x_ite/Browser/VERSION.js +1 -1
  196. package/src/x_ite/Browser/VolumeRendering/VolumeMaterial.js +39 -22
  197. package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +6 -6
  198. package/src/x_ite/Browser/X3DBrowser.js +166 -140
  199. package/src/x_ite/Browser/X3DBrowserContext.js +23 -24
  200. package/src/x_ite/Components/Annotation/AnnotationLayer.js +30 -19
  201. package/src/x_ite/Components/Annotation/AnnotationTarget.js +30 -19
  202. package/src/x_ite/Components/Annotation/GroupAnnotation.js +40 -29
  203. package/src/x_ite/Components/Annotation/IconAnnotation.js +38 -27
  204. package/src/x_ite/Components/Annotation/TextAnnotation.js +31 -20
  205. package/src/x_ite/Components/Annotation/URLAnnotation.js +30 -19
  206. package/src/x_ite/Components/Annotation/X3DAnnotationNode.js +16 -3
  207. package/src/x_ite/Components/CADGeometry/CADAssembly.js +32 -21
  208. package/src/x_ite/Components/CADGeometry/CADFace.js +48 -37
  209. package/src/x_ite/Components/CADGeometry/CADLayer.js +30 -21
  210. package/src/x_ite/Components/CADGeometry/CADPart.js +37 -26
  211. package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +51 -46
  212. package/src/x_ite/Components/CADGeometry/QuadSet.js +48 -43
  213. package/src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js +13 -2
  214. package/src/x_ite/Components/Core/MetadataBoolean.js +33 -22
  215. package/src/x_ite/Components/Core/MetadataDouble.js +33 -22
  216. package/src/x_ite/Components/Core/MetadataFloat.js +33 -22
  217. package/src/x_ite/Components/Core/MetadataInteger.js +33 -22
  218. package/src/x_ite/Components/Core/MetadataSet.js +33 -22
  219. package/src/x_ite/Components/Core/MetadataString.js +33 -22
  220. package/src/x_ite/Components/Core/WorldInfo.js +34 -23
  221. package/src/x_ite/Components/Core/X3DBindableNode.js +17 -4
  222. package/src/x_ite/Components/Core/X3DChildNode.js +19 -6
  223. package/src/x_ite/Components/Core/X3DInfoNode.js +13 -2
  224. package/src/x_ite/Components/Core/X3DMetadataObject.js +18 -5
  225. package/src/x_ite/Components/Core/X3DNode.js +53 -21
  226. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +68 -77
  227. package/src/x_ite/Components/Core/X3DSensorNode.js +13 -2
  228. package/src/x_ite/Components/Core.js +22 -29
  229. package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +46 -35
  230. package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +39 -28
  231. package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +47 -36
  232. package/src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js +21 -8
  233. package/src/x_ite/Components/DIS/DISEntityManager.js +29 -20
  234. package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +41 -30
  235. package/src/x_ite/Components/DIS/EspduTransform.js +117 -106
  236. package/src/x_ite/Components/DIS/ReceiverPdu.js +60 -49
  237. package/src/x_ite/Components/DIS/SignalPdu.js +60 -49
  238. package/src/x_ite/Components/DIS/TransmitterPdu.js +76 -65
  239. package/src/x_ite/Components/EnvironmentalEffects/Background.js +47 -36
  240. package/src/x_ite/Components/EnvironmentalEffects/Fog.js +42 -31
  241. package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +39 -28
  242. package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +40 -29
  243. package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +48 -37
  244. package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +28 -15
  245. package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +30 -18
  246. package/src/x_ite/Components/EnvironmentalEffects.js +15 -22
  247. package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +45 -34
  248. package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +50 -39
  249. package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +41 -30
  250. package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +22 -9
  251. package/src/x_ite/Components/EnvironmentalSensor.js +12 -19
  252. package/src/x_ite/Components/EventUtilities/BooleanFilter.js +38 -27
  253. package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +38 -27
  254. package/src/x_ite/Components/EventUtilities/BooleanToggle.js +33 -22
  255. package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +32 -21
  256. package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +38 -27
  257. package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +33 -22
  258. package/src/x_ite/Components/EventUtilities/TimeTrigger.js +32 -21
  259. package/src/x_ite/Components/EventUtilities/X3DSequencerNode.js +20 -7
  260. package/src/x_ite/Components/EventUtilities/X3DTriggerNode.js +13 -2
  261. package/src/x_ite/Components/Followers/ColorChaser.js +47 -36
  262. package/src/x_ite/Components/Followers/ColorDamper.js +49 -38
  263. package/src/x_ite/Components/Followers/CoordinateChaser.js +33 -22
  264. package/src/x_ite/Components/Followers/CoordinateDamper.js +35 -24
  265. package/src/x_ite/Components/Followers/OrientationChaser.js +43 -32
  266. package/src/x_ite/Components/Followers/OrientationDamper.js +41 -30
  267. package/src/x_ite/Components/Followers/PositionChaser.js +33 -22
  268. package/src/x_ite/Components/Followers/PositionChaser2D.js +33 -22
  269. package/src/x_ite/Components/Followers/PositionDamper.js +35 -24
  270. package/src/x_ite/Components/Followers/PositionDamper2D.js +35 -24
  271. package/src/x_ite/Components/Followers/ScalarChaser.js +47 -36
  272. package/src/x_ite/Components/Followers/ScalarDamper.js +43 -32
  273. package/src/x_ite/Components/Followers/TexCoordChaser2D.js +33 -22
  274. package/src/x_ite/Components/Followers/TexCoordDamper2D.js +35 -24
  275. package/src/x_ite/Components/Followers/X3DChaserNode.js +27 -14
  276. package/src/x_ite/Components/Followers/X3DDamperNode.js +22 -9
  277. package/src/x_ite/Components/Followers/X3DFollowerNode.js +29 -16
  278. package/src/x_ite/Components/Followers.js +25 -32
  279. package/src/x_ite/Components/Geometry2D/Arc2D.js +38 -27
  280. package/src/x_ite/Components/Geometry2D/ArcClose2D.js +39 -28
  281. package/src/x_ite/Components/Geometry2D/Circle2D.js +35 -24
  282. package/src/x_ite/Components/Geometry2D/Disk2D.js +40 -29
  283. package/src/x_ite/Components/Geometry2D/Polyline2D.js +34 -23
  284. package/src/x_ite/Components/Geometry2D/Polypoint2D.js +34 -23
  285. package/src/x_ite/Components/Geometry2D/Rectangle2D.js +34 -23
  286. package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +36 -25
  287. package/src/x_ite/Components/Geometry3D/Box.js +34 -23
  288. package/src/x_ite/Components/Geometry3D/Cone.js +40 -29
  289. package/src/x_ite/Components/Geometry3D/Cylinder.js +41 -30
  290. package/src/x_ite/Components/Geometry3D/ElevationGrid.js +63 -52
  291. package/src/x_ite/Components/Geometry3D/Extrusion.js +49 -38
  292. package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +98 -95
  293. package/src/x_ite/Components/Geometry3D/Sphere.js +36 -25
  294. package/src/x_ite/Components/Geometry3D.js +15 -22
  295. package/src/x_ite/Components/Geospatial/GeoCoordinate.js +37 -26
  296. package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +63 -52
  297. package/src/x_ite/Components/Geospatial/GeoLOD.js +59 -48
  298. package/src/x_ite/Components/Geospatial/GeoLocation.js +45 -34
  299. package/src/x_ite/Components/Geospatial/GeoMetadata.js +38 -27
  300. package/src/x_ite/Components/Geospatial/GeoOrigin.js +37 -26
  301. package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +43 -32
  302. package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +48 -37
  303. package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +45 -34
  304. package/src/x_ite/Components/Geospatial/GeoTransform.js +49 -38
  305. package/src/x_ite/Components/Geospatial/GeoViewpoint.js +56 -45
  306. package/src/x_ite/Components/Geospatial/X3DGeospatialObject.js +30 -17
  307. package/src/x_ite/Components/Grouping/Group.js +29 -20
  308. package/src/x_ite/Components/Grouping/StaticGroup.js +40 -48
  309. package/src/x_ite/Components/Grouping/Switch.js +51 -40
  310. package/src/x_ite/Components/Grouping/Transform.js +34 -25
  311. package/src/x_ite/Components/Grouping/X3DBoundedObject.js +22 -9
  312. package/src/x_ite/Components/Grouping/X3DGroupingNode.js +224 -219
  313. package/src/x_ite/Components/Grouping/X3DTransformMatrix3DNode.js +20 -7
  314. package/src/x_ite/Components/Grouping/X3DTransformNode.js +17 -4
  315. package/src/x_ite/Components/Grouping.js +16 -23
  316. package/src/x_ite/Components/HAnim/HAnimDisplacer.js +27 -18
  317. package/src/x_ite/Components/HAnim/HAnimHumanoid.js +73 -62
  318. package/src/x_ite/Components/HAnim/HAnimJoint.js +61 -50
  319. package/src/x_ite/Components/HAnim/HAnimMotion.js +44 -33
  320. package/src/x_ite/Components/HAnim/HAnimSegment.js +36 -27
  321. package/src/x_ite/Components/HAnim/HAnimSite.js +36 -27
  322. package/src/x_ite/Components/Interpolation/ColorInterpolator.js +38 -27
  323. package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +38 -27
  324. package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +38 -27
  325. package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +39 -28
  326. package/src/x_ite/Components/Interpolation/NormalInterpolator.js +38 -27
  327. package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +38 -27
  328. package/src/x_ite/Components/Interpolation/PositionInterpolator.js +38 -27
  329. package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +38 -27
  330. package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +39 -28
  331. package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +44 -33
  332. package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +44 -33
  333. package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +44 -33
  334. package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +40 -29
  335. package/src/x_ite/Components/Interpolation/X3DInterpolatorNode.js +21 -8
  336. package/src/x_ite/Components/Interpolation.js +22 -29
  337. package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +44 -33
  338. package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +38 -27
  339. package/src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js +23 -10
  340. package/src/x_ite/Components/Layering/Layer.js +40 -29
  341. package/src/x_ite/Components/Layering/LayerSet.js +44 -33
  342. package/src/x_ite/Components/Layering/Viewport.js +48 -37
  343. package/src/x_ite/Components/Layering/X3DLayerNode.js +45 -32
  344. package/src/x_ite/Components/Layering/X3DViewportNode.js +13 -2
  345. package/src/x_ite/Components/Layering.js +13 -20
  346. package/src/x_ite/Components/Layout/Layout.js +60 -49
  347. package/src/x_ite/Components/Layout/LayoutGroup.js +48 -37
  348. package/src/x_ite/Components/Layout/LayoutLayer.js +41 -30
  349. package/src/x_ite/Components/Layout/ScreenFontStyle.js +41 -30
  350. package/src/x_ite/Components/Layout/ScreenGroup.js +42 -31
  351. package/src/x_ite/Components/Layout/X3DLayoutNode.js +13 -2
  352. package/src/x_ite/Components/Lighting/DirectionalLight.js +45 -35
  353. package/src/x_ite/Components/Lighting/EnvironmentLight.js +51 -41
  354. package/src/x_ite/Components/Lighting/PointLight.js +53 -43
  355. package/src/x_ite/Components/Lighting/SpotLight.js +62 -52
  356. package/src/x_ite/Components/Lighting/X3DLightNode.js +29 -16
  357. package/src/x_ite/Components/Lighting.js +13 -20
  358. package/src/x_ite/Components/NURBS/Contour2D.js +45 -43
  359. package/src/x_ite/Components/NURBS/ContourPolyline2D.js +34 -23
  360. package/src/x_ite/Components/NURBS/CoordinateDouble.js +23 -14
  361. package/src/x_ite/Components/NURBS/NurbsCurve.js +47 -36
  362. package/src/x_ite/Components/NURBS/NurbsCurve2D.js +44 -33
  363. package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +46 -35
  364. package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +36 -27
  365. package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +46 -35
  366. package/src/x_ite/Components/NURBS/NurbsSet.js +52 -50
  367. package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +44 -33
  368. package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +40 -29
  369. package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +40 -29
  370. package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +43 -32
  371. package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +59 -57
  372. package/src/x_ite/Components/NURBS/X3DNurbsControlCurveNode.js +13 -2
  373. package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +30 -17
  374. package/src/x_ite/Components/NURBS/X3DParametricGeometryNode.js +16 -3
  375. package/src/x_ite/Components/Navigation/Billboard.js +43 -32
  376. package/src/x_ite/Components/Navigation/Collision.js +49 -38
  377. package/src/x_ite/Components/Navigation/LOD.js +54 -43
  378. package/src/x_ite/Components/Navigation/NavigationInfo.js +58 -47
  379. package/src/x_ite/Components/Navigation/OrthoViewpoint.js +69 -58
  380. package/src/x_ite/Components/Navigation/Viewpoint.js +53 -42
  381. package/src/x_ite/Components/Navigation/ViewpointGroup.js +44 -33
  382. package/src/x_ite/Components/Navigation/X3DViewpointNode.js +48 -35
  383. package/src/x_ite/Components/Navigation.js +16 -23
  384. package/src/x_ite/Components/Networking/Anchor.js +51 -40
  385. package/src/x_ite/Components/Networking/Inline.js +54 -43
  386. package/src/x_ite/Components/Networking/LoadSensor.js +49 -38
  387. package/src/x_ite/Components/Networking/X3DNetworkSensorNode.js +13 -2
  388. package/src/x_ite/Components/Networking/X3DUrlObject.js +35 -22
  389. package/src/x_ite/Components/Networking.js +13 -20
  390. package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +37 -26
  391. package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +44 -33
  392. package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +41 -30
  393. package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +34 -23
  394. package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +83 -72
  395. package/src/x_ite/Components/ParticleSystems/PointEmitter.js +41 -30
  396. package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +42 -31
  397. package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +42 -31
  398. package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +43 -32
  399. package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +38 -27
  400. package/src/x_ite/Components/ParticleSystems/X3DParticleEmitterNode.js +33 -20
  401. package/src/x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode.js +16 -3
  402. package/src/x_ite/Components/Picking/LinePickSensor.js +49 -38
  403. package/src/x_ite/Components/Picking/PickableGroup.js +45 -34
  404. package/src/x_ite/Components/Picking/PointPickSensor.js +46 -35
  405. package/src/x_ite/Components/Picking/PrimitivePickSensor.js +46 -35
  406. package/src/x_ite/Components/Picking/VolumePickSensor.js +45 -34
  407. package/src/x_ite/Components/Picking/X3DPickSensorNode.js +31 -18
  408. package/src/x_ite/Components/Picking/X3DPickableObject.js +20 -7
  409. package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +50 -39
  410. package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +52 -45
  411. package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +44 -33
  412. package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +30 -21
  413. package/src/x_ite/Components/PointingDeviceSensor/X3DDragSensorNode.js +13 -2
  414. package/src/x_ite/Components/PointingDeviceSensor/X3DPointingDeviceSensorNode.js +22 -11
  415. package/src/x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode.js +16 -3
  416. package/src/x_ite/Components/PointingDeviceSensor.js +15 -22
  417. package/src/x_ite/Components/Rendering/ClipPlane.js +44 -34
  418. package/src/x_ite/Components/Rendering/Color.js +37 -26
  419. package/src/x_ite/Components/Rendering/ColorRGBA.js +37 -26
  420. package/src/x_ite/Components/Rendering/Coordinate.js +23 -14
  421. package/src/x_ite/Components/Rendering/IndexedLineSet.js +52 -41
  422. package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +48 -37
  423. package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +44 -33
  424. package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +48 -37
  425. package/src/x_ite/Components/Rendering/LineSet.js +45 -34
  426. package/src/x_ite/Components/Rendering/Normal.js +39 -28
  427. package/src/x_ite/Components/Rendering/PointSet.js +45 -34
  428. package/src/x_ite/Components/Rendering/TriangleFanSet.js +47 -36
  429. package/src/x_ite/Components/Rendering/TriangleSet.js +41 -30
  430. package/src/x_ite/Components/Rendering/TriangleStripSet.js +47 -36
  431. package/src/x_ite/Components/Rendering/X3DColorNode.js +17 -4
  432. package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +33 -20
  433. package/src/x_ite/Components/Rendering/X3DCoordinateNode.js +23 -10
  434. package/src/x_ite/Components/Rendering/X3DGeometricPropertyNode.js +13 -2
  435. package/src/x_ite/Components/Rendering/X3DGeometryNode.js +96 -80
  436. package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +21 -8
  437. package/src/x_ite/Components/Rendering/X3DNormalNode.js +13 -2
  438. package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +20 -7
  439. package/src/x_ite/Components/Rendering.js +29 -36
  440. package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +43 -32
  441. package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +48 -37
  442. package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +52 -41
  443. package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +47 -36
  444. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +41 -30
  445. package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +44 -33
  446. package/src/x_ite/Components/RigidBodyPhysics/Contact.js +38 -29
  447. package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +60 -49
  448. package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +48 -39
  449. package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +69 -58
  450. package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +61 -50
  451. package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +49 -38
  452. package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +47 -36
  453. package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +36 -27
  454. package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js +24 -11
  455. package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollisionSpaceNode.js +17 -4
  456. package/src/x_ite/Components/RigidBodyPhysics/X3DRigidJointNode.js +34 -21
  457. package/src/x_ite/Components/Scripting/Script.js +76 -46
  458. package/src/x_ite/Components/Scripting/X3DScriptNode.js +17 -4
  459. package/src/x_ite/Components/Shaders/ComposedShader.js +46 -35
  460. package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +40 -29
  461. package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +38 -27
  462. package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +38 -27
  463. package/src/x_ite/Components/Shaders/PackagedShader.js +45 -34
  464. package/src/x_ite/Components/Shaders/ProgramShader.js +27 -18
  465. package/src/x_ite/Components/Shaders/ShaderPart.js +47 -36
  466. package/src/x_ite/Components/Shaders/ShaderProgram.js +42 -31
  467. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +51 -38
  468. package/src/x_ite/Components/Shaders/X3DShaderNode.js +19 -6
  469. package/src/x_ite/Components/Shaders/X3DVertexAttributeNode.js +17 -4
  470. package/src/x_ite/Components/Shaders.js +19 -26
  471. package/src/x_ite/Components/Shape/AcousticProperties.js +28 -19
  472. package/src/x_ite/Components/Shape/Appearance.js +79 -68
  473. package/src/x_ite/Components/Shape/FillProperties.js +44 -33
  474. package/src/x_ite/Components/Shape/LineProperties.js +44 -33
  475. package/src/x_ite/Components/Shape/Material.js +75 -64
  476. package/src/x_ite/Components/Shape/PhysicalMaterial.js +65 -54
  477. package/src/x_ite/Components/Shape/PointProperties.js +43 -32
  478. package/src/x_ite/Components/Shape/Shape.js +48 -37
  479. package/src/x_ite/Components/Shape/TwoSidedMaterial.js +60 -49
  480. package/src/x_ite/Components/Shape/UnlitMaterial.js +44 -33
  481. package/src/x_ite/Components/Shape/X3DAppearanceChildNode.js +13 -2
  482. package/src/x_ite/Components/Shape/X3DAppearanceNode.js +17 -4
  483. package/src/x_ite/Components/Shape/X3DMaterialNode.js +41 -33
  484. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +29 -16
  485. package/src/x_ite/Components/Shape/X3DShapeNode.js +28 -15
  486. package/src/x_ite/Components/Shape.js +23 -30
  487. package/src/x_ite/Components/Sound/Analyser.js +46 -37
  488. package/src/x_ite/Components/Sound/AudioClip.js +61 -50
  489. package/src/x_ite/Components/Sound/AudioDestination.js +35 -26
  490. package/src/x_ite/Components/Sound/BiquadFilter.js +45 -36
  491. package/src/x_ite/Components/Sound/BufferAudioSource.js +61 -50
  492. package/src/x_ite/Components/Sound/ChannelMerger.js +32 -23
  493. package/src/x_ite/Components/Sound/ChannelSelector.js +33 -24
  494. package/src/x_ite/Components/Sound/ChannelSplitter.js +33 -24
  495. package/src/x_ite/Components/Sound/Convolver.js +43 -34
  496. package/src/x_ite/Components/Sound/Delay.js +43 -34
  497. package/src/x_ite/Components/Sound/DynamicsCompressor.js +47 -38
  498. package/src/x_ite/Components/Sound/Gain.js +41 -32
  499. package/src/x_ite/Components/Sound/ListenerPointSource.js +39 -30
  500. package/src/x_ite/Components/Sound/MicrophoneSource.js +35 -26
  501. package/src/x_ite/Components/Sound/OscillatorSource.js +37 -28
  502. package/src/x_ite/Components/Sound/PeriodicWave.js +27 -18
  503. package/src/x_ite/Components/Sound/Sound.js +51 -40
  504. package/src/x_ite/Components/Sound/SpatialSound.js +42 -33
  505. package/src/x_ite/Components/Sound/StreamAudioDestination.js +35 -26
  506. package/src/x_ite/Components/Sound/StreamAudioSource.js +35 -26
  507. package/src/x_ite/Components/Sound/WaveShaper.js +43 -34
  508. package/src/x_ite/Components/Sound/X3DSoundChannelNode.js +13 -2
  509. package/src/x_ite/Components/Sound/X3DSoundDestinationNode.js +13 -2
  510. package/src/x_ite/Components/Sound/X3DSoundNode.js +13 -2
  511. package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +17 -4
  512. package/src/x_ite/Components/Sound/X3DSoundSourceNode.js +30 -17
  513. package/src/x_ite/Components/Sound.js +34 -41
  514. package/src/x_ite/Components/Text/FontStyle.js +37 -26
  515. package/src/x_ite/Components/Text/Text.js +50 -39
  516. package/src/x_ite/Components/Text/X3DFontStyleNode.js +32 -18
  517. package/src/x_ite/Components/TextureProjector/TextureProjector.js +49 -39
  518. package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +58 -48
  519. package/src/x_ite/Components/TextureProjector/X3DTextureProjectorNode.js +27 -14
  520. package/src/x_ite/Components/Texturing/ImageTexture.js +50 -39
  521. package/src/x_ite/Components/Texturing/MovieTexture.js +67 -56
  522. package/src/x_ite/Components/Texturing/MultiTexture.js +52 -41
  523. package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +44 -33
  524. package/src/x_ite/Components/Texturing/MultiTextureTransform.js +39 -28
  525. package/src/x_ite/Components/Texturing/PixelTexture.js +42 -31
  526. package/src/x_ite/Components/Texturing/TextureCoordinate.js +41 -30
  527. package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +41 -30
  528. package/src/x_ite/Components/Texturing/TextureProperties.js +47 -36
  529. package/src/x_ite/Components/Texturing/TextureTransform.js +39 -28
  530. package/src/x_ite/Components/Texturing/X3DSingleTextureCoordinateNode.js +20 -7
  531. package/src/x_ite/Components/Texturing/X3DSingleTextureNode.js +21 -8
  532. package/src/x_ite/Components/Texturing/X3DSingleTextureTransformNode.js +20 -7
  533. package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +26 -13
  534. package/src/x_ite/Components/Texturing/X3DTextureCoordinateNode.js +13 -2
  535. package/src/x_ite/Components/Texturing/X3DTextureNode.js +17 -4
  536. package/src/x_ite/Components/Texturing/X3DTextureTransformNode.js +13 -2
  537. package/src/x_ite/Components/Texturing.js +25 -32
  538. package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +44 -33
  539. package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +46 -35
  540. package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +54 -43
  541. package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +40 -29
  542. package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +41 -30
  543. package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +41 -30
  544. package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +39 -28
  545. package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +36 -25
  546. package/src/x_ite/Components/Texturing3D/X3DTexture3DNode.js +26 -13
  547. package/src/x_ite/Components/Time/TimeSensor.js +55 -44
  548. package/src/x_ite/Components/Time/X3DTimeDependentNode.js +38 -25
  549. package/src/x_ite/Components/Time.js +10 -17
  550. package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +51 -41
  551. package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +39 -28
  552. package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +42 -31
  553. package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +41 -30
  554. package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +41 -30
  555. package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +50 -39
  556. package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +39 -28
  557. package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +38 -27
  558. package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +49 -38
  559. package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +44 -33
  560. package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +42 -31
  561. package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +41 -30
  562. package/src/x_ite/Components/VolumeRendering/VolumeData.js +45 -34
  563. package/src/x_ite/Components/VolumeRendering/X3DComposableVolumeRenderStyleNode.js +13 -2
  564. package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +25 -12
  565. package/src/x_ite/Components/VolumeRendering/X3DVolumeRenderStyleNode.js +22 -9
  566. package/src/x_ite/Components/X_ITE/BlendMode.js +48 -37
  567. package/src/x_ite/Components.js +38 -14
  568. package/src/x_ite/Configuration/{NodeTypeArray.js → AbstractNodes.js} +2 -20
  569. package/src/x_ite/{Fallback.js → Configuration/AbstractNodesArray.js} +22 -29
  570. package/src/x_ite/Configuration/ComponentInfo.js +14 -10
  571. package/src/x_ite/Configuration/ComponentInfoArray.js +14 -10
  572. package/src/x_ite/Configuration/ConcreteNodes.js +50 -0
  573. package/src/x_ite/Configuration/{SupportedNodes.js → ConcreteNodesArray.js} +28 -35
  574. package/src/x_ite/Configuration/ProfileInfo.js +13 -9
  575. package/src/x_ite/Configuration/ProfileInfoArray.js +14 -13
  576. package/src/x_ite/Configuration/SupportedComponents.js +40 -78
  577. package/src/x_ite/Configuration/SupportedProfiles.js +16 -16
  578. package/src/x_ite/Configuration/UnitInfo.js +14 -10
  579. package/src/x_ite/Configuration/UnitInfoArray.js +10 -21
  580. package/src/x_ite/Execution/BindableList.js +14 -10
  581. package/src/x_ite/Execution/BindableStack.js +14 -10
  582. package/src/x_ite/Execution/ExportedNodesArray.js +11 -9
  583. package/src/x_ite/Execution/ImportedNodesArray.js +11 -9
  584. package/src/x_ite/Execution/NamedNodesArray.js +11 -22
  585. package/src/x_ite/Execution/X3DExecutionContext.js +121 -110
  586. package/src/x_ite/Execution/X3DExportedNode.js +18 -10
  587. package/src/x_ite/Execution/X3DImportedNode.js +35 -22
  588. package/src/x_ite/Execution/X3DScene.js +93 -64
  589. package/src/x_ite/Execution/X3DWorld.js +21 -17
  590. package/src/x_ite/Fields/ArrayFields.js +87 -153
  591. package/src/x_ite/Fields/SFBool.js +21 -25
  592. package/src/x_ite/Fields/SFColor.js +43 -39
  593. package/src/x_ite/Fields/SFColorRGBA.js +39 -35
  594. package/src/x_ite/Fields/SFDouble.js +20 -21
  595. package/src/x_ite/Fields/SFFloat.js +20 -21
  596. package/src/x_ite/Fields/SFImage.js +50 -48
  597. package/src/x_ite/Fields/SFInt32.js +20 -21
  598. package/src/x_ite/Fields/SFMatrix3.js +23 -16
  599. package/src/x_ite/Fields/SFMatrix4.js +24 -17
  600. package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +31 -31
  601. package/src/x_ite/Fields/SFNode.js +57 -88
  602. package/src/x_ite/Fields/SFNodeCache.js +7 -11
  603. package/src/x_ite/Fields/SFRotation.js +73 -62
  604. package/src/x_ite/Fields/SFString.js +35 -36
  605. package/src/x_ite/Fields/SFTime.js +20 -21
  606. package/src/x_ite/Fields/SFVec2.js +17 -14
  607. package/src/x_ite/Fields/SFVec3.js +20 -17
  608. package/src/x_ite/Fields/SFVec4.js +21 -18
  609. package/src/x_ite/Fields/SFVecPrototypeTemplate.js +36 -36
  610. package/src/x_ite/Fields.js +6 -13
  611. package/src/x_ite/InputOutput/FileLoader.js +37 -41
  612. package/src/x_ite/InputOutput/Generator.js +50 -51
  613. package/src/x_ite/Parser/GLB2Parser.js +12 -13
  614. package/src/x_ite/Parser/GLTF2Parser.js +111 -112
  615. package/src/x_ite/Parser/GoldenGate.js +11 -13
  616. package/src/x_ite/Parser/HTMLSupport.js +15 -5
  617. package/src/x_ite/Parser/JSONParser.js +21 -22
  618. package/src/x_ite/Parser/OBJParser.js +56 -57
  619. package/src/x_ite/Parser/STLAParser.js +22 -23
  620. package/src/x_ite/Parser/STLBParser.js +12 -13
  621. package/src/x_ite/Parser/SVGParser.js +85 -86
  622. package/src/x_ite/Parser/VRMLParser.js +495 -878
  623. package/src/x_ite/Parser/X3DOptimizer.js +7 -7
  624. package/src/x_ite/Parser/X3DParser.js +17 -17
  625. package/src/x_ite/Parser/XMLParser.js +215 -269
  626. package/src/x_ite/Prototype/ExternProtoDeclarationArray.js +11 -9
  627. package/src/x_ite/Prototype/ProtoDeclarationArray.js +11 -9
  628. package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +35 -27
  629. package/src/x_ite/Prototype/X3DProtoDeclaration.js +28 -20
  630. package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +18 -10
  631. package/src/x_ite/Rendering/DependentRenderer.js +11 -12
  632. package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +9 -10
  633. package/src/x_ite/Rendering/PointingBuffer.js +6 -7
  634. package/src/x_ite/Rendering/TextureBuffer.js +11 -12
  635. package/src/x_ite/Rendering/VertexArray.js +5 -5
  636. package/src/x_ite/Rendering/X3DRenderObject.js +51 -52
  637. package/src/x_ite/Routing/RouteArray.js +11 -9
  638. package/src/x_ite/Routing/X3DRoute.js +29 -21
  639. package/src/x_ite/Routing/X3DRoutingContext.js +8 -9
  640. package/src/x_ite/X3D.js +27 -26
  641. package/src/x_ite/X3DCanvasElement.js +18 -7
  642. package/src/x_ite.css +2 -1
  643. package/webpack.config.js +2 -2
  644. /package/src/x_ite/{DEBUG.js → DEVELOPMENT.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.7.9 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.8.0 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,28 +39,28 @@ 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.7.9")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.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.7.9")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.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.7.9")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.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.7.9")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.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/X3DNode\")"
54
- const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Core/X3DNode");
54
+ const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Core/X3DNode");
55
55
  var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_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.7.9")] .require ("x_ite/Base/X3DConstants");
57
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.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/Base/X3DCast\")"
60
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Base/X3DCast");
60
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/X3DCast");
61
61
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
62
62
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
63
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Namespace");
63
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Namespace");
64
64
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
65
65
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/Contour2D.js
66
66
  /*******************************************************************************
@@ -126,34 +126,11 @@ function Contour2D (executionContext)
126
126
  this .childNodes = [ ];
127
127
  }
128
128
 
129
- Contour2D .prototype = Object .assign (Object .create ((X3DNode_default()).prototype),
129
+ Object .assign (Object .setPrototypeOf (Contour2D .prototype, (X3DNode_default()).prototype),
130
130
  {
131
- constructor: Contour2D,
132
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
133
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
134
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
135
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
136
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
137
- ]),
138
- getTypeName: function ()
131
+ initialize ()
139
132
  {
140
- return "Contour2D";
141
- },
142
- getComponentName: function ()
143
- {
144
- return "NURBS";
145
- },
146
- getContainerField: function ()
147
- {
148
- return "trimmingContour";
149
- },
150
- getSpecificationRange: function ()
151
- {
152
- return ["3.0", "Infinity"];
153
- },
154
- initialize: function ()
155
- {
156
- X3DNode_default().prototype.initialize.call (this);
133
+ X3DNode_default().prototype .initialize .call (this);
157
134
 
158
135
  this ._addChildren .addInterest ("set_addChildren__", this);
159
136
  this ._removeChildren .addInterest ("set_removeChildren__", this);
@@ -161,13 +138,10 @@ Contour2D .prototype = Object .assign (Object .create ((X3DNode_default()).proto
161
138
 
162
139
  this .set_children__ ();
163
140
  },
164
- set_addChildren__: function ()
141
+ set_addChildren__ ()
165
142
  {
166
143
  this ._addChildren .setTainted (true);
167
-
168
- this ._addChildren .erase (remove (this ._addChildren, 0, this ._addChildren .length,
169
- this ._children, 0, this ._children .length),
170
- this ._addChildren .length);
144
+ this ._addChildren .assign (filter (this ._addChildren, this ._children));
171
145
 
172
146
  for (const child of this ._addChildren)
173
147
  this ._children .push (child);
@@ -175,18 +149,15 @@ Contour2D .prototype = Object .assign (Object .create ((X3DNode_default()).proto
175
149
  this ._addChildren .length = 0;
176
150
  this ._addChildren .setTainted (false);
177
151
  },
178
- set_removeChildren__: function ()
152
+ set_removeChildren__ ()
179
153
  {
180
154
  this ._removeChildren .setTainted (true);
181
-
182
- this ._children .erase (remove (this ._children, 0, this ._children .length,
183
- this ._removeChildren, 0, this ._removeChildren .length),
184
- this ._children .length);
155
+ this ._children .assign (filter (this ._children, this ._removeChildren));
185
156
 
186
157
  this ._removeChildren .length = 0;
187
158
  this ._removeChildren .setTainted (false);
188
159
  },
189
- set_children__: function ()
160
+ set_children__ ()
190
161
  {
191
162
  const childNodes = this .childNodes;
192
163
 
@@ -213,23 +184,54 @@ Contour2D .prototype = Object .assign (Object .create ((X3DNode_default()).proto
213
184
  }
214
185
  }
215
186
  },
216
- addTrimmingContour: function (trimmingContours)
187
+ addTrimmingContour (trimmingContours)
217
188
  {
218
189
  for (const childNode of this .childNodes)
219
190
  trimmingContours .push (childNode .tessellate (2));
220
191
  }
221
192
  });
222
193
 
223
- function remove (array, first, last, range, rfirst, rlast)
194
+ function filter (array, remove)
224
195
  {
225
- const set = new Set ();
226
-
227
- for (let i = rfirst; i < rlast; ++ i)
228
- set .add (range [i]);
196
+ const set = new Set (remove);
229
197
 
230
- return array .remove (first, last, value => set .has (value));
198
+ return array .filter (value => !set .has (value));
231
199
  }
232
200
 
201
+ Object .defineProperties (Contour2D,
202
+ {
203
+ typeName:
204
+ {
205
+ value: "Contour2D",
206
+ enumerable: true,
207
+ },
208
+ componentName:
209
+ {
210
+ value: "NURBS",
211
+ enumerable: true,
212
+ },
213
+ containerField:
214
+ {
215
+ value: "trimmingContour",
216
+ enumerable: true,
217
+ },
218
+ specificationRange:
219
+ {
220
+ value: Object .freeze (["3.0", "Infinity"]),
221
+ enumerable: true,
222
+ },
223
+ fieldDefinitions:
224
+ {
225
+ value: new (FieldDefinitionArray_default()) ([
226
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
227
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
228
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
229
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
230
+ ]),
231
+ enumerable: true,
232
+ },
233
+ });
234
+
233
235
  const __default__ = Contour2D;
234
236
  ;
235
237
 
@@ -293,9 +295,20 @@ function X3DNurbsControlCurveNode (executionContext)
293
295
  this .addType ((X3DConstants_default()).X3DNurbsControlCurveNode);
294
296
  }
295
297
 
296
- X3DNurbsControlCurveNode .prototype = Object .assign (Object .create ((X3DNode_default()).prototype),
298
+ Object .setPrototypeOf (X3DNurbsControlCurveNode .prototype, (X3DNode_default()).prototype);
299
+
300
+ Object .defineProperties (X3DNurbsControlCurveNode,
297
301
  {
298
- constructor: X3DNurbsControlCurveNode,
302
+ typeName:
303
+ {
304
+ value: "X3DNurbsControlCurveNode",
305
+ enumerable: true,
306
+ },
307
+ componentName:
308
+ {
309
+ value: "NURBS",
310
+ enumerable: true,
311
+ },
299
312
  });
300
313
 
301
314
  const X3DNurbsControlCurveNode_default_ = X3DNurbsControlCurveNode;
@@ -304,7 +317,7 @@ const X3DNurbsControlCurveNode_default_ = X3DNurbsControlCurveNode;
304
317
  Namespace_default().set ("x_ite/Components/NURBS/X3DNurbsControlCurveNode", X3DNurbsControlCurveNode_default_);
305
318
  /* harmony default export */ const NURBS_X3DNurbsControlCurveNode = (X3DNurbsControlCurveNode_default_);
306
319
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
307
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("standard/Math/Numbers/Vector3");
320
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Vector3");
308
321
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
309
322
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/ContourPolyline2D.js
310
323
  /*******************************************************************************
@@ -363,37 +376,16 @@ var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject
363
376
 
364
377
  function ContourPolyline2D (executionContext)
365
378
  {
366
- NURBS_X3DNurbsControlCurveNode.call (this, executionContext);
379
+ NURBS_X3DNurbsControlCurveNode .call (this, executionContext);
367
380
 
368
381
  this .addType ((X3DConstants_default()).ContourPolyline2D);
369
382
 
370
383
  this .controlPoints = [ ];
371
384
  }
372
385
 
373
- ContourPolyline2D .prototype = Object .assign (Object .create (NURBS_X3DNurbsControlCurveNode.prototype),
386
+ Object .assign (Object .setPrototypeOf (ContourPolyline2D .prototype, NURBS_X3DNurbsControlCurveNode .prototype),
374
387
  {
375
- constructor: ContourPolyline2D,
376
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
377
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
378
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).MFVec2d ()),
379
- ]),
380
- getTypeName: function ()
381
- {
382
- return "ContourPolyline2D";
383
- },
384
- getComponentName: function ()
385
- {
386
- return "NURBS";
387
- },
388
- getContainerField: function ()
389
- {
390
- return "children";
391
- },
392
- getSpecificationRange: function ()
393
- {
394
- return ["3.0", "Infinity"];
395
- },
396
- tessellate: function (type)
388
+ tessellate (type)
397
389
  {
398
390
  switch (type)
399
391
  {
@@ -460,13 +452,45 @@ ContourPolyline2D .prototype = Object .assign (Object .create (NURBS_X3DNurbsCon
460
452
  },
461
453
  });
462
454
 
455
+ Object .defineProperties (ContourPolyline2D,
456
+ {
457
+ typeName:
458
+ {
459
+ value: "ContourPolyline2D",
460
+ enumerable: true,
461
+ },
462
+ componentName:
463
+ {
464
+ value: "NURBS",
465
+ enumerable: true,
466
+ },
467
+ containerField:
468
+ {
469
+ value: "children",
470
+ enumerable: true,
471
+ },
472
+ specificationRange:
473
+ {
474
+ value: Object .freeze (["3.0", "Infinity"]),
475
+ enumerable: true,
476
+ },
477
+ fieldDefinitions:
478
+ {
479
+ value: new (FieldDefinitionArray_default()) ([
480
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
481
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).MFVec2d ()),
482
+ ]),
483
+ enumerable: true,
484
+ },
485
+ });
486
+
463
487
  const ContourPolyline2D_default_ = ContourPolyline2D;
464
488
  ;
465
489
 
466
490
  Namespace_default().set ("x_ite/Components/NURBS/ContourPolyline2D", ContourPolyline2D_default_);
467
491
  /* harmony default export */ const NURBS_ContourPolyline2D = (ContourPolyline2D_default_);
468
492
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DCoordinateNode\")"
469
- const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
493
+ const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
470
494
  var X3DCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DCoordinateNode_namespaceObject);
471
495
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/CoordinateDouble.js
472
496
  /*******************************************************************************
@@ -529,28 +553,37 @@ function CoordinateDouble (executionContext)
529
553
  this .addType ((X3DConstants_default()).CoordinateDouble);
530
554
  }
531
555
 
532
- CoordinateDouble .prototype = Object .assign (Object .create ((X3DCoordinateNode_default()).prototype),
556
+ Object .setPrototypeOf (CoordinateDouble .prototype, (X3DCoordinateNode_default()).prototype);
557
+
558
+ Object .defineProperties (CoordinateDouble,
533
559
  {
534
- constructor: CoordinateDouble,
535
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
536
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
537
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "point", new (Fields_default()).MFVec3d ()),
538
- ]),
539
- getTypeName: function ()
560
+ typeName:
561
+ {
562
+ value: "CoordinateDouble",
563
+ enumerable: true,
564
+ },
565
+ componentName:
540
566
  {
541
- return "CoordinateDouble";
567
+ value: "NURBS",
568
+ enumerable: true,
542
569
  },
543
- getComponentName: function ()
570
+ containerField:
544
571
  {
545
- return "NURBS";
572
+ value: "coord",
573
+ enumerable: true,
546
574
  },
547
- getContainerField: function ()
575
+ specificationRange:
548
576
  {
549
- return "coord";
577
+ value: Object .freeze (["3.0", "Infinity"]),
578
+ enumerable: true,
550
579
  },
551
- getSpecificationRange: function ()
580
+ fieldDefinitions:
552
581
  {
553
- return ["3.0", "Infinity"];
582
+ value: new (FieldDefinitionArray_default()) ([
583
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
584
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "point", new (Fields_default()).MFVec3d ()),
585
+ ]),
586
+ enumerable: true,
554
587
  },
555
588
  });
556
589
 
@@ -560,13 +593,13 @@ const CoordinateDouble_default_ = CoordinateDouble;
560
593
  Namespace_default().set ("x_ite/Components/NURBS/CoordinateDouble", CoordinateDouble_default_);
561
594
  /* harmony default export */ const NURBS_CoordinateDouble = (CoordinateDouble_default_);
562
595
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
563
- const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
596
+ const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
564
597
  var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
565
598
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
566
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("standard/Math/Numbers/Vector2");
599
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Vector2");
567
600
  var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
568
601
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
569
- const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("standard/Math/Numbers/Vector4");
602
+ const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Vector4");
570
603
  var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
571
604
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/NURBS/NURBS.js
572
605
  /*******************************************************************************
@@ -621,7 +654,7 @@ var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject
621
654
 
622
655
 
623
656
  const NURBS = {
624
- getTessellation: function (tessellation, dimension)
657
+ getTessellation (tessellation, dimension)
625
658
  {
626
659
  if (tessellation > 0)
627
660
  return tessellation + 1;
@@ -631,7 +664,7 @@ const NURBS = {
631
664
 
632
665
  return 2 * dimension + 1;
633
666
  },
634
- getClosed2D: function (order, knot, weight, controlPoint)
667
+ getClosed2D (order, knot, weight, controlPoint)
635
668
  {
636
669
  const
637
670
  dimension = controlPoint .length,
@@ -766,7 +799,7 @@ const NURBS = {
766
799
  return true;
767
800
  };
768
801
  })(),
769
- isPeriodic: function (order, dimension, knot)
802
+ isPeriodic (order, dimension, knot)
770
803
  {
771
804
  // Check if knots are periodic.
772
805
 
@@ -799,7 +832,7 @@ const NURBS = {
799
832
 
800
833
  return true;
801
834
  },
802
- getKnots: function (result, closed, order, dimension, knot)
835
+ getKnots (result, closed, order, dimension, knot)
803
836
  {
804
837
  const knots = result || [ ];
805
838
 
@@ -848,7 +881,7 @@ const NURBS = {
848
881
 
849
882
  return knots;
850
883
  },
851
- getWeights: function (result, dimension, weight)
884
+ getWeights (result, dimension, weight)
852
885
  {
853
886
  if (weight .length !== dimension)
854
887
  return undefined;
@@ -864,7 +897,7 @@ const NURBS = {
864
897
 
865
898
  return weights;
866
899
  },
867
- getUVWeights: function (result, uDimension, vDimension, weight)
900
+ getUVWeights (result, uDimension, vDimension, weight)
868
901
  {
869
902
  const dimension = uDimension * vDimension;
870
903
 
@@ -885,7 +918,7 @@ const NURBS = {
885
918
 
886
919
  return weights;
887
920
  },
888
- getControlPoints2D: function (result, closed, order, weights, controlPoint)
921
+ getControlPoints2D (result, closed, order, weights, controlPoint)
889
922
  {
890
923
  const
891
924
  controlPoints = result || [ ],
@@ -919,7 +952,7 @@ const NURBS = {
919
952
 
920
953
  return controlPoints;
921
954
  },
922
- getControlPoints: function (result, closed, order, weights, controlPointNode)
955
+ getControlPoints (result, closed, order, weights, controlPointNode)
923
956
  {
924
957
  const
925
958
  controlPoints = result || [ ],
@@ -951,7 +984,7 @@ const NURBS = {
951
984
 
952
985
  return controlPoints;
953
986
  },
954
- getUVControlPoints: function (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, weights, controlPointNode)
987
+ getUVControlPoints (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, weights, controlPointNode)
955
988
  {
956
989
  const
957
990
  controlPoints = result || [ ],
@@ -1000,7 +1033,7 @@ const NURBS = {
1000
1033
 
1001
1034
  return controlPoints;
1002
1035
  },
1003
- getTexControlPoints: function (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, controlPointNode)
1036
+ getTexControlPoints (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, controlPointNode)
1004
1037
  {
1005
1038
  const controlPoints = result || [ ];
1006
1039
 
@@ -1103,12 +1136,25 @@ function X3DParametricGeometryNode (executionContext)
1103
1136
  this .addType ((X3DConstants_default()).X3DParametricGeometryNode);
1104
1137
  }
1105
1138
 
1106
- X3DParametricGeometryNode .prototype = Object .assign (Object .create ((X3DGeometryNode_default()).prototype),
1139
+ Object .assign (Object .setPrototypeOf (X3DParametricGeometryNode .prototype, (X3DGeometryNode_default()).prototype),
1107
1140
  {
1108
- constructor: X3DParametricGeometryNode,
1109
- getKnots: function (result, closed, order, dimension, knot)
1141
+ getKnots (result, closed, order, dimension, knot)
1110
1142
  {
1111
- return NURBS_NURBS.getKnots (result, closed, order, dimension, knot);
1143
+ return NURBS_NURBS .getKnots (result, closed, order, dimension, knot);
1144
+ },
1145
+ });
1146
+
1147
+ Object .defineProperties (X3DParametricGeometryNode,
1148
+ {
1149
+ typeName:
1150
+ {
1151
+ value: "X3DParametricGeometryNode",
1152
+ enumerable: true,
1153
+ },
1154
+ componentName:
1155
+ {
1156
+ value: "NURBS",
1157
+ enumerable: true,
1112
1158
  },
1113
1159
  });
1114
1160
 
@@ -1118,7 +1164,7 @@ const X3DParametricGeometryNode_default_ = X3DParametricGeometryNode;
1118
1164
  Namespace_default().set ("x_ite/Components/NURBS/X3DParametricGeometryNode", X3DParametricGeometryNode_default_);
1119
1165
  /* harmony default export */ const NURBS_X3DParametricGeometryNode = (X3DParametricGeometryNode_default_);
1120
1166
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
1121
- const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
1167
+ const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
1122
1168
  var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
1123
1169
  ;// CONCATENATED MODULE: ./src/lib/nurbs/src/utils/is-ndarray.js
1124
1170
 
@@ -1321,7 +1367,7 @@ function wrapAccessor (callback)
1321
1367
  var dimAccessors = [ ];
1322
1368
 
1323
1369
  for (var j = 0; j < i .length; j ++)
1324
- dimAccessors .push (variable.sum (i [j]));
1370
+ dimAccessors .push (variable .sum (i [j]));
1325
1371
 
1326
1372
  if (period)
1327
1373
  {
@@ -1344,7 +1390,7 @@ function createAccessor (name, data)
1344
1390
 
1345
1391
  switch (infer_type(data))
1346
1392
  {
1347
- case infer_type.ARRAY_OF_OBJECTS:
1393
+ case infer_type .ARRAY_OF_OBJECTS:
1348
1394
  {
1349
1395
  return wrapAccessor (function (accessors)
1350
1396
  {
@@ -1353,21 +1399,21 @@ function createAccessor (name, data)
1353
1399
  return name + "[" + accessors .join ("][") + "]" + properties [e];
1354
1400
  });
1355
1401
  }
1356
- case infer_type.ARRAY_OF_ARRAYS:
1402
+ case infer_type .ARRAY_OF_ARRAYS:
1357
1403
  {
1358
1404
  return wrapAccessor (function (accessors)
1359
1405
  {
1360
1406
  return name + "[" + accessors .join ("][") + "]";
1361
1407
  });
1362
1408
  }
1363
- case infer_type.GENERIC_NDARRAY:
1409
+ case infer_type .GENERIC_NDARRAY:
1364
1410
  {
1365
1411
  return wrapAccessor(function (accessors)
1366
1412
  {
1367
1413
  return name + ".get(" + accessors.join(",") + ")";
1368
1414
  });
1369
1415
  }
1370
- case infer_type.NDARRAY:
1416
+ case infer_type .NDARRAY:
1371
1417
  {
1372
1418
  return wrapAccessor(function (accessors)
1373
1419
  {
@@ -1499,7 +1545,7 @@ const accessor_preamble_default_ = function (nurbs, variableName, propertyName,
1499
1545
 
1500
1546
  switch (infer_type (data))
1501
1547
  {
1502
- case infer_type.NDARRAY:
1548
+ case infer_type .NDARRAY:
1503
1549
  {
1504
1550
  code .push (" var " + variableName + " = " + propertyName + ".data;");
1505
1551
  code .push (" var " + variableName + "Offset = " + propertyName + ".offset;");
@@ -1510,8 +1556,8 @@ const accessor_preamble_default_ = function (nurbs, variableName, propertyName,
1510
1556
 
1511
1557
  break;
1512
1558
  }
1513
- case infer_type.ARRAY_OF_OBJECTS:
1514
- case infer_type.ARRAY_OF_ARRAYS:
1559
+ case infer_type .ARRAY_OF_OBJECTS:
1560
+ case infer_type .ARRAY_OF_ARRAYS:
1515
1561
  code .push (" var " + variableName + " = " + propertyName + ";");
1516
1562
  }
1517
1563
 
@@ -2170,7 +2216,7 @@ const support_default_ = function (cacheKey, nurbs, accessors, debug, checkBound
2170
2216
  Namespace_default().set ("lib/nurbs/src/support", support_default_);
2171
2217
  /* harmony default export */ const support = (support_default_);
2172
2218
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
2173
- const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("standard/Math/Geometry/Triangle3");
2219
+ const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Geometry/Triangle3");
2174
2220
  var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
2175
2221
  ;// CONCATENATED MODULE: ./src/lib/nurbs/extras/sample.js
2176
2222
 
@@ -2800,7 +2846,7 @@ Namespace_default().set ("lib/nurbs/nurbs", nurbs_default_);
2800
2846
 
2801
2847
  function NurbsCurve (executionContext)
2802
2848
  {
2803
- NURBS_X3DParametricGeometryNode.call (this, executionContext);
2849
+ NURBS_X3DParametricGeometryNode .call (this, executionContext);
2804
2850
  X3DLineGeometryNode_default().call (this, executionContext);
2805
2851
 
2806
2852
  this .addType ((X3DConstants_default()).NurbsCurve);
@@ -2812,44 +2858,18 @@ function NurbsCurve (executionContext)
2812
2858
  this .sampleOptions = { resolution: [ ] };
2813
2859
  }
2814
2860
 
2815
- NurbsCurve .prototype = Object .assign (Object .create (NURBS_X3DParametricGeometryNode.prototype),
2861
+ Object .assign (Object .setPrototypeOf (NurbsCurve .prototype, NURBS_X3DParametricGeometryNode .prototype),
2816
2862
  (X3DLineGeometryNode_default()).prototype,
2817
2863
  {
2818
- constructor: NurbsCurve,
2819
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
2820
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
2821
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tessellation", new (Fields_default()).SFInt32 ()),
2822
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "closed", new (Fields_default()).SFBool ()),
2823
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "order", new (Fields_default()).SFInt32 (3)),
2824
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "knot", new (Fields_default()).MFDouble ()),
2825
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
2826
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
2827
- ]),
2828
- getTypeName: function ()
2829
- {
2830
- return "NurbsCurve";
2831
- },
2832
- getComponentName: function ()
2833
- {
2834
- return "NURBS";
2835
- },
2836
- getContainerField: function ()
2837
- {
2838
- return "geometry";
2839
- },
2840
- getSpecificationRange: function ()
2841
- {
2842
- return ["3.0", "Infinity"];
2843
- },
2844
- initialize: function ()
2864
+ initialize ()
2845
2865
  {
2846
- NURBS_X3DParametricGeometryNode.prototype.initialize.call (this);
2866
+ NURBS_X3DParametricGeometryNode .prototype .initialize .call (this);
2847
2867
 
2848
2868
  this ._controlPoint .addInterest ("set_controlPoint__", this);
2849
2869
 
2850
2870
  this .set_controlPoint__ ();
2851
2871
  },
2852
- set_controlPoint__: function ()
2872
+ set_controlPoint__ ()
2853
2873
  {
2854
2874
  if (this .controlPointNode)
2855
2875
  this .controlPointNode .removeInterest ("requestRebuild", this);
@@ -2859,26 +2879,26 @@ NurbsCurve .prototype = Object .assign (Object .create (NURBS_X3DParametricGeome
2859
2879
  if (this .controlPointNode)
2860
2880
  this .controlPointNode .addInterest ("requestRebuild", this);
2861
2881
  },
2862
- getTessellation: function (numKnots)
2882
+ getTessellation (numKnots)
2863
2883
  {
2864
- return NURBS_NURBS.getTessellation (this ._tessellation .getValue (), numKnots - this ._order .getValue ());
2884
+ return NURBS_NURBS .getTessellation (this ._tessellation .getValue (), numKnots - this ._order .getValue ());
2865
2885
  },
2866
- getClosed: function (order, knot, weight, controlPointNode)
2886
+ getClosed (order, knot, weight, controlPointNode)
2867
2887
  {
2868
2888
  if (! this ._closed .getValue ())
2869
2889
  return false;
2870
2890
 
2871
- return NURBS_NURBS.getClosed (order, knot, weight, controlPointNode);
2891
+ return NURBS_NURBS .getClosed (order, knot, weight, controlPointNode);
2872
2892
  },
2873
- getWeights: function (result, dimension, weight)
2893
+ getWeights (result, dimension, weight)
2874
2894
  {
2875
- return NURBS_NURBS.getWeights (result, dimension, weight);
2895
+ return NURBS_NURBS .getWeights (result, dimension, weight);
2876
2896
  },
2877
- getControlPoints: function (result, closed, order, weights, controlPointNode)
2897
+ getControlPoints (result, closed, order, weights, controlPointNode)
2878
2898
  {
2879
- return NURBS_NURBS.getControlPoints (result, closed, order, weights, controlPointNode);
2899
+ return NURBS_NURBS .getControlPoints (result, closed, order, weights, controlPointNode);
2880
2900
  },
2881
- tessellate: function ()
2901
+ tessellate ()
2882
2902
  {
2883
2903
  if (this ._order .getValue () < 2)
2884
2904
  return [ ];
@@ -2905,7 +2925,7 @@ NurbsCurve .prototype = Object .assign (Object .create (NURBS_X3DParametricGeome
2905
2925
 
2906
2926
  return array;
2907
2927
  },
2908
- build: function ()
2928
+ build ()
2909
2929
  {
2910
2930
  if (this ._order .getValue () < 2)
2911
2931
  return;
@@ -2945,7 +2965,7 @@ NurbsCurve .prototype = Object .assign (Object .create (NURBS_X3DParametricGeome
2945
2965
  this .sampleOptions .haveWeights = !! weights;
2946
2966
 
2947
2967
  const
2948
- mesh = nurbs_nurbs.sample (this .mesh, surface, this .sampleOptions),
2968
+ mesh = nurbs_nurbs .sample (this .mesh, surface, this .sampleOptions),
2949
2969
  points = mesh .points,
2950
2970
  vertexArray = this .getVertices ();
2951
2971
 
@@ -2957,9 +2977,46 @@ NurbsCurve .prototype = Object .assign (Object .create (NURBS_X3DParametricGeome
2957
2977
  vertexArray .push (points [i2], points [i2 + 1], points [i2 + 2], 1);
2958
2978
  }
2959
2979
  },
2960
- dispose: function ()
2980
+ dispose ()
2981
+ {
2982
+ NURBS_X3DParametricGeometryNode .prototype .dispose .call (this);
2983
+ },
2984
+ });
2985
+
2986
+ Object .defineProperties (NurbsCurve,
2987
+ {
2988
+ typeName:
2989
+ {
2990
+ value: "NurbsCurve",
2991
+ enumerable: true,
2992
+ },
2993
+ componentName:
2994
+ {
2995
+ value: "NURBS",
2996
+ enumerable: true,
2997
+ },
2998
+ containerField:
2999
+ {
3000
+ value: "geometry",
3001
+ enumerable: true,
3002
+ },
3003
+ specificationRange:
3004
+ {
3005
+ value: Object .freeze (["3.0", "Infinity"]),
3006
+ enumerable: true,
3007
+ },
3008
+ fieldDefinitions:
2961
3009
  {
2962
- NURBS_X3DParametricGeometryNode.prototype.dispose.call (this);
3010
+ value: new (FieldDefinitionArray_default()) ([
3011
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3012
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tessellation", new (Fields_default()).SFInt32 ()),
3013
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "closed", new (Fields_default()).SFBool ()),
3014
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "order", new (Fields_default()).SFInt32 (3)),
3015
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "knot", new (Fields_default()).MFDouble ()),
3016
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
3017
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
3018
+ ]),
3019
+ enumerable: true,
2963
3020
  },
2964
3021
  });
2965
3022
 
@@ -3027,7 +3084,7 @@ Namespace_default().set ("x_ite/Components/NURBS/NurbsCurve", NurbsCurve_default
3027
3084
 
3028
3085
  function NurbsCurve2D (executionContext)
3029
3086
  {
3030
- NURBS_X3DNurbsControlCurveNode.call (this, executionContext);
3087
+ NURBS_X3DNurbsControlCurveNode .call (this, executionContext);
3031
3088
 
3032
3089
  this .addType ((X3DConstants_default()).NurbsCurve2D);
3033
3090
 
@@ -3039,58 +3096,32 @@ function NurbsCurve2D (executionContext)
3039
3096
  this .array = [ ];
3040
3097
  }
3041
3098
 
3042
- NurbsCurve2D .prototype = Object .assign (Object .create (NURBS_X3DNurbsControlCurveNode.prototype),
3099
+ Object .assign (Object .setPrototypeOf (NurbsCurve2D .prototype, NURBS_X3DNurbsControlCurveNode .prototype),
3043
3100
  {
3044
- constructor: NurbsCurve2D,
3045
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
3046
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3047
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tessellation", new (Fields_default()).SFInt32 ()),
3048
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "closed", new (Fields_default()).SFBool ()),
3049
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "order", new (Fields_default()).SFInt32 (3)),
3050
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "knot", new (Fields_default()).MFDouble ()),
3051
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
3052
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).MFVec2d ()),
3053
- ]),
3054
- getTypeName: function ()
3055
- {
3056
- return "NurbsCurve2D";
3057
- },
3058
- getComponentName: function ()
3059
- {
3060
- return "NURBS";
3061
- },
3062
- getContainerField: function ()
3101
+ getTessellation (numKnots)
3063
3102
  {
3064
- return "children";
3103
+ return NURBS_NURBS .getTessellation (this ._tessellation .getValue (), numKnots - this ._order .getValue ());
3065
3104
  },
3066
- getSpecificationRange: function ()
3067
- {
3068
- return ["3.0", "Infinity"];
3069
- },
3070
- getTessellation: function (numKnots)
3071
- {
3072
- return NURBS_NURBS.getTessellation (this ._tessellation .getValue (), numKnots - this ._order .getValue ());
3073
- },
3074
- getClosed: function (order, knot, weight, controlPoint)
3105
+ getClosed (order, knot, weight, controlPoint)
3075
3106
  {
3076
3107
  if (! this ._closed .getValue ())
3077
3108
  return false;
3078
3109
 
3079
- return NURBS_NURBS.getClosed2D (order, knot, weight, controlPoint);
3110
+ return NURBS_NURBS .getClosed2D (order, knot, weight, controlPoint);
3080
3111
  },
3081
- getKnots: function (result, closed, order, dimension, knot)
3112
+ getKnots (result, closed, order, dimension, knot)
3082
3113
  {
3083
- return NURBS_NURBS.getKnots (result, closed, order, dimension, knot);
3114
+ return NURBS_NURBS .getKnots (result, closed, order, dimension, knot);
3084
3115
  },
3085
- getWeights: function (result, dimension, weight)
3116
+ getWeights (result, dimension, weight)
3086
3117
  {
3087
- return NURBS_NURBS.getWeights (result, dimension, weight);
3118
+ return NURBS_NURBS .getWeights (result, dimension, weight);
3088
3119
  },
3089
- getControlPoints: function (result, closed, order, weights, controlPoint)
3120
+ getControlPoints (result, closed, order, weights, controlPoint)
3090
3121
  {
3091
- return NURBS_NURBS.getControlPoints2D (result, closed, order, weights, controlPoint);
3122
+ return NURBS_NURBS .getControlPoints2D (result, closed, order, weights, controlPoint);
3092
3123
  },
3093
- tessellate: function (type)
3124
+ tessellate (type)
3094
3125
  {
3095
3126
  const array = this .array;
3096
3127
 
@@ -3131,7 +3162,7 @@ NurbsCurve2D .prototype = Object .assign (Object .create (NURBS_X3DNurbsControlC
3131
3162
  this .sampleOptions .haveWeights = !! weights;
3132
3163
 
3133
3164
  const
3134
- mesh = nurbs_nurbs.sample (this .mesh, surface, this .sampleOptions),
3165
+ mesh = nurbs_nurbs .sample (this .mesh, surface, this .sampleOptions),
3135
3166
  points = mesh .points;
3136
3167
 
3137
3168
  switch (type)
@@ -3169,19 +3200,56 @@ NurbsCurve2D .prototype = Object .assign (Object .create (NURBS_X3DNurbsControlC
3169
3200
  },
3170
3201
  });
3171
3202
 
3203
+ Object .defineProperties (NurbsCurve2D,
3204
+ {
3205
+ typeName:
3206
+ {
3207
+ value: "NurbsCurve2D",
3208
+ enumerable: true,
3209
+ },
3210
+ componentName:
3211
+ {
3212
+ value: "NURBS",
3213
+ enumerable: true,
3214
+ },
3215
+ containerField:
3216
+ {
3217
+ value: "children",
3218
+ enumerable: true,
3219
+ },
3220
+ specificationRange:
3221
+ {
3222
+ value: Object .freeze (["3.0", "Infinity"]),
3223
+ enumerable: true,
3224
+ },
3225
+ fieldDefinitions:
3226
+ {
3227
+ value: new (FieldDefinitionArray_default()) ([
3228
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3229
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tessellation", new (Fields_default()).SFInt32 ()),
3230
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "closed", new (Fields_default()).SFBool ()),
3231
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "order", new (Fields_default()).SFInt32 (3)),
3232
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "knot", new (Fields_default()).MFDouble ()),
3233
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
3234
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).MFVec2d ()),
3235
+ ]),
3236
+ enumerable: true,
3237
+ },
3238
+ });
3239
+
3172
3240
  const NurbsCurve2D_default_ = NurbsCurve2D;
3173
3241
  ;
3174
3242
 
3175
3243
  Namespace_default().set ("x_ite/Components/NURBS/NurbsCurve2D", NurbsCurve2D_default_);
3176
3244
  /* harmony default export */ const NURBS_NurbsCurve2D = (NurbsCurve2D_default_);
3177
3245
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
3178
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Core/X3DChildNode");
3246
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Core/X3DChildNode");
3179
3247
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
3180
3248
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/OrientationInterpolator\")"
3181
- const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Interpolation/OrientationInterpolator");
3249
+ const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Interpolation/OrientationInterpolator");
3182
3250
  var OrientationInterpolator_default = /*#__PURE__*/__webpack_require__.n(OrientationInterpolator_namespaceObject);
3183
3251
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
3184
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("standard/Math/Numbers/Rotation4");
3252
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Rotation4");
3185
3253
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
3186
3254
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js
3187
3255
  /*******************************************************************************
@@ -3259,37 +3327,11 @@ function NurbsOrientationInterpolator (executionContext)
3259
3327
  this .sampleOptions = { resolution: [ 128 ] };
3260
3328
  }
3261
3329
 
3262
- NurbsOrientationInterpolator .prototype = Object .assign (Object .create ((X3DChildNode_default()).prototype),
3330
+ Object .assign (Object .setPrototypeOf (NurbsOrientationInterpolator .prototype, (X3DChildNode_default()).prototype),
3263
3331
  {
3264
- constructor: NurbsOrientationInterpolator,
3265
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
3266
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3267
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFFloat ()),
3268
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "order", new (Fields_default()).SFInt32 (3)),
3269
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "knot", new (Fields_default()).MFDouble ()),
3270
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
3271
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
3272
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "value_changed", new (Fields_default()).SFRotation ()),
3273
- ]),
3274
- getTypeName: function ()
3332
+ initialize ()
3275
3333
  {
3276
- return "NurbsOrientationInterpolator";
3277
- },
3278
- getComponentName: function ()
3279
- {
3280
- return "NURBS";
3281
- },
3282
- getContainerField: function ()
3283
- {
3284
- return "children";
3285
- },
3286
- getSpecificationRange: function ()
3287
- {
3288
- return ["3.0", "Infinity"];
3289
- },
3290
- initialize: function ()
3291
- {
3292
- X3DChildNode_default().prototype.initialize.call (this);
3334
+ X3DChildNode_default().prototype .initialize .call (this);
3293
3335
 
3294
3336
  this ._order .addInterest ("requestRebuild", this);
3295
3337
  this ._knot .addInterest ("requestRebuild", this);
@@ -3305,7 +3347,7 @@ NurbsOrientationInterpolator .prototype = Object .assign (Object .create ((X3DCh
3305
3347
 
3306
3348
  this .set_controlPoint__ ();
3307
3349
  },
3308
- set_controlPoint__: function ()
3350
+ set_controlPoint__ ()
3309
3351
  {
3310
3352
  if (this .controlPointNode)
3311
3353
  this .controlPointNode .removeInterest ("requestRebuild", this);
@@ -3317,27 +3359,27 @@ NurbsOrientationInterpolator .prototype = Object .assign (Object .create ((X3DCh
3317
3359
 
3318
3360
  this .requestRebuild ();
3319
3361
  },
3320
- getClosed: function (order, knot, weight, controlPointNode)
3362
+ getClosed (order, knot, weight, controlPointNode)
3321
3363
  {
3322
3364
  return false && 0;
3323
3365
  },
3324
- getKnots: function (result, closed, order, dimension, knot)
3366
+ getKnots (result, closed, order, dimension, knot)
3325
3367
  {
3326
- return NURBS_NURBS.getKnots (result, closed, order, dimension, knot);
3368
+ return NURBS_NURBS .getKnots (result, closed, order, dimension, knot);
3327
3369
  },
3328
- getWeights: function (result, dimension, weight)
3370
+ getWeights (result, dimension, weight)
3329
3371
  {
3330
- return NURBS_NURBS.getWeights (result, dimension, weight);
3372
+ return NURBS_NURBS .getWeights (result, dimension, weight);
3331
3373
  },
3332
- getControlPoints: function (result, closed, order, weights, controlPointNode)
3374
+ getControlPoints (result, closed, order, weights, controlPointNode)
3333
3375
  {
3334
- return NURBS_NURBS.getControlPoints (result, closed, order, weights, controlPointNode);
3376
+ return NURBS_NURBS .getControlPoints (result, closed, order, weights, controlPointNode);
3335
3377
  },
3336
- requestRebuild: function ()
3378
+ requestRebuild ()
3337
3379
  {
3338
3380
  this ._rebuild .addEvent ();
3339
3381
  },
3340
- build: function ()
3382
+ build ()
3341
3383
  {
3342
3384
  if (this ._order .getValue () < 2)
3343
3385
  return;
@@ -3376,7 +3418,7 @@ NurbsOrientationInterpolator .prototype = Object .assign (Object .create ((X3DCh
3376
3418
  this .sampleOptions .haveWeights = !! weights;
3377
3419
 
3378
3420
  const
3379
- mesh = nurbs_nurbs.sample (this .mesh, surface, this .sampleOptions),
3421
+ mesh = nurbs_nurbs .sample (this .mesh, surface, this .sampleOptions),
3380
3422
  points = mesh .points,
3381
3423
  interpolator = this .interpolator;
3382
3424
 
@@ -3401,13 +3443,50 @@ NurbsOrientationInterpolator .prototype = Object .assign (Object .create ((X3DCh
3401
3443
  },
3402
3444
  });
3403
3445
 
3446
+ Object .defineProperties (NurbsOrientationInterpolator,
3447
+ {
3448
+ typeName:
3449
+ {
3450
+ value: "NurbsOrientationInterpolator",
3451
+ enumerable: true,
3452
+ },
3453
+ componentName:
3454
+ {
3455
+ value: "NURBS",
3456
+ enumerable: true,
3457
+ },
3458
+ containerField:
3459
+ {
3460
+ value: "children",
3461
+ enumerable: true,
3462
+ },
3463
+ specificationRange:
3464
+ {
3465
+ value: Object .freeze (["3.0", "Infinity"]),
3466
+ enumerable: true,
3467
+ },
3468
+ fieldDefinitions:
3469
+ {
3470
+ value: new (FieldDefinitionArray_default()) ([
3471
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3472
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFFloat ()),
3473
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "order", new (Fields_default()).SFInt32 (3)),
3474
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "knot", new (Fields_default()).MFDouble ()),
3475
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
3476
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
3477
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "value_changed", new (Fields_default()).SFRotation ()),
3478
+ ]),
3479
+ enumerable: true,
3480
+ },
3481
+ });
3482
+
3404
3483
  const NurbsOrientationInterpolator_default_ = NurbsOrientationInterpolator;
3405
3484
  ;
3406
3485
 
3407
3486
  Namespace_default().set ("x_ite/Components/NURBS/NurbsOrientationInterpolator", NurbsOrientationInterpolator_default_);
3408
3487
  /* harmony default export */ const NURBS_NurbsOrientationInterpolator = (NurbsOrientationInterpolator_default_);
3409
3488
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
3410
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("standard/Math/Algorithm");
3489
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Algorithm");
3411
3490
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
3412
3491
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js
3413
3492
  /*******************************************************************************
@@ -3468,7 +3547,7 @@ var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceOb
3468
3547
 
3469
3548
  function X3DNurbsSurfaceGeometryNode (executionContext)
3470
3549
  {
3471
- NURBS_X3DParametricGeometryNode.call (this, executionContext);
3550
+ NURBS_X3DParametricGeometryNode .call (this, executionContext);
3472
3551
 
3473
3552
  this .addType ((X3DConstants_default()).X3DNurbsSurfaceGeometryNode);
3474
3553
 
@@ -3486,12 +3565,11 @@ function X3DNurbsSurfaceGeometryNode (executionContext)
3486
3565
  this .texMesh = { };
3487
3566
  }
3488
3567
 
3489
- X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X3DParametricGeometryNode.prototype),
3568
+ Object .assign (Object .setPrototypeOf (X3DNurbsSurfaceGeometryNode .prototype, NURBS_X3DParametricGeometryNode .prototype),
3490
3569
  {
3491
- constructor: X3DNurbsSurfaceGeometryNode,
3492
- initialize: function ()
3570
+ initialize ()
3493
3571
  {
3494
- NURBS_X3DParametricGeometryNode.prototype.initialize.call (this);
3572
+ NURBS_X3DParametricGeometryNode .prototype .initialize .call (this);
3495
3573
 
3496
3574
  this ._texCoord .addInterest ("set_texCoord__", this);
3497
3575
  this ._controlPoint .addInterest ("set_controlPoint__", this);
@@ -3499,7 +3577,7 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
3499
3577
  this .set_texCoord__ ();
3500
3578
  this .set_controlPoint__ ();
3501
3579
  },
3502
- set_texCoord__: function ()
3580
+ set_texCoord__ ()
3503
3581
  {
3504
3582
  this .texCoordNode ?.removeInterest ("requestRebuild", this);
3505
3583
  this .nurbsTexCoordNode ?.removeInterest ("requestRebuild", this);
@@ -3510,7 +3588,7 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
3510
3588
  this .texCoordNode ?.addInterest ("requestRebuild", this);
3511
3589
  this .nurbsTexCoordNode ?.addInterest ("requestRebuild", this);
3512
3590
  },
3513
- set_controlPoint__: function ()
3591
+ set_controlPoint__ ()
3514
3592
  {
3515
3593
  if (this .controlPointNode)
3516
3594
  this .controlPointNode .removeInterest ("requestRebuild", this);
@@ -3520,51 +3598,51 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
3520
3598
  if (this .controlPointNode)
3521
3599
  this .controlPointNode .addInterest ("requestRebuild", this);
3522
3600
  },
3523
- setTessellationScale: function (value)
3601
+ setTessellationScale (value)
3524
3602
  {
3525
3603
  this .tessellationScale = value;
3526
3604
 
3527
3605
  this .requestRebuild ();
3528
3606
  },
3529
- getUTessellation: function (numKnots)
3607
+ getUTessellation (numKnots)
3530
3608
  {
3531
- return Math .floor (NURBS_NURBS.getTessellation (this ._uTessellation .getValue (), numKnots - this ._uOrder .getValue ()) * this .tessellationScale);
3609
+ return Math .floor (NURBS_NURBS .getTessellation (this ._uTessellation .getValue (), numKnots - this ._uOrder .getValue ()) * this .tessellationScale);
3532
3610
  },
3533
- getVTessellation: function (numKnots)
3611
+ getVTessellation (numKnots)
3534
3612
  {
3535
- return Math .floor (NURBS_NURBS.getTessellation (this ._vTessellation .getValue (), numKnots - this ._vOrder .getValue ()) * this .tessellationScale);
3613
+ return Math .floor (NURBS_NURBS .getTessellation (this ._vTessellation .getValue (), numKnots - this ._vOrder .getValue ()) * this .tessellationScale);
3536
3614
  },
3537
- getUClosed: function (uOrder, uDimension, vDimension, uKnot, weight, controlPointNode)
3615
+ getUClosed (uOrder, uDimension, vDimension, uKnot, weight, controlPointNode)
3538
3616
  {
3539
3617
  if (this ._uClosed .getValue ())
3540
- return NURBS_NURBS.getUClosed (uOrder, uDimension, vDimension, uKnot, weight, controlPointNode);
3618
+ return NURBS_NURBS .getUClosed (uOrder, uDimension, vDimension, uKnot, weight, controlPointNode);
3541
3619
 
3542
3620
  return false;
3543
3621
  },
3544
- getVClosed: function (vOrder, uDimension, vDimension, vKnot, weight, controlPointNode)
3622
+ getVClosed (vOrder, uDimension, vDimension, vKnot, weight, controlPointNode)
3545
3623
  {
3546
3624
  if (this ._vClosed .getValue ())
3547
- return NURBS_NURBS.getVClosed (vOrder, uDimension, vDimension, vKnot, weight, controlPointNode);
3625
+ return NURBS_NURBS .getVClosed (vOrder, uDimension, vDimension, vKnot, weight, controlPointNode);
3548
3626
 
3549
3627
  return false;
3550
3628
  },
3551
- getUVWeights: function (result, uDimension, vDimension, weight)
3629
+ getUVWeights (result, uDimension, vDimension, weight)
3552
3630
  {
3553
- return NURBS_NURBS.getUVWeights (result, uDimension, vDimension, weight);
3631
+ return NURBS_NURBS .getUVWeights (result, uDimension, vDimension, weight);
3554
3632
  },
3555
- getTexControlPoints: function (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, texCoordNode)
3633
+ getTexControlPoints (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, texCoordNode)
3556
3634
  {
3557
- return NURBS_NURBS.getTexControlPoints (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, texCoordNode);
3635
+ return NURBS_NURBS .getTexControlPoints (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, texCoordNode);
3558
3636
  },
3559
- getUVControlPoints: function (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, weights, controlPointNode)
3637
+ getUVControlPoints (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, weights, controlPointNode)
3560
3638
  {
3561
- return NURBS_NURBS.getUVControlPoints (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, weights, controlPointNode);
3639
+ return NURBS_NURBS .getUVControlPoints (result, uClosed, vClosed, uOrder, vOrder, uDimension, vDimension, weights, controlPointNode);
3562
3640
  },
3563
- getTrimmingContours: function ()
3641
+ getTrimmingContours ()
3564
3642
  {
3565
3643
  return undefined;
3566
3644
  },
3567
- build: function ()
3645
+ build ()
3568
3646
  {
3569
3647
  if (this ._uOrder .getValue () < 2)
3570
3648
  return;
@@ -3627,7 +3705,7 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
3627
3705
  sampleOptions .trimmingContours = this .getTrimmingContours ();
3628
3706
 
3629
3707
  const
3630
- mesh = nurbs_nurbs.sample (this .mesh, surface, sampleOptions),
3708
+ mesh = nurbs_nurbs .sample (this .mesh, surface, sampleOptions),
3631
3709
  faces = mesh .faces,
3632
3710
  points = mesh .points,
3633
3711
  vertexArray = this .getVertices ();
@@ -3706,7 +3784,7 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
3706
3784
  sampleOptions .haveWeights = false;
3707
3785
 
3708
3786
  const
3709
- texMesh = nurbs_nurbs.sample (this .texMesh, texSurface, sampleOptions),
3787
+ texMesh = nurbs_nurbs .sample (this .texMesh, texSurface, sampleOptions),
3710
3788
  faces = texMesh .faces,
3711
3789
  points = texMesh .points,
3712
3790
  texCoordArray = this .getTexCoords ();
@@ -3721,7 +3799,7 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
3721
3799
  this .getMultiTexCoords () .push (this .getTexCoords ());
3722
3800
  };
3723
3801
  })(),
3724
- buildNormals: function (faces, points)
3802
+ buildNormals (faces, points)
3725
3803
  {
3726
3804
  const
3727
3805
  normals = this .createNormals (faces, points),
@@ -3730,7 +3808,7 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
3730
3808
  for (const normal of normals)
3731
3809
  normalArray .push (normal .x, normal .y, normal .z);
3732
3810
  },
3733
- createNormals: function (faces, points)
3811
+ createNormals (faces, points)
3734
3812
  {
3735
3813
  const
3736
3814
  normals = this .createFaceNormals (faces, points),
@@ -3788,6 +3866,20 @@ X3DNurbsSurfaceGeometryNode .prototype = Object .assign (Object .create (NURBS_X
3788
3866
  })(),
3789
3867
  });
3790
3868
 
3869
+ Object .defineProperties (X3DNurbsSurfaceGeometryNode,
3870
+ {
3871
+ typeName:
3872
+ {
3873
+ value: "X3DNurbsSurfaceGeometryNode",
3874
+ enumerable: true,
3875
+ },
3876
+ componentName:
3877
+ {
3878
+ value: "NURBS",
3879
+ enumerable: true,
3880
+ },
3881
+ });
3882
+
3791
3883
  const X3DNurbsSurfaceGeometryNode_default_ = X3DNurbsSurfaceGeometryNode;
3792
3884
  ;
3793
3885
 
@@ -3849,46 +3941,55 @@ Namespace_default().set ("x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode", X
3849
3941
 
3850
3942
  function NurbsPatchSurface (executionContext)
3851
3943
  {
3852
- NURBS_X3DNurbsSurfaceGeometryNode.call (this, executionContext);
3944
+ NURBS_X3DNurbsSurfaceGeometryNode .call (this, executionContext);
3853
3945
 
3854
3946
  this .addType ((X3DConstants_default()).NurbsPatchSurface);
3855
3947
  }
3856
3948
 
3857
- NurbsPatchSurface .prototype = Object .assign (Object .create (NURBS_X3DNurbsSurfaceGeometryNode.prototype),
3949
+ Object .setPrototypeOf (NurbsPatchSurface .prototype, NURBS_X3DNurbsSurfaceGeometryNode .prototype);
3950
+
3951
+ Object .defineProperties (NurbsPatchSurface,
3858
3952
  {
3859
- constructor: NurbsPatchSurface,
3860
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
3861
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3862
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
3863
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "uTessellation", new (Fields_default()).SFInt32 ()),
3864
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "vTessellation", new (Fields_default()).SFInt32 ()),
3865
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uClosed", new (Fields_default()).SFBool ()),
3866
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vClosed", new (Fields_default()).SFBool ()),
3867
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uOrder", new (Fields_default()).SFInt32 (3)),
3868
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vOrder", new (Fields_default()).SFInt32 (3)),
3869
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uDimension", new (Fields_default()).SFInt32 ()),
3870
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vDimension", new (Fields_default()).SFInt32 ()),
3871
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uKnot", new (Fields_default()).MFDouble ()),
3872
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vKnot", new (Fields_default()).MFDouble ()),
3873
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
3874
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
3875
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
3876
- ]),
3877
- getTypeName: function ()
3953
+ typeName:
3954
+ {
3955
+ value: "NurbsPatchSurface",
3956
+ enumerable: true,
3957
+ },
3958
+ componentName:
3878
3959
  {
3879
- return "NurbsPatchSurface";
3960
+ value: "NURBS",
3961
+ enumerable: true,
3880
3962
  },
3881
- getComponentName: function ()
3963
+ containerField:
3882
3964
  {
3883
- return "NURBS";
3965
+ value: "geometry",
3966
+ enumerable: true,
3884
3967
  },
3885
- getContainerField: function ()
3968
+ specificationRange:
3886
3969
  {
3887
- return "geometry";
3970
+ value: Object .freeze (["3.0", "Infinity"]),
3971
+ enumerable: true,
3888
3972
  },
3889
- getSpecificationRange: function ()
3973
+ fieldDefinitions:
3890
3974
  {
3891
- return ["3.0", "Infinity"];
3975
+ value: new (FieldDefinitionArray_default()) ([
3976
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3977
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
3978
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "uTessellation", new (Fields_default()).SFInt32 ()),
3979
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "vTessellation", new (Fields_default()).SFInt32 ()),
3980
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uClosed", new (Fields_default()).SFBool ()),
3981
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vClosed", new (Fields_default()).SFBool ()),
3982
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uOrder", new (Fields_default()).SFInt32 (3)),
3983
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vOrder", new (Fields_default()).SFInt32 (3)),
3984
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uDimension", new (Fields_default()).SFInt32 ()),
3985
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vDimension", new (Fields_default()).SFInt32 ()),
3986
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uKnot", new (Fields_default()).MFDouble ()),
3987
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vKnot", new (Fields_default()).MFDouble ()),
3988
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
3989
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
3990
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
3991
+ ]),
3992
+ enumerable: true,
3892
3993
  },
3893
3994
  });
3894
3995
 
@@ -3898,7 +3999,7 @@ const NurbsPatchSurface_default_ = NurbsPatchSurface;
3898
3999
  Namespace_default().set ("x_ite/Components/NURBS/NurbsPatchSurface", NurbsPatchSurface_default_);
3899
4000
  /* harmony default export */ const NURBS_NurbsPatchSurface = (NurbsPatchSurface_default_);
3900
4001
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/PositionInterpolator\")"
3901
- const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Interpolation/PositionInterpolator");
4002
+ const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Interpolation/PositionInterpolator");
3902
4003
  var PositionInterpolator_default = /*#__PURE__*/__webpack_require__.n(PositionInterpolator_namespaceObject);
3903
4004
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsPositionInterpolator.js
3904
4005
  /*******************************************************************************
@@ -3974,37 +4075,11 @@ function NurbsPositionInterpolator (executionContext)
3974
4075
  this .sampleOptions = { resolution: [ 128 ] };
3975
4076
  }
3976
4077
 
3977
- NurbsPositionInterpolator .prototype = Object .assign (Object .create ((X3DChildNode_default()).prototype),
4078
+ Object .assign (Object .setPrototypeOf (NurbsPositionInterpolator .prototype, (X3DChildNode_default()).prototype),
3978
4079
  {
3979
- constructor: NurbsPositionInterpolator,
3980
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
3981
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
3982
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFFloat ()),
3983
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "order", new (Fields_default()).SFInt32 (3)),
3984
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "knot", new (Fields_default()).MFDouble ()),
3985
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
3986
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
3987
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "value_changed", new (Fields_default()).SFVec3f ()),
3988
- ]),
3989
- getTypeName: function ()
3990
- {
3991
- return "NurbsPositionInterpolator";
3992
- },
3993
- getComponentName: function ()
3994
- {
3995
- return "NURBS";
3996
- },
3997
- getContainerField: function ()
4080
+ initialize ()
3998
4081
  {
3999
- return "children";
4000
- },
4001
- getSpecificationRange: function ()
4002
- {
4003
- return ["3.0", "Infinity"];
4004
- },
4005
- initialize: function ()
4006
- {
4007
- X3DChildNode_default().prototype.initialize.call (this);
4082
+ X3DChildNode_default().prototype .initialize .call (this);
4008
4083
 
4009
4084
  this ._order .addInterest ("requestRebuild", this);
4010
4085
  this ._knot .addInterest ("requestRebuild", this);
@@ -4020,7 +4095,7 @@ NurbsPositionInterpolator .prototype = Object .assign (Object .create ((X3DChild
4020
4095
 
4021
4096
  this .set_controlPoint__ ();
4022
4097
  },
4023
- set_controlPoint__: function ()
4098
+ set_controlPoint__ ()
4024
4099
  {
4025
4100
  if (this .controlPointNode)
4026
4101
  this .controlPointNode .removeInterest ("requestRebuild", this);
@@ -4032,27 +4107,27 @@ NurbsPositionInterpolator .prototype = Object .assign (Object .create ((X3DChild
4032
4107
 
4033
4108
  this .requestRebuild ();
4034
4109
  },
4035
- getClosed: function (order, knot, weight, controlPointNode)
4110
+ getClosed (order, knot, weight, controlPointNode)
4036
4111
  {
4037
4112
  return false && 0;
4038
4113
  },
4039
- getKnots: function (result, closed, order, dimension, knot)
4114
+ getKnots (result, closed, order, dimension, knot)
4040
4115
  {
4041
- return NURBS_NURBS.getKnots (result, closed, order, dimension, knot);
4116
+ return NURBS_NURBS .getKnots (result, closed, order, dimension, knot);
4042
4117
  },
4043
- getWeights: function (result, dimension, weight)
4118
+ getWeights (result, dimension, weight)
4044
4119
  {
4045
- return NURBS_NURBS.getWeights (result, dimension, weight);
4120
+ return NURBS_NURBS .getWeights (result, dimension, weight);
4046
4121
  },
4047
- getControlPoints: function (result, closed, order, weights, controlPointNode)
4122
+ getControlPoints (result, closed, order, weights, controlPointNode)
4048
4123
  {
4049
- return NURBS_NURBS.getControlPoints (result, closed, order, weights, controlPointNode);
4124
+ return NURBS_NURBS .getControlPoints (result, closed, order, weights, controlPointNode);
4050
4125
  },
4051
- requestRebuild: function ()
4126
+ requestRebuild ()
4052
4127
  {
4053
4128
  this ._rebuild .addEvent ();
4054
4129
  },
4055
- build: function ()
4130
+ build ()
4056
4131
  {
4057
4132
  if (this ._order .getValue () < 2)
4058
4133
  return;
@@ -4091,7 +4166,7 @@ NurbsPositionInterpolator .prototype = Object .assign (Object .create ((X3DChild
4091
4166
  this .sampleOptions .haveWeights = !! weights;
4092
4167
 
4093
4168
  const
4094
- mesh = nurbs_nurbs.sample (this .mesh, surface, this .sampleOptions),
4169
+ mesh = nurbs_nurbs .sample (this .mesh, surface, this .sampleOptions),
4095
4170
  points = mesh .points,
4096
4171
  interpolator = this .interpolator;
4097
4172
 
@@ -4106,13 +4181,50 @@ NurbsPositionInterpolator .prototype = Object .assign (Object .create ((X3DChild
4106
4181
  },
4107
4182
  });
4108
4183
 
4184
+ Object .defineProperties (NurbsPositionInterpolator,
4185
+ {
4186
+ typeName:
4187
+ {
4188
+ value: "NurbsPositionInterpolator",
4189
+ enumerable: true,
4190
+ },
4191
+ componentName:
4192
+ {
4193
+ value: "NURBS",
4194
+ enumerable: true,
4195
+ },
4196
+ containerField:
4197
+ {
4198
+ value: "children",
4199
+ enumerable: true,
4200
+ },
4201
+ specificationRange:
4202
+ {
4203
+ value: Object .freeze (["3.0", "Infinity"]),
4204
+ enumerable: true,
4205
+ },
4206
+ fieldDefinitions:
4207
+ {
4208
+ value: new (FieldDefinitionArray_default()) ([
4209
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4210
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFFloat ()),
4211
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "order", new (Fields_default()).SFInt32 (3)),
4212
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "knot", new (Fields_default()).MFDouble ()),
4213
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
4214
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
4215
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "value_changed", new (Fields_default()).SFVec3f ()),
4216
+ ]),
4217
+ enumerable: true,
4218
+ },
4219
+ });
4220
+
4109
4221
  const NurbsPositionInterpolator_default_ = NurbsPositionInterpolator;
4110
4222
  ;
4111
4223
 
4112
4224
  Namespace_default().set ("x_ite/Components/NURBS/NurbsPositionInterpolator", NurbsPositionInterpolator_default_);
4113
4225
  /* harmony default export */ const NURBS_NurbsPositionInterpolator = (NurbsPositionInterpolator_default_);
4114
4226
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
4115
- const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
4227
+ const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
4116
4228
  var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
4117
4229
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSet.js
4118
4230
  /*******************************************************************************
@@ -4180,41 +4292,13 @@ function NurbsSet (executionContext)
4180
4292
  this .geometryNodes = [ ];
4181
4293
  }
4182
4294
 
4183
- NurbsSet .prototype = Object .assign (Object .create ((X3DChildNode_default()).prototype),
4295
+ Object .assign (Object .setPrototypeOf (NurbsSet .prototype, (X3DChildNode_default()).prototype),
4184
4296
  (X3DBoundedObject_default()).prototype,
4185
4297
  {
4186
- constructor: NurbsSet,
4187
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
4188
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4189
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tessellationScale", new (Fields_default()).SFFloat (1)),
4190
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
4191
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
4192
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
4193
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
4194
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addGeometry", new (Fields_default()).MFNode ()),
4195
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeGeometry", new (Fields_default()).MFNode ()),
4196
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geometry", new (Fields_default()).MFNode ()),
4197
- ]),
4198
- getTypeName: function ()
4199
- {
4200
- return "NurbsSet";
4201
- },
4202
- getComponentName: function ()
4298
+ initialize ()
4203
4299
  {
4204
- return "NURBS";
4205
- },
4206
- getContainerField: function ()
4207
- {
4208
- return "children";
4209
- },
4210
- getSpecificationRange: function ()
4211
- {
4212
- return ["3.0", "Infinity"];
4213
- },
4214
- initialize: function ()
4215
- {
4216
- X3DChildNode_default().prototype.initialize.call (this);
4217
- X3DBoundedObject_default().prototype.initialize.call (this);
4300
+ X3DChildNode_default().prototype .initialize .call (this);
4301
+ X3DBoundedObject_default().prototype .initialize .call (this);
4218
4302
 
4219
4303
  this ._tessellationScale .addInterest ("set_tessellationScale__", this);
4220
4304
  this ._addGeometry .addInterest ("set_addGeometry__", this);
@@ -4223,7 +4307,7 @@ NurbsSet .prototype = Object .assign (Object .create ((X3DChildNode_default()).p
4223
4307
 
4224
4308
  this .set_geometry__ ();
4225
4309
  },
4226
- getBBox: function (bbox, shadows)
4310
+ getBBox (bbox, shadows)
4227
4311
  {
4228
4312
  // Add bounding boxes
4229
4313
 
@@ -4232,20 +4316,17 @@ NurbsSet .prototype = Object .assign (Object .create ((X3DChildNode_default()).p
4232
4316
 
4233
4317
  return bbox;
4234
4318
  },
4235
- set_tessellationScale__: function ()
4319
+ set_tessellationScale__ ()
4236
4320
  {
4237
4321
  const tessellationScale = Math .max (0, this ._tessellationScale .getValue ());
4238
4322
 
4239
4323
  for (const geometryNode of this .geometryNodes)
4240
4324
  geometryNode .setTessellationScale (tessellationScale);
4241
4325
  },
4242
- set_addGeometry__: function ()
4326
+ set_addGeometry__ ()
4243
4327
  {
4244
4328
  this ._addGeometry .setTainted (true);
4245
-
4246
- this ._addGeometry .erase (NurbsSet_remove (this ._addGeometry, 0, this ._addGeometry .length,
4247
- this ._geometry, 0, this ._geometry .length),
4248
- this ._addGeometry .length);
4329
+ this ._addGeometry .assign (NurbsSet_filter (this ._addGeometry, this ._geometry));
4249
4330
 
4250
4331
  for (const geometry of this ._addGeometry)
4251
4332
  this ._geometry .push (geometry);
@@ -4253,18 +4334,15 @@ NurbsSet .prototype = Object .assign (Object .create ((X3DChildNode_default()).p
4253
4334
  this ._addGeometry .length = 0;
4254
4335
  this ._addGeometry .setTainted (false);
4255
4336
  },
4256
- set_removeGeometry__: function ()
4337
+ set_removeGeometry__ ()
4257
4338
  {
4258
4339
  this ._removeGeometry .setTainted (true);
4259
-
4260
- this ._geometry .erase (NurbsSet_remove (this ._geometry, 0, this ._geometry .length,
4261
- this ._removeGeometry, 0, this ._removeGeometry .length),
4262
- this ._geometry .length);
4340
+ this ._geometry .assign (NurbsSet_filter (this ._geometry, this ._removeGeometry));
4263
4341
 
4264
4342
  this ._removeGeometry .length = 0;
4265
4343
  this ._removeGeometry .setTainted (false);
4266
4344
  },
4267
- set_geometry__: function ()
4345
+ set_geometry__ ()
4268
4346
  {
4269
4347
  for (const geometryNode of this .geometryNodes)
4270
4348
  geometryNode .setTessellationScale (1);
@@ -4281,30 +4359,66 @@ NurbsSet .prototype = Object .assign (Object .create ((X3DChildNode_default()).p
4281
4359
 
4282
4360
  this .set_tessellationScale__ ();
4283
4361
  },
4284
- dispose: function ()
4362
+ dispose ()
4285
4363
  {
4286
- X3DBoundedObject_default().prototype.dispose.call (this);
4287
- X3DChildNode_default().prototype.dispose.call (this);
4364
+ X3DBoundedObject_default().prototype .dispose .call (this);
4365
+ X3DChildNode_default().prototype .dispose .call (this);
4288
4366
  },
4289
4367
  });
4290
4368
 
4291
- function NurbsSet_remove (array, first, last, range, rfirst, rlast)
4369
+ function NurbsSet_filter (array, remove)
4292
4370
  {
4293
- const set = new Set ();
4294
-
4295
- for (let i = rfirst; i < rlast; ++ i)
4296
- set .add (range [i]);
4371
+ const set = new Set (remove);
4297
4372
 
4298
- return array .remove (first, last, value => set .has (value));
4373
+ return array .filter (value => !set .has (value));
4299
4374
  }
4300
4375
 
4376
+ Object .defineProperties (NurbsSet,
4377
+ {
4378
+ typeName:
4379
+ {
4380
+ value: "NurbsSet",
4381
+ enumerable: true,
4382
+ },
4383
+ componentName:
4384
+ {
4385
+ value: "NURBS",
4386
+ enumerable: true,
4387
+ },
4388
+ containerField:
4389
+ {
4390
+ value: "children",
4391
+ enumerable: true,
4392
+ },
4393
+ specificationRange:
4394
+ {
4395
+ value: Object .freeze (["3.0", "Infinity"]),
4396
+ enumerable: true,
4397
+ },
4398
+ fieldDefinitions:
4399
+ {
4400
+ value: new (FieldDefinitionArray_default()) ([
4401
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4402
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tessellationScale", new (Fields_default()).SFFloat (1)),
4403
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
4404
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
4405
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
4406
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
4407
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addGeometry", new (Fields_default()).MFNode ()),
4408
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeGeometry", new (Fields_default()).MFNode ()),
4409
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geometry", new (Fields_default()).MFNode ()),
4410
+ ]),
4411
+ enumerable: true,
4412
+ },
4413
+ });
4414
+
4301
4415
  const NurbsSet_default_ = NurbsSet;
4302
4416
  ;
4303
4417
 
4304
4418
  Namespace_default().set ("x_ite/Components/NURBS/NurbsSet", NurbsSet_default_);
4305
4419
  /* harmony default export */ const NURBS_NurbsSet = (NurbsSet_default_);
4306
4420
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Line3\")"
4307
- const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("standard/Math/Geometry/Line3");
4421
+ const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Geometry/Line3");
4308
4422
  var Line3_default = /*#__PURE__*/__webpack_require__.n(Line3_namespaceObject);
4309
4423
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle2.js
4310
4424
  /*******************************************************************************
@@ -4354,8 +4468,9 @@ var Line3_default = /*#__PURE__*/__webpack_require__.n(Line3_namespaceObject);
4354
4468
  *
4355
4469
  ******************************************************************************/
4356
4470
 
4357
- const Trinagle2 = {
4358
- isPointInTriangle: function (a, b, c, point)
4471
+ const Triangle2 =
4472
+ {
4473
+ isPointInTriangle (a, b, c, point)
4359
4474
  {
4360
4475
  // https://en.wikipedia.org/wiki/Barycentric_coordinate_system
4361
4476
 
@@ -4383,11 +4498,11 @@ const Trinagle2 = {
4383
4498
  },
4384
4499
  };
4385
4500
 
4386
- const Triangle2_default_ = Trinagle2;
4501
+ const Triangle2_default_ = Triangle2;
4387
4502
  ;
4388
4503
 
4389
4504
  Namespace_default().set ("standard/Math/Geometry/Triangle2", Triangle2_default_);
4390
- /* harmony default export */ const Triangle2 = (Triangle2_default_);
4505
+ /* harmony default export */ const Geometry_Triangle2 = (Triangle2_default_);
4391
4506
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js
4392
4507
  /*******************************************************************************
4393
4508
  *
@@ -4455,40 +4570,9 @@ function NurbsSurfaceInterpolator (executionContext)
4455
4570
  this .geometry = new NURBS_NurbsPatchSurface (executionContext);
4456
4571
  }
4457
4572
 
4458
- NurbsSurfaceInterpolator .prototype = Object .assign (Object .create ((X3DChildNode_default()).prototype),
4573
+ Object .assign (Object .setPrototypeOf (NurbsSurfaceInterpolator .prototype, (X3DChildNode_default()).prototype),
4459
4574
  {
4460
- constructor: NurbsSurfaceInterpolator,
4461
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
4462
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4463
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFVec2f ()),
4464
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uOrder", new (Fields_default()).SFInt32 (3)),
4465
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vOrder", new (Fields_default()).SFInt32 (3)),
4466
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uDimension", new (Fields_default()).SFInt32 ()),
4467
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vDimension", new (Fields_default()).SFInt32 ()),
4468
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uKnot", new (Fields_default()).MFDouble ()),
4469
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vKnot", new (Fields_default()).MFDouble ()),
4470
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
4471
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
4472
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "normal_changed", new (Fields_default()).SFVec3f ()),
4473
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "position_changed", new (Fields_default()).SFVec3f ()),
4474
- ]),
4475
- getTypeName: function ()
4476
- {
4477
- return "NurbsSurfaceInterpolator";
4478
- },
4479
- getComponentName: function ()
4480
- {
4481
- return "NURBS";
4482
- },
4483
- getContainerField: function ()
4484
- {
4485
- return "children";
4486
- },
4487
- getSpecificationRange: function ()
4488
- {
4489
- return ["3.0", "Infinity"];
4490
- },
4491
- initialize: function ()
4575
+ initialize ()
4492
4576
  {
4493
4577
  this ._set_fraction .addInterest ("set_fraction__", this);
4494
4578
 
@@ -4538,7 +4622,7 @@ NurbsSurfaceInterpolator .prototype = Object .assign (Object .create ((X3DChildN
4538
4622
  b .set (texCoordsArray [i4 + 4], texCoordsArray [i4 + 5], 0);
4539
4623
  c .set (texCoordsArray [i4 + 7], texCoordsArray [i4 + 9], 0);
4540
4624
 
4541
- if (Triangle2.isPointInTriangle (a, b, c, fraction))
4625
+ if (Geometry_Triangle2 .isPointInTriangle (a, b, c, fraction))
4542
4626
  {
4543
4627
  line .set (point .set (fraction .x, fraction .y, 0), (Vector3_default()).zAxis);
4544
4628
 
@@ -4566,13 +4650,55 @@ NurbsSurfaceInterpolator .prototype = Object .assign (Object .create ((X3DChildN
4566
4650
  })(),
4567
4651
  });
4568
4652
 
4653
+ Object .defineProperties (NurbsSurfaceInterpolator,
4654
+ {
4655
+ typeName:
4656
+ {
4657
+ value: "NurbsSurfaceInterpolator",
4658
+ enumerable: true,
4659
+ },
4660
+ componentName:
4661
+ {
4662
+ value: "NURBS",
4663
+ enumerable: true,
4664
+ },
4665
+ containerField:
4666
+ {
4667
+ value: "children",
4668
+ enumerable: true,
4669
+ },
4670
+ specificationRange:
4671
+ {
4672
+ value: Object .freeze (["3.0", "Infinity"]),
4673
+ enumerable: true,
4674
+ },
4675
+ fieldDefinitions:
4676
+ {
4677
+ value: new (FieldDefinitionArray_default()) ([
4678
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4679
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFVec2f ()),
4680
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uOrder", new (Fields_default()).SFInt32 (3)),
4681
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vOrder", new (Fields_default()).SFInt32 (3)),
4682
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uDimension", new (Fields_default()).SFInt32 ()),
4683
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vDimension", new (Fields_default()).SFInt32 ()),
4684
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uKnot", new (Fields_default()).MFDouble ()),
4685
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vKnot", new (Fields_default()).MFDouble ()),
4686
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
4687
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
4688
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "normal_changed", new (Fields_default()).SFVec3f ()),
4689
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "position_changed", new (Fields_default()).SFVec3f ()),
4690
+ ]),
4691
+ enumerable: true,
4692
+ },
4693
+ });
4694
+
4569
4695
  const NurbsSurfaceInterpolator_default_ = NurbsSurfaceInterpolator;
4570
4696
  ;
4571
4697
 
4572
4698
  Namespace_default().set ("x_ite/Components/NURBS/NurbsSurfaceInterpolator", NurbsSurfaceInterpolator_default_);
4573
4699
  /* harmony default export */ const NURBS_NurbsSurfaceInterpolator = (NurbsSurfaceInterpolator_default_);
4574
4700
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/Extrusion\")"
4575
- const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.9")] .require ("x_ite/Components/Geometry3D/Extrusion");
4701
+ const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Geometry3D/Extrusion");
4576
4702
  var Extrusion_default = /*#__PURE__*/__webpack_require__.n(Extrusion_namespaceObject);
4577
4703
  ;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSweptSurface.js
4578
4704
  /*******************************************************************************
@@ -4632,42 +4758,18 @@ var Extrusion_default = /*#__PURE__*/__webpack_require__.n(Extrusion_namespaceOb
4632
4758
 
4633
4759
  function NurbsSweptSurface (executionContext)
4634
4760
  {
4635
- NURBS_X3DParametricGeometryNode.call (this, executionContext);
4761
+ NURBS_X3DParametricGeometryNode .call (this, executionContext);
4636
4762
 
4637
4763
  this .addType ((X3DConstants_default()).NurbsSweptSurface);
4638
4764
 
4639
4765
  this .extrusion = new (Extrusion_default()) (executionContext);
4640
4766
  }
4641
4767
 
4642
- NurbsSweptSurface .prototype = Object .assign (Object .create (NURBS_X3DParametricGeometryNode.prototype),
4768
+ Object .assign (Object .setPrototypeOf (NurbsSweptSurface .prototype, NURBS_X3DParametricGeometryNode .prototype),
4643
4769
  {
4644
- constructor: NurbsSweptSurface,
4645
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
4646
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4647
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
4648
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "ccw", new (Fields_default()).SFBool (true)),
4649
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "crossSectionCurve", new (Fields_default()).SFNode ()),
4650
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "trajectoryCurve", new (Fields_default()).SFNode ()),
4651
- ]),
4652
- getTypeName: function ()
4770
+ initialize ()
4653
4771
  {
4654
- return "NurbsSweptSurface";
4655
- },
4656
- getComponentName: function ()
4657
- {
4658
- return "NURBS";
4659
- },
4660
- getContainerField: function ()
4661
- {
4662
- return "geometry";
4663
- },
4664
- getSpecificationRange: function ()
4665
- {
4666
- return ["3.0", "Infinity"];
4667
- },
4668
- initialize: function ()
4669
- {
4670
- NURBS_X3DParametricGeometryNode.prototype.initialize.call (this);
4772
+ NURBS_X3DParametricGeometryNode .prototype .initialize .call (this);
4671
4773
 
4672
4774
  this ._crossSectionCurve .addInterest ("set_crossSectionCurve__", this);
4673
4775
  this ._trajectoryCurve .addInterest ("set_trajectoryCurve__", this);
@@ -4689,7 +4791,7 @@ NurbsSweptSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
4689
4791
  this .set_crossSectionCurve__ ();
4690
4792
  this .set_trajectoryCurve__ ();
4691
4793
  },
4692
- set_crossSectionCurve__: function ()
4794
+ set_crossSectionCurve__ ()
4693
4795
  {
4694
4796
  if (this .crossSectionCurveNode)
4695
4797
  this .crossSectionCurveNode .removeInterest ("requestRebuild", this);
@@ -4699,7 +4801,7 @@ NurbsSweptSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
4699
4801
  if (this .crossSectionCurveNode)
4700
4802
  this .crossSectionCurveNode .addInterest ("requestRebuild", this);
4701
4803
  },
4702
- set_trajectoryCurve__: function ()
4804
+ set_trajectoryCurve__ ()
4703
4805
  {
4704
4806
  if (this .trajectoryCurveNode)
4705
4807
  this .trajectoryCurveNode ._rebuild .removeInterest ("requestRebuild", this);
@@ -4709,7 +4811,7 @@ NurbsSweptSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
4709
4811
  if (this .trajectoryCurveNode)
4710
4812
  this .trajectoryCurveNode ._rebuild .addInterest ("requestRebuild", this);
4711
4813
  },
4712
- build: function ()
4814
+ build ()
4713
4815
  {
4714
4816
  if (! this .crossSectionCurveNode)
4715
4817
  return;
@@ -4744,6 +4846,41 @@ NurbsSweptSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
4744
4846
  },
4745
4847
  });
4746
4848
 
4849
+ Object .defineProperties (NurbsSweptSurface,
4850
+ {
4851
+ typeName:
4852
+ {
4853
+ value: "NurbsSweptSurface",
4854
+ enumerable: true,
4855
+ },
4856
+ componentName:
4857
+ {
4858
+ value: "NURBS",
4859
+ enumerable: true,
4860
+ },
4861
+ containerField:
4862
+ {
4863
+ value: "geometry",
4864
+ enumerable: true,
4865
+ },
4866
+ specificationRange:
4867
+ {
4868
+ value: Object .freeze (["3.0", "Infinity"]),
4869
+ enumerable: true,
4870
+ },
4871
+ fieldDefinitions:
4872
+ {
4873
+ value: new (FieldDefinitionArray_default()) ([
4874
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4875
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
4876
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "ccw", new (Fields_default()).SFBool (true)),
4877
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "crossSectionCurve", new (Fields_default()).SFNode ()),
4878
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "trajectoryCurve", new (Fields_default()).SFNode ()),
4879
+ ]),
4880
+ enumerable: true,
4881
+ },
4882
+ });
4883
+
4747
4884
  const NurbsSweptSurface_default_ = NurbsSweptSurface;
4748
4885
  ;
4749
4886
 
@@ -4807,42 +4944,18 @@ Namespace_default().set ("x_ite/Components/NURBS/NurbsSweptSurface", NurbsSweptS
4807
4944
 
4808
4945
  function NurbsSwungSurface (executionContext)
4809
4946
  {
4810
- NURBS_X3DParametricGeometryNode.call (this, executionContext);
4947
+ NURBS_X3DParametricGeometryNode .call (this, executionContext);
4811
4948
 
4812
4949
  this .addType ((X3DConstants_default()).NurbsSwungSurface);
4813
4950
 
4814
4951
  this .extrusion = new (Extrusion_default()) (executionContext);
4815
4952
  }
4816
4953
 
4817
- NurbsSwungSurface .prototype = Object .assign (Object .create (NURBS_X3DParametricGeometryNode.prototype),
4954
+ Object .assign (Object .setPrototypeOf (NurbsSwungSurface .prototype, NURBS_X3DParametricGeometryNode .prototype),
4818
4955
  {
4819
- constructor: NurbsSwungSurface,
4820
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
4821
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4822
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
4823
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "ccw", new (Fields_default()).SFBool (true)),
4824
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "profileCurve", new (Fields_default()).SFNode ()),
4825
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "trajectoryCurve", new (Fields_default()).SFNode ()),
4826
- ]),
4827
- getTypeName: function ()
4828
- {
4829
- return "NurbsSwungSurface";
4830
- },
4831
- getComponentName: function ()
4832
- {
4833
- return "NURBS";
4834
- },
4835
- getContainerField: function ()
4836
- {
4837
- return "geometry";
4838
- },
4839
- getSpecificationRange: function ()
4956
+ initialize ()
4840
4957
  {
4841
- return ["3.0", "Infinity"];
4842
- },
4843
- initialize: function ()
4844
- {
4845
- NURBS_X3DParametricGeometryNode.prototype.initialize.call (this);
4958
+ NURBS_X3DParametricGeometryNode .prototype .initialize .call (this);
4846
4959
 
4847
4960
  this ._profileCurve .addInterest ("set_profileCurve__", this);
4848
4961
  this ._trajectoryCurve .addInterest ("set_trajectoryCurve__", this);
@@ -4864,7 +4977,7 @@ NurbsSwungSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
4864
4977
  this .set_profileCurve__ ();
4865
4978
  this .set_trajectoryCurve__ ();
4866
4979
  },
4867
- set_profileCurve__: function ()
4980
+ set_profileCurve__ ()
4868
4981
  {
4869
4982
  if (this .profileCurveNode)
4870
4983
  this .profileCurveNode .removeInterest ("requestRebuild", this);
@@ -4874,7 +4987,7 @@ NurbsSwungSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
4874
4987
  if (this .profileCurveNode)
4875
4988
  this .profileCurveNode .addInterest ("requestRebuild", this);
4876
4989
  },
4877
- set_trajectoryCurve__: function ()
4990
+ set_trajectoryCurve__ ()
4878
4991
  {
4879
4992
  if (this .trajectoryCurveNode)
4880
4993
  this .trajectoryCurveNode .removeInterest ("requestRebuild", this);
@@ -4884,7 +4997,7 @@ NurbsSwungSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
4884
4997
  if (this .trajectoryCurveNode)
4885
4998
  this .trajectoryCurveNode .addInterest ("requestRebuild", this);
4886
4999
  },
4887
- build: function ()
5000
+ build ()
4888
5001
  {
4889
5002
  if (! this .profileCurveNode)
4890
5003
  return;
@@ -4919,6 +5032,41 @@ NurbsSwungSurface .prototype = Object .assign (Object .create (NURBS_X3DParametr
4919
5032
  },
4920
5033
  });
4921
5034
 
5035
+ Object .defineProperties (NurbsSwungSurface,
5036
+ {
5037
+ typeName:
5038
+ {
5039
+ value: "NurbsSwungSurface",
5040
+ enumerable: true,
5041
+ },
5042
+ componentName:
5043
+ {
5044
+ value: "NURBS",
5045
+ enumerable: true,
5046
+ },
5047
+ containerField:
5048
+ {
5049
+ value: "geometry",
5050
+ enumerable: true,
5051
+ },
5052
+ specificationRange:
5053
+ {
5054
+ value: Object .freeze (["3.0", "Infinity"]),
5055
+ enumerable: true,
5056
+ },
5057
+ fieldDefinitions:
5058
+ {
5059
+ value: new (FieldDefinitionArray_default()) ([
5060
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
5061
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
5062
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "ccw", new (Fields_default()).SFBool (true)),
5063
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "profileCurve", new (Fields_default()).SFNode ()),
5064
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "trajectoryCurve", new (Fields_default()).SFNode ()),
5065
+ ]),
5066
+ enumerable: true,
5067
+ },
5068
+ });
5069
+
4922
5070
  const NurbsSwungSurface_default_ = NurbsSwungSurface;
4923
5071
  ;
4924
5072
 
@@ -4988,41 +5136,13 @@ function NurbsTextureCoordinate (executionContext)
4988
5136
  this .controlPoints = [ ];
4989
5137
  }
4990
5138
 
4991
- NurbsTextureCoordinate .prototype = Object .assign (Object .create ((X3DNode_default()).prototype),
5139
+ Object .assign (Object .setPrototypeOf (NurbsTextureCoordinate .prototype, (X3DNode_default()).prototype),
4992
5140
  {
4993
- constructor: NurbsTextureCoordinate,
4994
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
4995
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
4996
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uOrder", new (Fields_default()).SFInt32 (3)),
4997
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vOrder", new (Fields_default()).SFInt32 (3)),
4998
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uDimension", new (Fields_default()).SFInt32 ()),
4999
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vDimension", new (Fields_default()).SFInt32 ()),
5000
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uKnot", new (Fields_default()).MFDouble ()),
5001
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vKnot", new (Fields_default()).MFDouble ()),
5002
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
5003
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).MFVec2f ()),
5004
- ]),
5005
- getTypeName: function ()
5006
- {
5007
- return "NurbsTextureCoordinate";
5008
- },
5009
- getComponentName: function ()
5141
+ initialize ()
5010
5142
  {
5011
- return "NURBS";
5143
+ X3DNode_default().prototype .initialize .call (this);
5012
5144
  },
5013
- getContainerField: function ()
5014
- {
5015
- return "texCoord";
5016
- },
5017
- getSpecificationRange: function ()
5018
- {
5019
- return ["3.0", "Infinity"];
5020
- },
5021
- initialize: function ()
5022
- {
5023
- X3DNode_default().prototype.initialize.call (this);
5024
- },
5025
- getControlPoints: function (texWeights)
5145
+ getControlPoints (texWeights)
5026
5146
  {
5027
5147
  const
5028
5148
  controlPointArray = this ._controlPoint .getValue (),
@@ -5048,7 +5168,7 @@ NurbsTextureCoordinate .prototype = Object .assign (Object .create ((X3DNode_def
5048
5168
 
5049
5169
  return controlPoints;
5050
5170
  },
5051
- isValid: function ()
5171
+ isValid ()
5052
5172
  {
5053
5173
  if (this ._uOrder .getValue () < 2)
5054
5174
  return false;
@@ -5069,6 +5189,45 @@ NurbsTextureCoordinate .prototype = Object .assign (Object .create ((X3DNode_def
5069
5189
  }
5070
5190
  });
5071
5191
 
5192
+ Object .defineProperties (NurbsTextureCoordinate,
5193
+ {
5194
+ typeName:
5195
+ {
5196
+ value: "NurbsTextureCoordinate",
5197
+ enumerable: true,
5198
+ },
5199
+ componentName:
5200
+ {
5201
+ value: "NURBS",
5202
+ enumerable: true,
5203
+ },
5204
+ containerField:
5205
+ {
5206
+ value: "texCoord",
5207
+ enumerable: true,
5208
+ },
5209
+ specificationRange:
5210
+ {
5211
+ value: Object .freeze (["3.0", "Infinity"]),
5212
+ enumerable: true,
5213
+ },
5214
+ fieldDefinitions:
5215
+ {
5216
+ value: new (FieldDefinitionArray_default()) ([
5217
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
5218
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uOrder", new (Fields_default()).SFInt32 (3)),
5219
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vOrder", new (Fields_default()).SFInt32 (3)),
5220
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uDimension", new (Fields_default()).SFInt32 ()),
5221
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vDimension", new (Fields_default()).SFInt32 ()),
5222
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uKnot", new (Fields_default()).MFDouble ()),
5223
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vKnot", new (Fields_default()).MFDouble ()),
5224
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
5225
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).MFVec2f ()),
5226
+ ]),
5227
+ enumerable: true,
5228
+ },
5229
+ });
5230
+
5072
5231
  const NurbsTextureCoordinate_default_ = NurbsTextureCoordinate;
5073
5232
  ;
5074
5233
 
@@ -5131,55 +5290,18 @@ Namespace_default().set ("x_ite/Components/NURBS/NurbsTextureCoordinate", NurbsT
5131
5290
 
5132
5291
  function NurbsTrimmedSurface (executionContext)
5133
5292
  {
5134
- NURBS_X3DNurbsSurfaceGeometryNode.call (this, executionContext);
5293
+ NURBS_X3DNurbsSurfaceGeometryNode .call (this, executionContext);
5135
5294
 
5136
5295
  this .addType ((X3DConstants_default()).NurbsTrimmedSurface);
5137
5296
 
5138
5297
  this .trimmingContourNodes = [ ];
5139
5298
  }
5140
5299
 
5141
- NurbsTrimmedSurface .prototype = Object .assign (Object .create (NURBS_X3DNurbsSurfaceGeometryNode.prototype),
5300
+ Object .assign (Object .setPrototypeOf (NurbsTrimmedSurface .prototype, NURBS_X3DNurbsSurfaceGeometryNode .prototype),
5142
5301
  {
5143
- constructor: NurbsTrimmedSurface,
5144
- [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
5145
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
5146
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
5147
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "uTessellation", new (Fields_default()).SFInt32 ()),
5148
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "vTessellation", new (Fields_default()).SFInt32 ()),
5149
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uClosed", new (Fields_default()).SFBool ()),
5150
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vClosed", new (Fields_default()).SFBool ()),
5151
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uOrder", new (Fields_default()).SFInt32 (3)),
5152
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vOrder", new (Fields_default()).SFInt32 (3)),
5153
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uDimension", new (Fields_default()).SFInt32 ()),
5154
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vDimension", new (Fields_default()).SFInt32 ()),
5155
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uKnot", new (Fields_default()).MFDouble ()),
5156
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vKnot", new (Fields_default()).MFDouble ()),
5157
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
5158
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
5159
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
5160
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addTrimmingContour", new (Fields_default()).MFNode ()),
5161
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeTrimmingContour", new (Fields_default()).MFNode ()),
5162
- new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "trimmingContour", new (Fields_default()).MFNode ()),
5163
- ]),
5164
- getTypeName: function ()
5165
- {
5166
- return "NurbsTrimmedSurface";
5167
- },
5168
- getComponentName: function ()
5169
- {
5170
- return "NURBS";
5171
- },
5172
- getContainerField: function ()
5173
- {
5174
- return "geometry";
5175
- },
5176
- getSpecificationRange: function ()
5177
- {
5178
- return ["3.0", "Infinity"];
5179
- },
5180
- initialize: function ()
5302
+ initialize ()
5181
5303
  {
5182
- NURBS_X3DNurbsSurfaceGeometryNode.prototype.initialize.call (this);
5304
+ NURBS_X3DNurbsSurfaceGeometryNode .prototype .initialize .call (this);
5183
5305
 
5184
5306
  this ._addTrimmingContour .addInterest ("set_addTrimmingContour__", this);
5185
5307
  this ._removeTrimmingContour .addInterest ("set_removeTrimmingContour__", this);
@@ -5187,13 +5309,10 @@ NurbsTrimmedSurface .prototype = Object .assign (Object .create (NURBS_X3DNurbsS
5187
5309
 
5188
5310
  this .set_trimmingContour__ ();
5189
5311
  },
5190
- set_addTrimmingContour__: function ()
5312
+ set_addTrimmingContour__ ()
5191
5313
  {
5192
5314
  this ._addTrimmingContour .setTainted (true);
5193
-
5194
- this ._addTrimmingContour .erase (NurbsTrimmedSurface_remove (this ._addTrimmingContour, 0, this ._addTrimmingContour .length,
5195
- this ._trimmingContour, 0, this ._trimmingContour .length),
5196
- this ._addTrimmingContour .length);
5315
+ this ._addTrimmingContour .assign (NurbsTrimmedSurface_filter (this ._addTrimmingContour, this ._trimmingContour), this ._addTrimmingContour .length);
5197
5316
 
5198
5317
  for (const trimmingContour of this ._addTrimmingContour)
5199
5318
  this ._trimmingContour .push (trimmingContour);
@@ -5201,18 +5320,15 @@ NurbsTrimmedSurface .prototype = Object .assign (Object .create (NURBS_X3DNurbsS
5201
5320
  this ._addTrimmingContour .length = 0;
5202
5321
  this ._addTrimmingContour .setTainted (false);
5203
5322
  },
5204
- set_removeTrimmingContour__: function ()
5323
+ set_removeTrimmingContour__ ()
5205
5324
  {
5206
5325
  this ._removeTrimmingContour .setTainted (true);
5207
-
5208
- this ._trimmingContour .erase (NurbsTrimmedSurface_remove (this ._trimmingContour, 0, this ._trimmingContour .length,
5209
- this ._removeTrimmingContour, 0, this ._removeTrimmingContour .length),
5210
- this ._trimmingContour .length);
5326
+ this ._trimmingContour .assign (NurbsTrimmedSurface_filter (this ._trimmingContour, this ._removeTrimmingContour));
5211
5327
 
5212
5328
  this ._removeTrimmingContour .length = 0;
5213
5329
  this ._removeTrimmingContour .setTainted (false);
5214
5330
  },
5215
- set_trimmingContour__: function ()
5331
+ set_trimmingContour__ ()
5216
5332
  {
5217
5333
  const trimmingContourNodes = this .trimmingContourNodes;
5218
5334
 
@@ -5226,7 +5342,7 @@ NurbsTrimmedSurface .prototype = Object .assign (Object .create (NURBS_X3DNurbsS
5226
5342
  trimmingContourNodes .push (trimmingContourNode);
5227
5343
  }
5228
5344
  },
5229
- getTrimmingContours: function ()
5345
+ getTrimmingContours ()
5230
5346
  {
5231
5347
  const
5232
5348
  trimmingContourNodes = this .trimmingContourNodes,
@@ -5239,16 +5355,61 @@ NurbsTrimmedSurface .prototype = Object .assign (Object .create (NURBS_X3DNurbsS
5239
5355
  },
5240
5356
  });
5241
5357
 
5242
- function NurbsTrimmedSurface_remove (array, first, last, range, rfirst, rlast)
5358
+ function NurbsTrimmedSurface_filter (array, remove)
5243
5359
  {
5244
- const set = new Set ();
5360
+ const set = new Set (remove);
5245
5361
 
5246
- for (let i = rfirst; i < rlast; ++ i)
5247
- set .add (range [i]);
5248
-
5249
- return array .remove (first, last, value => set .has (value));
5362
+ return array .filter (value => !set .has (value));
5250
5363
  }
5251
5364
 
5365
+ Object .defineProperties (NurbsTrimmedSurface,
5366
+ {
5367
+ typeName:
5368
+ {
5369
+ value: "NurbsTrimmedSurface",
5370
+ enumerable: true,
5371
+ },
5372
+ componentName:
5373
+ {
5374
+ value: "NURBS",
5375
+ enumerable: true,
5376
+ },
5377
+ containerField:
5378
+ {
5379
+ value: "geometry",
5380
+ enumerable: true,
5381
+ },
5382
+ specificationRange:
5383
+ {
5384
+ value: Object .freeze (["3.0", "Infinity"]),
5385
+ enumerable: true,
5386
+ },
5387
+ fieldDefinitions:
5388
+ {
5389
+ value: new (FieldDefinitionArray_default()) ([
5390
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
5391
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
5392
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "uTessellation", new (Fields_default()).SFInt32 ()),
5393
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "vTessellation", new (Fields_default()).SFInt32 ()),
5394
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uClosed", new (Fields_default()).SFBool ()),
5395
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vClosed", new (Fields_default()).SFBool ()),
5396
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uOrder", new (Fields_default()).SFInt32 (3)),
5397
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vOrder", new (Fields_default()).SFInt32 (3)),
5398
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uDimension", new (Fields_default()).SFInt32 ()),
5399
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vDimension", new (Fields_default()).SFInt32 ()),
5400
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "uKnot", new (Fields_default()).MFDouble ()),
5401
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "vKnot", new (Fields_default()).MFDouble ()),
5402
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "weight", new (Fields_default()).MFDouble ()),
5403
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
5404
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "controlPoint", new (Fields_default()).SFNode ()),
5405
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addTrimmingContour", new (Fields_default()).MFNode ()),
5406
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeTrimmingContour", new (Fields_default()).MFNode ()),
5407
+ new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "trimmingContour", new (Fields_default()).MFNode ()),
5408
+ ]),
5409
+ enumerable: true,
5410
+ },
5411
+ });
5412
+
5252
5413
  const NurbsTrimmedSurface_default_ = NurbsTrimmedSurface;
5253
5414
  ;
5254
5415
 
@@ -5321,31 +5482,31 @@ Namespace_default().set ("x_ite/Components/NURBS/NurbsTrimmedSurface", NurbsTrim
5321
5482
 
5322
5483
 
5323
5484
 
5324
- Components_default().addComponent ({
5485
+ Components_default().add ({
5325
5486
  name: "NURBS",
5326
- types:
5327
- {
5328
- Contour2D: NURBS_Contour2D,
5329
- ContourPolyline2D: NURBS_ContourPolyline2D,
5330
- CoordinateDouble: NURBS_CoordinateDouble,
5331
- NurbsCurve: NURBS_NurbsCurve,
5332
- NurbsCurve2D: NURBS_NurbsCurve2D,
5333
- NurbsOrientationInterpolator: NURBS_NurbsOrientationInterpolator,
5334
- NurbsPatchSurface: NURBS_NurbsPatchSurface,
5335
- NurbsPositionInterpolator: NURBS_NurbsPositionInterpolator,
5336
- NurbsSet: NURBS_NurbsSet,
5337
- NurbsSurfaceInterpolator: NURBS_NurbsSurfaceInterpolator,
5338
- NurbsSweptSurface: NURBS_NurbsSweptSurface,
5339
- NurbsSwungSurface: NURBS_NurbsSwungSurface,
5340
- NurbsTextureCoordinate: NURBS_NurbsTextureCoordinate,
5341
- NurbsTrimmedSurface: NURBS_NurbsTrimmedSurface,
5342
- },
5343
- abstractTypes:
5344
- {
5345
- X3DNurbsControlCurveNode: NURBS_X3DNurbsControlCurveNode,
5346
- X3DNurbsSurfaceGeometryNode: NURBS_X3DNurbsSurfaceGeometryNode,
5347
- X3DParametricGeometryNode: NURBS_X3DParametricGeometryNode,
5348
- },
5487
+ concreteNodes:
5488
+ [
5489
+ NURBS_Contour2D,
5490
+ NURBS_ContourPolyline2D,
5491
+ NURBS_CoordinateDouble,
5492
+ NURBS_NurbsCurve,
5493
+ NURBS_NurbsCurve2D,
5494
+ NURBS_NurbsOrientationInterpolator,
5495
+ NURBS_NurbsPatchSurface,
5496
+ NURBS_NurbsPositionInterpolator,
5497
+ NURBS_NurbsSet,
5498
+ NURBS_NurbsSurfaceInterpolator,
5499
+ NURBS_NurbsSweptSurface,
5500
+ NURBS_NurbsSwungSurface,
5501
+ NURBS_NurbsTextureCoordinate,
5502
+ NURBS_NurbsTrimmedSurface,
5503
+ ],
5504
+ abstractNodes:
5505
+ [
5506
+ NURBS_X3DNurbsControlCurveNode,
5507
+ NURBS_X3DNurbsSurfaceGeometryNode,
5508
+ NURBS_X3DParametricGeometryNode,
5509
+ ],
5349
5510
  });
5350
5511
 
5351
5512
  const components_NURBS_default_ = undefined;