@realsee/dnalogel 3.38.0 → 3.40.0-alpha.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 (404) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/GuideLinePlugin/Controller.d.ts +14 -1
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +13 -2
  4. package/dist/GuideLinePlugin/typing.d.ts +16 -2
  5. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +16 -1
  6. package/dist/index.cjs.js +91 -55
  7. package/dist/index.js +6167 -5980
  8. package/dist/index.umd.js +90 -54
  9. package/dist/shared-utils/math/intersecting.d.ts +25 -0
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +35 -83
  12. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
  13. package/docs/classes/CSS3DRender.html +33 -43
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
  16. package/docs/{modules/ModelMakerPluginType.html → classes/Magnifier.html} +216 -70
  17. package/docs/classes/ModelRoomLabelController.html +13 -23
  18. package/docs/classes/MoveController.html +34 -60
  19. package/docs/classes/Object3DHelperController.html +52 -87
  20. package/docs/classes/PaintBrush.html +17 -27
  21. package/docs/classes/PanoMeasurePluginLine.html +36 -56
  22. package/docs/classes/PanoMeasurePluginModel.html +32 -42
  23. package/docs/classes/PanoMeasurePluginPoint.html +13 -23
  24. package/docs/classes/PanoMeasurePluginPolyline.html +34 -61
  25. package/docs/classes/PanoTagPluginController.html +129 -253
  26. package/docs/classes/Util.BetterTween.html +13 -28
  27. package/docs/classes/Util.Interval.html +15 -30
  28. package/docs/classes/Util.LineSegments.html +11 -26
  29. package/docs/classes/Util.Magnifier.html +60 -94
  30. package/docs/classes/Util.Object3D.html +12 -27
  31. package/docs/classes/Util.PointDomHelper.html +14 -29
  32. package/docs/classes/Util.PointHelper.html +14 -29
  33. package/docs/classes/Util.PointSelectorHelper.html +20 -35
  34. package/docs/classes/Util.Rectangle.html +16 -31
  35. package/docs/classes/WalkController.html +30 -56
  36. package/docs/enums/CameraMovementEffect.html +9 -19
  37. package/docs/enums/ContentType.html +23 -33
  38. package/docs/enums/DIRECTION.html +11 -21
  39. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
  40. package/docs/enums/DimensionType.html +9 -19
  41. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
  42. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
  43. package/docs/enums/PaintBrushTypeEnum.html +10 -20
  44. package/docs/enums/PointType.html +9 -19
  45. package/docs/enums/Rotation.html +10 -20
  46. package/docs/functions/AreaMakerPlugin.html +7 -17
  47. package/docs/functions/CSS3DRenderPlugin.html +7 -17
  48. package/docs/functions/CameraMovementPlugin.html +7 -17
  49. package/docs/functions/CruisePlugin.html +7 -17
  50. package/docs/functions/CurrentPanoImagePlugin.html +7 -17
  51. package/docs/functions/GuideLinePlugin.html +7 -17
  52. package/docs/functions/ItemLabelPlugin.html +7 -17
  53. package/docs/functions/MapviewFloorplanPlugin.html +7 -17
  54. package/docs/functions/ModelChassisCompassPlugin.html +7 -17
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
  56. package/docs/functions/ModelFloorplanPlugin.html +7 -17
  57. package/docs/functions/ModelItemLabelPlugin.html +7 -17
  58. package/docs/functions/ModelRoomLabelPlugin.html +7 -17
  59. package/docs/functions/ModelTVVideoPlugin.html +7 -17
  60. package/docs/functions/ModelViewPlugin.html +7 -17
  61. package/docs/functions/MovePlugin.html +8 -18
  62. package/docs/functions/Object3DHelperPlugin.html +7 -17
  63. package/docs/functions/PanoCompassPlugin.html +7 -17
  64. package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
  65. package/docs/functions/PanoDoorLabelPlugin.html +7 -17
  66. package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
  67. package/docs/functions/PanoMeasurePlugin.html +7 -17
  68. package/docs/functions/PanoRulerPlugin.html +7 -17
  69. package/docs/functions/PanoRulerProPlugin.html +7 -17
  70. package/docs/functions/PanoSpatialTagPlugin.html +7 -17
  71. package/docs/functions/PanoTagPlugin.html +8 -20
  72. package/docs/functions/PanoVideoPlugin.html +7 -17
  73. package/docs/functions/PipelinePlugin.html +7 -17
  74. package/docs/functions/TopviewFloorplanPlugin.html +7 -17
  75. package/docs/functions/Util.absoluteUrl.html +8 -23
  76. package/docs/functions/Util.checkFiveModelLoaded.html +8 -23
  77. package/docs/functions/Util.equal.html +8 -23
  78. package/docs/functions/Util.getCoordsFromClient.html +8 -23
  79. package/docs/functions/Util.getCoordsFromElement.html +8 -23
  80. package/docs/functions/Util.getFrameTime.html +8 -23
  81. package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -30
  82. package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -23
  83. package/docs/functions/Util.isAbsoluteURL.html +8 -23
  84. package/docs/functions/Util.isModelLike.html +8 -23
  85. package/docs/functions/Util.isNil.html +8 -23
  86. package/docs/functions/Util.isPanoramaLike.html +8 -23
  87. package/docs/functions/Util.nextFrame.html +8 -23
  88. package/docs/functions/Util.notNil.html +8 -23
  89. package/docs/functions/Util.requestAnimationFrameInterval.html +8 -23
  90. package/docs/functions/Util.tweenProgress.html +8 -23
  91. package/docs/functions/Util.uuid.html +8 -23
  92. package/docs/functions/pluginFlag.html +7 -17
  93. package/docs/index.html +7 -18
  94. package/docs/interfaces/AddTagConfig.html +8 -18
  95. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
  96. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
  97. package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
  98. package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
  100. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
  102. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
  103. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
  104. package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
  105. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
  106. package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
  107. package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
  108. package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
  109. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
  110. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
  111. package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
  112. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
  113. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
  114. package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
  115. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
  116. package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
  117. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
  118. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
  119. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
  120. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
  121. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
  122. package/docs/interfaces/EventMap.html +17 -27
  123. package/docs/interfaces/FloorplanBounding.html +10 -20
  124. package/docs/interfaces/FloorplanData.html +12 -22
  125. package/docs/interfaces/FloorplanEntrance.html +13 -23
  126. package/docs/interfaces/FloorplanExtraObject.html +12 -22
  127. package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
  128. package/docs/interfaces/FloorplanFloorData.html +11 -21
  129. package/docs/interfaces/FloorplanImagePosition.html +9 -19
  130. package/docs/interfaces/FloorplanObserver.html +11 -21
  131. package/docs/interfaces/FloorplanOutlineItem.html +11 -21
  132. package/docs/interfaces/FloorplanPosition.html +9 -19
  133. package/docs/interfaces/FloorplanRoomItem.html +16 -26
  134. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
  135. package/docs/interfaces/FloorplanServerBounding.html +10 -20
  136. package/docs/interfaces/FloorplanServerComputedData.html +12 -22
  137. package/docs/interfaces/FloorplanServerData.html +9 -19
  138. package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
  139. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
  140. package/docs/interfaces/FloorplanServerEntrance.html +13 -23
  141. package/docs/interfaces/FloorplanServerFloorData.html +11 -21
  142. package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
  143. package/docs/interfaces/FloorplanServerObserver.html +11 -21
  144. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
  145. package/docs/interfaces/FloorplanServerPosition.html +9 -19
  146. package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
  147. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
  148. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
  149. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
  150. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
  151. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
  152. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
  153. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
  154. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
  155. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
  157. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
  158. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
  159. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
  160. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
  161. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
  162. package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
  163. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
  164. package/docs/interfaces/HelperOffset.html +10 -20
  165. package/docs/interfaces/ImagePlaneGroup.html +8 -18
  166. package/docs/interfaces/ItemLabelPluginData.html +8 -18
  167. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
  168. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
  169. package/docs/interfaces/MinMax.html +9 -19
  170. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
  171. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
  172. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
  173. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
  174. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
  175. package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
  176. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
  177. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
  178. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
  179. package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
  180. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
  181. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
  182. package/docs/interfaces/ModelViewPluginExportType.html +13 -23
  183. package/docs/interfaces/Object3DHelperState.html +10 -20
  184. package/docs/interfaces/ObjectHelperControllers.html +12 -22
  185. package/docs/interfaces/PaintBrushAction.html +14 -24
  186. package/docs/interfaces/PaintBrushConfigs.html +14 -24
  187. package/docs/interfaces/PaintBrushState.html +12 -22
  188. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
  189. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
  190. package/docs/interfaces/PanoMeasureParameterType.html +18 -28
  191. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
  192. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
  193. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
  194. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -30
  195. package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
  196. package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
  197. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
  198. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
  199. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
  200. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
  201. package/docs/interfaces/PanoRulerProPluginState.html +10 -20
  202. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
  203. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
  204. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
  205. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
  206. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
  207. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
  208. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
  209. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
  210. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
  211. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
  212. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
  213. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
  214. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +18 -112
  215. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
  216. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
  217. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
  218. package/docs/interfaces/Point.html +10 -20
  219. package/docs/interfaces/Room.html +11 -21
  220. package/docs/interfaces/RoomInfo.html +9 -19
  221. package/docs/interfaces/RoomLabel.html +16 -26
  222. package/docs/interfaces/RoomRules.html +7 -17
  223. package/docs/interfaces/Rooms.html +7 -17
  224. package/docs/interfaces/Scissor.html +11 -21
  225. package/docs/interfaces/State.html +10 -20
  226. package/docs/interfaces/TagCacheInterface.html +14 -24
  227. package/docs/interfaces/TagConfig.html +49 -65
  228. package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
  229. package/docs/interfaces/TagIconUrl.html +14 -24
  230. package/docs/interfaces/TagObjectGroup.html +8 -18
  231. package/docs/interfaces/TagStyle.html +8 -18
  232. package/docs/interfaces/Tags.html +437 -61
  233. package/docs/interfaces/TemporaryState.html +8 -18
  234. package/docs/interfaces/Util.MagnifierParameter.html +24 -44
  235. package/docs/interfaces/Util.MouseGroupParameter.html +11 -26
  236. package/docs/interfaces/Util.PointIntersection.html +12 -34
  237. package/docs/modules/AreaMakerPluginType.html +6 -16
  238. package/docs/modules/CruisePluginTypes.html +6 -18
  239. package/docs/modules/CurrentPanoImagePluginType.html +7 -17
  240. package/docs/modules/GuideLineItem.html +7 -17
  241. package/docs/modules/GuideLineModeItem.html +7 -17
  242. package/docs/modules/GuideLinePluginType.html +6 -16
  243. package/docs/modules/PanoVideoPluginType.html +7 -17
  244. package/docs/modules/Util.html +8 -28
  245. package/docs/modules.html +11 -34
  246. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
  247. package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
  248. package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
  249. package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
  250. package/docs/types/ArrayPosition.html +7 -17
  251. package/docs/types/AudioAppearance.html +7 -17
  252. package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
  253. package/docs/types/CSS3DRenderExportType.html +7 -17
  254. package/docs/types/CSS3DRenderPluginExportType.html +7 -17
  255. package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
  256. package/docs/types/ClassFunctionParameters.html +7 -17
  257. package/docs/types/Color.html +7 -17
  258. package/docs/types/ContentTypeConfigKey.html +7 -17
  259. package/docs/types/ContentTypeConfigKeySplit.html +8 -18
  260. package/docs/types/ContentTypeMap.html +7 -17
  261. package/docs/types/Create3DDomContainerReturnType.html +7 -17
  262. package/docs/types/Create3DElementReturnType.html +7 -17
  263. package/docs/types/CruisePluginExportType.html +7 -17
  264. package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
  265. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
  266. package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
  267. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
  268. package/docs/types/DeprecatedTagProperty.html +7 -17
  269. package/docs/types/Direction-1.html +7 -17
  270. package/docs/types/Direction4.html +7 -17
  271. package/docs/types/ElementRenderer.html +7 -17
  272. package/docs/types/FloorplanRuleLabels.html +7 -17
  273. package/docs/types/FloorplanServerRuleLabels.html +7 -17
  274. package/docs/types/GuideLinePluginExportType.html +7 -17
  275. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
  276. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
  277. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
  278. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
  279. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
  280. package/docs/types/GuideLinePluginType.PathItem.html +6 -16
  281. package/docs/types/GuideLinePluginType.PluginData.html +6 -16
  282. package/docs/types/HelperEventMap.html +7 -17
  283. package/docs/types/InternalHelperEventMap.html +11 -29
  284. package/docs/types/LoadTagConfig.html +7 -17
  285. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
  286. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
  287. package/docs/types/MediaData.html +10 -20
  288. package/docs/types/MediaStore.html +7 -17
  289. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
  290. package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
  291. package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
  292. package/docs/types/ModelId.html +7 -17
  293. package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
  294. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
  295. package/docs/types/MoveArgs.html +7 -17
  296. package/docs/types/MoveOpts.html +7 -17
  297. package/docs/types/Object3DHelperEventMap.html +7 -17
  298. package/docs/types/ObjectFit.html +7 -17
  299. package/docs/types/PaintBrushEventMap.html +7 -17
  300. package/docs/types/PanoCompassPluginData.html +7 -17
  301. package/docs/types/PanoCompassPluginExportType.html +7 -17
  302. package/docs/types/PanoCompassPluginParameterType.html +7 -17
  303. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
  304. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
  305. package/docs/types/PanoIndex.html +7 -17
  306. package/docs/types/PanoMeasurePluginEvent.html +7 -17
  307. package/docs/types/PanoMeasureReturnType.html +7 -17
  308. package/docs/types/PanoSpatialTagPluginId.html +7 -17
  309. package/docs/types/PanoTagPluginExportInterface.html +7 -17
  310. package/docs/types/PanoTagPluginParamsInterface.html +7 -17
  311. package/docs/types/PanoVideoPluginParameterType.html +7 -17
  312. package/docs/types/PanoVideoPluginReturnType.html +7 -17
  313. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
  314. package/docs/types/PipelinePluginParameterType.html +7 -17
  315. package/docs/types/PipelinePluginReturnType.html +7 -17
  316. package/docs/types/PlaneTag.html +7 -17
  317. package/docs/types/Point2DTag.html +7 -17
  318. package/docs/types/Point3DTag.html +7 -17
  319. package/docs/types/PointTag.html +7 -17
  320. package/docs/types/PointTagInstance.html +7 -17
  321. package/docs/types/Position.html +7 -17
  322. package/docs/types/RotateArgs.html +7 -17
  323. package/docs/types/RotateOpts.html +7 -17
  324. package/docs/types/RuleLabelsKey.html +7 -17
  325. package/docs/types/RuleLabelsValue.html +7 -17
  326. package/docs/types/StickType.html +7 -17
  327. package/docs/types/Tag.html +13 -35
  328. package/docs/types/Tag2D.html +7 -17
  329. package/docs/types/Tag3D.html +7 -17
  330. package/docs/types/TagConfigByKey.html +8 -18
  331. package/docs/types/TagContentType.html +7 -17
  332. package/docs/types/TagContentTypeMapping.html +7 -17
  333. package/docs/types/TagDimensionType.html +7 -17
  334. package/docs/types/TagElement.html +7 -17
  335. package/docs/types/TagEvents.html +12 -38
  336. package/docs/types/TagGLTFObject.html +7 -17
  337. package/docs/types/TagHooks.html +7 -17
  338. package/docs/types/TagId.html +7 -17
  339. package/docs/types/TagInstance.html +8 -44
  340. package/docs/types/TagPointType.html +7 -17
  341. package/docs/types/TagRendererMap.html +7 -17
  342. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
  343. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
  344. package/docs/types/WorkCode.html +7 -17
  345. package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
  346. package/docs/variables/PLUGIN.html +7 -17
  347. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
  348. package/docs/variables/ROOM_TYPE_MAP.html +7 -17
  349. package/docs/variables/defaultGlobalConfig.html +7 -17
  350. package/docs/variables/itemLabelPluginServerParams.html +7 -17
  351. package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
  352. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
  353. package/libs/CruisePlugin/Move.js +3 -2
  354. package/libs/CruisePlugin/Work.js +3 -2
  355. package/libs/CruisePlugin/index.js +8 -7
  356. package/libs/GuideLinePlugin/Controller.d.ts +14 -1
  357. package/libs/GuideLinePlugin/Controller.js +35 -32
  358. package/libs/GuideLinePlugin/GuideLineItem/index.js +57 -56
  359. package/libs/GuideLinePlugin/GuideLineItem.js +4 -3
  360. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +199 -127
  361. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +13 -2
  362. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  363. package/libs/GuideLinePlugin/index.js +7 -6
  364. package/libs/GuideLinePlugin/typing.d.ts +16 -2
  365. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +16 -1
  366. package/libs/GuideLinePlugin/utils/createLineGeometry.js +129 -36
  367. package/libs/base/BasePlugin.js +1 -1
  368. package/libs/index.js +127 -126
  369. package/libs/shared-utils/logger.js +1 -1
  370. package/libs/shared-utils/math/intersecting.d.ts +25 -0
  371. package/libs/shared-utils/math/intersecting.js +25 -0
  372. package/package.json +2 -2
  373. package/docs/classes/ModelMakerPluginInstance.html +0 -647
  374. package/docs/classes/Sculpt.html +0 -852
  375. package/docs/functions/ModelMakerPlugin.html +0 -303
  376. package/docs/functions/SculptPlugin.html +0 -306
  377. package/docs/functions/Util.awaitNextFrame.html +0 -336
  378. package/docs/functions/Util.blink.html +0 -352
  379. package/docs/functions/Util.reblink.html +0 -350
  380. package/docs/interfaces/ContentTypeMapInterface.html +0 -755
  381. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
  382. package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
  383. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
  384. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
  385. package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
  386. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
  387. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
  388. package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
  389. package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -381
  390. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -388
  391. package/docs/modules/SculptData.html +0 -318
  392. package/docs/types/AddObject3DHelperConfig.html +0 -315
  393. package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
  394. package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
  395. package/docs/types/ScaleCallback.html +0 -314
  396. package/docs/types/ScalePosition.html +0 -303
  397. package/docs/types/SculptData.BoxData.html +0 -306
  398. package/docs/types/SculptData.CircleData.html +0 -306
  399. package/docs/types/SculptData.CylinderData.html +0 -306
  400. package/docs/types/SculptData.PointData.html +0 -306
  401. package/docs/types/SculptData.PolygonData.html +0 -306
  402. package/docs/types/SculptData.PolylineData.html +0 -306
  403. package/docs/types/SculptData.PrismData.html +0 -306
  404. package/docs/types/SculptData.RectangleData.html +0 -306
