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