@@ -29,7 +29,9 @@ declare class GuideLineModeItem {
29
29
  geometryStyle: PluginType.GuideLineGeometryStyle;
30
30
  materialStyle: PluginType.GuideLineMaterialStyle;
31
31
  meshStyle: PluginType.GuideLineMeshStyle;
32
- readonly mesh: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
32
+ readonly group: THREE.Group;
33
+ readonly meshWithDepthTest: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
34
+ readonly meshWithoutDepthTest: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
33
35
  private five;
34
36
  private mode;
35
37
  private _curvePath;
@@ -61,6 +63,8 @@ declare class GuideLineModeItem {
61
63
  private cacheLengths;
62
64
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
63
65
  private heightOffset;
66
+ private panoMap;
67
+ private autoDepthTestEffectDistance?;
64
68
  constructor(five: Five, options: {
65
69
  mode: PluginType.GuideLineModeItemMode;
66
70
  plugin: GuideLinePlugin;
@@ -78,9 +82,14 @@ declare class GuideLineModeItem {
78
82
  /** 通过点位设置线条形状 */
79
83
  setGeometryByPanoGroup(_panoGroup: number[], options?: CatmullRomCurve3RestParams & PluginType.GuideLineGeometryStyle & {
80
84
  skipPanoGroup?: boolean;
85
+ useAutoDepthTest?: boolean;
86
+ autoDepthTestEffectDistance?: number;
81
87
  }): void;
82
88
  /** 通过路径设置线条形状 */
83
- setGeometryByPath(path: PluginType.PathItem[], options?: PluginType.GuideLineGeometryStyle): void;
89
+ setGeometryByPath(path: PluginType.PathItem[], options?: PluginType.GuideLineGeometryStyle & {
90
+ useAutoDepthTest?: boolean;
91
+ autoDepthTestEffectDistance?: number;
92
+ }): void;
84
93
  /** 设置线条材质 */
85
94
  setMartial(options?: PluginType.GuideLineMaterialStyle): void;
86
95
  /** 设置模型状态 */
@@ -128,6 +137,8 @@ declare class GuideLineModeItem {
128
137
  private onWalkAnimationEnd;
129
138
  /** 模型状态变更 */
130
139
  private onFiveModeChange;
140
+ /** 走点 */
141
+ private onFivePanoArrived;
131
142
  private onFiveModelShownFloorChange;
132
143
  /** 更新可见性 */
133
144
  private updateVisible;
@@ -14,7 +14,7 @@ import "../PanoTagPlugin/controller/index.js";
14
14
  import "./Components/Tag.js";
15
15
  import "./utils/index.js";
16
16
  import "../vendor/object-assign-deep/objectAssignDeep.js";
17
- import { GuideLineModeItem as $i } from "./GuideLineModeItem/index.js";
17
+ import { GuideLineModeItem as om } from "./GuideLineModeItem/index.js";
18
18
  import "../vendor/polyline-normals/index.js";
19
19
  import "../vendor/polyline-miter-util/index.js";
20
20
  import "../vendor/gl-vec2/add.js";
@@ -22,6 +22,7 @@ import "../vendor/gl-vec2/set.js";
22
22
  import "../vendor/gl-vec2/normalize.js";
23
23
  import "../vendor/gl-vec2/subtract.js";
24
24
  import "../vendor/gl-vec2/dot.js";
25
+ import "../shared-utils/math/intersecting.js";
25
26
  import "../shared-utils/positionToVector3.js";
26
27
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
27
28
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -158,5 +159,5 @@ import "../shared-utils/three/blink.js";
158
159
  import "../PanoTagPlugin/utils/DebugUtil.js";
159
160
  import "../CruisePlugin/utils/sleep.js";
160
161
  export {
161
- $i as GuideLineModeItem
162
+ om as GuideLineModeItem
162
163
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as wt } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as bt } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as Ct } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as ht } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -52,6 +52,7 @@ import "../vendor/gl-vec2/set.js";
52
52
  import "../vendor/gl-vec2/normalize.js";
53
53
  import "../vendor/gl-vec2/subtract.js";
54
54
  import "../vendor/gl-vec2/dot.js";
55
+ import "../shared-utils/math/intersecting.js";
55
56
  import "../shared-utils/five/mode.js";
56
57
  import "../shared-utils/animationFrame/BetterTween.js";
57
58
  import "../shared-utils/animationFrame/index.js";
@@ -177,10 +178,10 @@ import "../shared-utils/five/changeMode.js";
177
178
  import "../shared-utils/nearlyEqual.js";
178
179
  import "../CruisePlugin/Move.js";
179
180
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
180
- const r = (i, o) => new t(i, o), gt = r;
181
+ const r = (i, o) => new t(i, o), Mt = r;
181
182
  export {
182
- wt as GuideLineItem,
183
- bt as GuideLineModeItem,
183
+ Ct as GuideLineItem,
184
+ ht as GuideLineModeItem,
184
185
  r as GuideLinePlugin,
185
- gt as default
186
+ Mt as default
186
187
  };
@@ -4,7 +4,6 @@ import type * as BasePluginWithData from '../base/BasePluginWithData';
4
4
  import type { Tag } from '../PanoTagPlugin';
5
5
  export interface RouteConfig {
6
6
  arrowTextureUrl?: string;
7
- skipPanoIndexMesh?: boolean;
8
7
  unitWidth?: number;
9
8
  unitHeight?: number;
10
9
  }
@@ -88,8 +87,21 @@ export type GuideLineItem = RequireAtLeastOne<{
88
87
  export interface PanoramaGuideLineStyle extends GuideLineStyle {
89
88
  start_tag?: Tag;
90
89
  end_tag?: Tag;
91
- /** 是否跳过点位 */
90
+ /**
91
+ * @description 是否跳过点位
92
+ * @default false
93
+ */
92
94
  skip_group?: boolean;
95
+ /**
96
+ * @description 是否自动关闭点位附近路线的深度测试
97
+ * @default false
98
+ */
99
+ use_auto_depthtest?: boolean;
100
+ /**
101
+ * @description use_auto_depthtest 开启时,自动关闭深度测试的距离
102
+ * @default 1~3 之间
103
+ */
104
+ auto_depth_test_effect_distance?: number;
93
105
  }
94
106
  /** 模型路径样式 */
95
107
  export interface ModelGuideLineStyle extends GuideLineStyle {
@@ -165,4 +177,6 @@ export interface CatmullRomCurve3 {
165
177
  closed?: boolean;
166
178
  curve_type?: string;
167
179
  tension?: number;
180
+ panoIndexList?: number[];
181
+ panoIndexMap?: Record<number, number>;
168
182
  }
@@ -9,6 +9,7 @@ interface LineGeometryOption {
9
9
  /** 每一段的长度,默认是 0.5 */
10
10
  unitLength: number;
11
11
  skipPositions?: THREE.Vector3[] | null;
12
+ useAutoDepthTest?: boolean;
12
13
  }
13
14
  /** 创建路线的几何体
14
15
  * @param curvePoints 三维点位
@@ -18,8 +19,22 @@ interface LineGeometryOption {
18
19
  */
19
20
  export declare function createLineGeometry(options: LineGeometryOption): {
20
21
  geometry: THREE.BufferGeometry;
21
- maxU: number;
22
+ maxV: number;
23
+ curvePath: any;
24
+ curvePoints: any;
25
+ animationWillError?: undefined;
26
+ panoMap?: undefined;
27
+ totalLength?: undefined;
28
+ } | {
29
+ geometry: THREE.BufferGeometry;
30
+ maxV: number;
31
+ animationWillError: {
32
+ start: number;
33
+ end: number;
34
+ }[];
22
35
  curvePath: THREE.CurvePath<THREE.Vector3>;
23
36
  curvePoints: THREE.Vector3[];
37
+ panoMap: Record<number, number>;
38
+ totalLength: number;
24
39
  };
25
40
  export {};
@@ -1,51 +1,144 @@
1
- import * as n from "three";
2
- import { Vector3 as x } from "three";
3
- import { polylineNormals as G } from "../../vendor/polyline-normals/index.js";
1
+ import * as l from "three";
2
+ import { Vector3 as nt } from "three";
3
+ import { polylineNormals as ht } from "../../vendor/polyline-normals/index.js";
4
+ import { lineIsIntersecting as mt, findIntersectingOfLines as pt } from "../../shared-utils/math/intersecting.js";
4
5
  import "../../vendor/polyline-miter-util/index.js";
5
6
  import "../../vendor/gl-vec2/add.js";
6
7
  import "../../vendor/gl-vec2/set.js";
7
8
  import "../../vendor/gl-vec2/normalize.js";
8
9
  import "../../vendor/gl-vec2/subtract.js";
9
10
  import "../../vendor/gl-vec2/dot.js";
10
- const z = 2, M = 3, X = 3, k = 2;
11
- function Q(e) {
12
- const i = e.width, g = e.unitLength / i, c = i / 2, E = e.path;
13
- if (E.length === 0)
14
- return { geometry: new n.BufferGeometry(), maxU: 0, curvePath: null, curvePoints: null };
15
- const u = new n.CurvePath();
16
- E.forEach((t) => {
17
- const l = I(t);
18
- l && u.add(l);
11
+ const dt = 2, xt = 3, gt = 3, vt = 2;
12
+ function kt(i) {
13
+ const G = i.width, L = i.unitLength, V = G / 2, B = i.path;
14
+ if (B.length === 0)
15
+ return { geometry: new l.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
16
+ const I = new l.CurvePath();
17
+ B.forEach((t) => {
18
+ const e = yt(t);
19
+ e && I.add(e);
19
20
  });
20
- const w = Math.ceil(u.getLength() * 100);
21
- u.arcLengthDivisions = w;
22
- const o = u.getPoints(w), y = o.length, L = G(o.map((t) => [t.x, t.z])), B = (y - 1) * z * M, d = 2 * y, C = d * X, U = d * k, r = new Uint32Array(B), s = new Float32Array(C), a = new Float32Array(U);
23
- let N = 0, P = 0;
24
- for (let t = 0; t < o.length; t++) {
25
- const [l, R] = L[t][0], T = o[t], { x: A, y: _, z: b } = T, v = new x(A + l * c, _ + 0.05, b + R * c);
26
- s[t * 6 + 0] = v.x, s[t * 6 + 1] = v.y, s[t * 6 + 2] = v.z;
27
- const f = new x(A - l * c, _ + 0.05, b - R * c);
28
- s[t * 6 + 3] = f.x, s[t * 6 + 4] = f.y, s[t * 6 + 5] = f.z, N += t > 0 ? o[t - 1].clone().sub(o[t]).length() : 0;
29
- const h = N / i / g;
30
- if (P = h, a[t * 4 + 0] = 0, a[t * 4 + 1] = h, a[t * 4 + 2] = 1, a[t * 4 + 3] = h, e.skipPositions) {
31
- const V = new n.Vector3().lerpVectors(v, f, 0.5);
32
- if (e.skipPositions.some((F) => F.distanceTo(V) < 0.26))
33
- continue;
21
+ const W = Math.ceil(I.getLength() * 100);
22
+ I.arcLengthDivisions = W;
23
+ const P = I.getPoints(W), x = P.length, et = ht(P.map((t) => [t.x, t.z])), ot = (x - 1) * dt * xt, X = 2 * x, st = X * gt, ct = X * vt, E = new Uint32Array(ot), n = new Float32Array(st), N = new Float32Array(ct), H = I.getLength();
24
+ let R = 0, Z = 0, $ = {};
25
+ const b = i.path[0].points.map((t) => new l.Vector3().fromArray(t)), j = i.path[0].panoIndexList ? [...i.path[0].panoIndexList] : void 0, q = (() => {
26
+ const t = [];
27
+ for (let s = 0; s < b.length; s++) {
28
+ const u = b[s];
29
+ if (s === 0)
30
+ t.push(0);
31
+ else {
32
+ const f = b[s - 1];
33
+ t.push(u.distanceTo(f) + t[s - 1]);
34
+ }
34
35
  }
35
- t !== o.length - 1 && (r[t * 6 + 0] = t * 2 + 0, r[t * 6 + 1] = t * 2 + 2, r[t * 6 + 2] = t * 2 + 1, r[t * 6 + 3] = t * 2 + 2, r[t * 6 + 4] = t * 2 + 3, r[t * 6 + 5] = t * 2 + 1);
36
+ const e = t.at(-1), p = [];
37
+ for (let s = 0; s < t.length; s++) {
38
+ const u = t[s], f = s === 0 ? 0 : t[s - 1], w = s === t.length - 1 ? e : t[s + 1], r = u - Math.min(0.3, (u - f) / 2), a = u + Math.min(0.3, (w - u) / 2);
39
+ p.push([H * (r / e), H * (a / e)]);
40
+ }
41
+ return p;
42
+ })();
43
+ let D = [];
44
+ for (let t = 0; t < x; t++) {
45
+ const [e, p] = et[t][0], s = P[t], { x: u, y: f, z: w } = s, r = new nt(u + e * V, f + 0.05, w + p * V);
46
+ n[t * 6 + 0] = r.x, n[t * 6 + 1] = r.y, n[t * 6 + 2] = r.z;
47
+ const a = new nt(u - e * V, f + 0.05, w - p * V);
48
+ n[t * 6 + 3] = a.x, n[t * 6 + 4] = a.y, n[t * 6 + 5] = a.z, R += t > 0 ? P[t - 1].clone().sub(P[t]).length() : 0;
49
+ const g = R / L;
50
+ Z = g, N[t * 4 + 0] = 0, N[t * 4 + 1] = g, N[t * 4 + 2] = 1, N[t * 4 + 3] = g;
51
+ const A = new l.Vector3().lerpVectors(r, a, 0.5);
52
+ if (i.skipPositions && i.skipPositions.some((_) => _.distanceTo(A) < 0.26))
53
+ continue;
54
+ const h = b[0];
55
+ if (i.useAutoDepthTest && h && j) {
56
+ const T = j[0], [_, v] = q[0];
57
+ if (R > _ && R < v && D.push({
58
+ distance: h.distanceTo(A),
59
+ index: t
60
+ }), R >= v || t === x - 1) {
61
+ const Y = Math.min(...D.map((M) => M.distance)), c = D.find((M) => M.distance === Y);
62
+ if (D = [], b.shift(), j.shift(), q.shift(), c)
63
+ $[T] = c.index;
64
+ else {
65
+ console.error(`can not find the min distance ${T}`);
66
+ continue;
67
+ }
68
+ }
69
+ }
70
+ t !== x - 1 && (E[t * 6 + 0] = t * 2 + 0, E[t * 6 + 1] = t * 2 + 2, E[t * 6 + 2] = t * 2 + 1, E[t * 6 + 3] = t * 2 + 2, E[t * 6 + 4] = t * 2 + 3, E[t * 6 + 5] = t * 2 + 1);
36
71
  }
37
- const m = new n.BufferGeometry();
38
- return m.setAttribute("position", new n.BufferAttribute(s, 3)), m.setAttribute("uv", new n.BufferAttribute(a, 2)), m.setIndex(new n.BufferAttribute(r, 1)), { geometry: m, maxU: P, curvePath: u, curvePoints: o };
72
+ const m = [], z = [];
73
+ for (let t = 0; t < x - 1; t++) {
74
+ const e = t + 1, p = {
75
+ x: n[t * 6 + 0],
76
+ y: n[t * 6 + 2]
77
+ }, s = {
78
+ x: n[t * 6 + 3],
79
+ y: n[t * 6 + 5]
80
+ }, u = {
81
+ x: n[e * 6 + 0],
82
+ y: n[e * 6 + 2]
83
+ }, f = {
84
+ x: n[e * 6 + 3],
85
+ y: n[e * 6 + 5]
86
+ }, w = mt([p, s], [u, f]);
87
+ if (w && m.push(t), !w && m.length) {
88
+ m.push(e);
89
+ const r = new l.Vector2(p.x, p.y).distanceTo(new l.Vector2(u.x, u.y)), a = new l.Vector2(s.x, s.y).distanceTo(new l.Vector2(f.x, f.y)), g = [], A = [], h = Math.max(0, m[0] - L * 100), T = m[0];
90
+ for (let c = h; c < T; c++)
91
+ r < a ? g.push({ x: n[c * 6 + 0], y: n[c * 6 + 2] }) : g.push({ x: n[c * 6 + 3], y: n[c * 6 + 5] });
92
+ const _ = m.at(-1), v = Math.min(x - 1, m.at(-1) + L * 100);
93
+ for (let c = _; c < v; c++)
94
+ r < a ? A.push({ x: n[c * 6 + 0], y: n[c * 6 + 2] }) : A.push({ x: n[c * 6 + 3], y: n[c * 6 + 5] });
95
+ const Y = pt(g, A);
96
+ if (console.log(Y, r < a, m, g, A), Y) {
97
+ const {
98
+ line1RelativeIndex: c,
99
+ line2RelativeIndex: M,
100
+ x: J,
101
+ y: K
102
+ } = Y, y = h + c, d = _ + M + 2;
103
+ console.log(y, d, r < a);
104
+ for (let o = y; o < d; o++)
105
+ r < a ? (n[o * 6 + 0] = J, n[o * 6 + 2] = K) : (n[o * 6 + 3] = J, n[o * 6 + 5] = K);
106
+ const Q = n[h * 6 + 1], tt = n[h * 6 + 4], it = n[y * 6 + 1], rt = n[y * 6 + 4], at = n[d * 6 + 1], lt = n[d * 6 + 4], ut = n[(v - 1) * 6 + 1], ft = n[(v - 1) * 6 + 4], F = (it + at) / 2, U = (rt + lt) / 2;
107
+ for (let o = h; o < y; o++) {
108
+ const O = y - h, C = (o - h) / O;
109
+ r < a ? n[o * 6 + 1] = Q + (F - Q) * C : n[o * 6 + 4] = tt + (U - tt) * C;
110
+ }
111
+ for (let o = y; o < d; o++)
112
+ r < a ? n[o * 6 + 1] = F : n[o * 6 + 4] = U;
113
+ for (let o = d; o < v; o++) {
114
+ const O = v - d, C = (o - d + 1) / O;
115
+ r < a ? n[o * 6 + 1] = F + (ut - F) * C : n[o * 6 + 4] = U + (ft - U) * C;
116
+ }
117
+ z.push({
118
+ start: y,
119
+ end: d
120
+ });
121
+ }
122
+ m.length = 0;
123
+ }
124
+ }
125
+ const k = new Float32Array(X);
126
+ z.forEach((t) => {
127
+ for (let e = 0; e < x - 1; e++)
128
+ e >= t.start && e <= t.end ? (k[e * 2 + 0] = 1, k[e * 2 + 1] = 1) : k[e] !== 1 && (k[e * 2 + 0] = 0, k[e * 2 + 1] = 0);
129
+ });
130
+ const S = new l.BufferGeometry();
131
+ return S.setAttribute("position", new l.BufferAttribute(n, 3)), S.setAttribute("uv", new l.BufferAttribute(N, 2)), S.setIndex(new l.BufferAttribute(E, 1)), { geometry: S, maxV: Z, animationWillError: z, curvePath: I, curvePoints: P, panoMap: $, totalLength: R };
39
132
  }
40
- function I(e) {
41
- if (O(e)) {
42
- const i = [e.closed, e.curve_type, e.tension], p = e.points.map((c) => new n.Vector3().fromArray(c));
43
- return new n.CatmullRomCurve3(p, ...i);
133
+ function yt(i) {
134
+ if (Et(i)) {
135
+ const G = [i.closed, i.curve_type, i.tension], L = i.points.map((B) => new l.Vector3().fromArray(B));
136
+ return new l.CatmullRomCurve3(L, ...G);
44
137
  }
45
138
  }
46
- function O(e) {
47
- return e.type === "CatmullRomCurve3";
139
+ function Et(i) {
140
+ return i.type === "CatmullRomCurve3";
48
141
  }
49
142
  export {
50
- Q as createLineGeometry
143
+ kt as createLineGeometry
51
144
  };
@@ -15,7 +15,7 @@ let x = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- o(this, "VERSION", "3.38.0");
18
+ o(this, "VERSION", "3.40.0-alpha.0");
19
19
  o(this, "NAME");
20
20
  o(this, "five");
21
21
  o(this, "workUtil");