@realsee/dnalogel 3.39.0 → 3.40.0-alpha.1

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 (398) hide show
  1. package/dist/GuideLinePlugin/typing.d.ts +1 -0
  2. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
  3. package/dist/index.cjs.js +57 -53
  4. package/dist/index.js +4164 -4061
  5. package/dist/index.umd.js +50 -46
  6. package/dist/shared-utils/math/intersecting.d.ts +25 -0
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +35 -83
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
  10. package/docs/classes/CSS3DRender.html +33 -43
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +53 -77
  13. package/docs/{modules/ModelMakerPluginType.html → classes/Magnifier.html} +216 -70
  14. package/docs/classes/ModelRoomLabelController.html +13 -23
  15. package/docs/classes/MoveController.html +34 -60
  16. package/docs/classes/Object3DHelperController.html +52 -87
  17. package/docs/classes/PaintBrush.html +17 -27
  18. package/docs/classes/PanoMeasurePluginLine.html +36 -56
  19. package/docs/classes/PanoMeasurePluginModel.html +32 -42
  20. package/docs/classes/PanoMeasurePluginPoint.html +13 -23
  21. package/docs/classes/PanoMeasurePluginPolyline.html +34 -61
  22. package/docs/classes/PanoTagPluginController.html +129 -253
  23. package/docs/classes/Util.BetterTween.html +13 -28
  24. package/docs/classes/Util.Interval.html +15 -30
  25. package/docs/classes/Util.LineSegments.html +11 -26
  26. package/docs/classes/Util.Magnifier.html +60 -94
  27. package/docs/classes/Util.Object3D.html +12 -27
  28. package/docs/classes/Util.PointDomHelper.html +14 -29
  29. package/docs/classes/Util.PointHelper.html +14 -29
  30. package/docs/classes/Util.PointSelectorHelper.html +20 -35
  31. package/docs/classes/Util.Rectangle.html +16 -31
  32. package/docs/classes/WalkController.html +30 -56
  33. package/docs/enums/CameraMovementEffect.html +9 -19
  34. package/docs/enums/ContentType.html +23 -33
  35. package/docs/enums/DIRECTION.html +11 -21
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
  37. package/docs/enums/DimensionType.html +9 -19
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
  40. package/docs/enums/PaintBrushTypeEnum.html +10 -20
  41. package/docs/enums/PointType.html +9 -19
  42. package/docs/enums/Rotation.html +10 -20
  43. package/docs/functions/AreaMakerPlugin.html +7 -17
  44. package/docs/functions/CSS3DRenderPlugin.html +7 -17
  45. package/docs/functions/CameraMovementPlugin.html +7 -17
  46. package/docs/functions/CruisePlugin.html +7 -17
  47. package/docs/functions/CurrentPanoImagePlugin.html +7 -17
  48. package/docs/functions/GuideLinePlugin.html +7 -17
  49. package/docs/functions/ItemLabelPlugin.html +7 -17
  50. package/docs/functions/MapviewFloorplanPlugin.html +7 -17
  51. package/docs/functions/ModelChassisCompassPlugin.html +7 -17
  52. package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
  53. package/docs/functions/ModelFloorplanPlugin.html +7 -17
  54. package/docs/functions/ModelItemLabelPlugin.html +7 -17
  55. package/docs/functions/ModelRoomLabelPlugin.html +7 -17
  56. package/docs/functions/ModelTVVideoPlugin.html +7 -17
  57. package/docs/functions/ModelViewPlugin.html +7 -17
  58. package/docs/functions/MovePlugin.html +8 -18
  59. package/docs/functions/Object3DHelperPlugin.html +7 -17
  60. package/docs/functions/PanoCompassPlugin.html +7 -17
  61. package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
  62. package/docs/functions/PanoDoorLabelPlugin.html +7 -17
  63. package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
  64. package/docs/functions/PanoMeasurePlugin.html +7 -17
  65. package/docs/functions/PanoRulerPlugin.html +7 -17
  66. package/docs/functions/PanoRulerProPlugin.html +7 -17
  67. package/docs/functions/PanoSpatialTagPlugin.html +7 -17
  68. package/docs/functions/PanoTagPlugin.html +8 -20
  69. package/docs/functions/PanoVideoPlugin.html +7 -17
  70. package/docs/functions/PipelinePlugin.html +7 -17
  71. package/docs/functions/TopviewFloorplanPlugin.html +7 -17
  72. package/docs/functions/Util.absoluteUrl.html +8 -23
  73. package/docs/functions/Util.checkFiveModelLoaded.html +8 -23
  74. package/docs/functions/Util.equal.html +8 -23
  75. package/docs/functions/Util.getCoordsFromClient.html +8 -23
  76. package/docs/functions/Util.getCoordsFromElement.html +8 -23
  77. package/docs/functions/Util.getFrameTime.html +8 -23
  78. package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -30
  79. package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -23
  80. package/docs/functions/Util.isAbsoluteURL.html +8 -23
  81. package/docs/functions/Util.isModelLike.html +8 -23
  82. package/docs/functions/Util.isNil.html +8 -23
  83. package/docs/functions/Util.isPanoramaLike.html +8 -23
  84. package/docs/functions/Util.nextFrame.html +8 -23
  85. package/docs/functions/Util.notNil.html +8 -23
  86. package/docs/functions/Util.requestAnimationFrameInterval.html +8 -23
  87. package/docs/functions/Util.tweenProgress.html +8 -23
  88. package/docs/functions/Util.uuid.html +8 -23
  89. package/docs/functions/pluginFlag.html +7 -17
  90. package/docs/index.html +7 -18
  91. package/docs/interfaces/AddTagConfig.html +8 -18
  92. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
  93. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
  94. package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
  95. package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
  100. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
  101. package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
  102. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
  103. package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
  104. package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
  105. package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
  106. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
  107. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
  108. package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
  109. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
  110. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
  111. package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
  112. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
  113. package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
  114. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
  115. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
  116. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
  117. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
  118. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
  119. package/docs/interfaces/EventMap.html +17 -27
  120. package/docs/interfaces/FloorplanBounding.html +10 -20
  121. package/docs/interfaces/FloorplanData.html +12 -22
  122. package/docs/interfaces/FloorplanEntrance.html +13 -23
  123. package/docs/interfaces/FloorplanExtraObject.html +12 -22
  124. package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
  125. package/docs/interfaces/FloorplanFloorData.html +11 -21
  126. package/docs/interfaces/FloorplanImagePosition.html +9 -19
  127. package/docs/interfaces/FloorplanObserver.html +11 -21
  128. package/docs/interfaces/FloorplanOutlineItem.html +11 -21
  129. package/docs/interfaces/FloorplanPosition.html +9 -19
  130. package/docs/interfaces/FloorplanRoomItem.html +16 -26
  131. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
  132. package/docs/interfaces/FloorplanServerBounding.html +10 -20
  133. package/docs/interfaces/FloorplanServerComputedData.html +12 -22
  134. package/docs/interfaces/FloorplanServerData.html +9 -19
  135. package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
  136. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
  137. package/docs/interfaces/FloorplanServerEntrance.html +13 -23
  138. package/docs/interfaces/FloorplanServerFloorData.html +11 -21
  139. package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
  140. package/docs/interfaces/FloorplanServerObserver.html +11 -21
  141. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
  142. package/docs/interfaces/FloorplanServerPosition.html +9 -19
  143. package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
  144. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
  145. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
  146. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -28
  147. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
  148. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
  149. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
  150. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
  152. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
  155. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +28 -67
  156. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
  157. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
  158. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
  159. package/docs/interfaces/GuideLinePluginType.Route.html +19 -21
  160. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +16 -19
  161. package/docs/interfaces/HelperOffset.html +10 -20
  162. package/docs/interfaces/ImagePlaneGroup.html +8 -18
  163. package/docs/interfaces/ItemLabelPluginData.html +8 -18
  164. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
  165. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
  166. package/docs/interfaces/MinMax.html +9 -19
  167. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
  168. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
  169. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
  170. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
  171. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
  172. package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
  173. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
  174. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
  175. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
  176. package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
  177. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
  178. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
  179. package/docs/interfaces/ModelViewPluginExportType.html +13 -23
  180. package/docs/interfaces/Object3DHelperState.html +10 -20
  181. package/docs/interfaces/ObjectHelperControllers.html +12 -22
  182. package/docs/interfaces/PaintBrushAction.html +14 -24
  183. package/docs/interfaces/PaintBrushConfigs.html +14 -24
  184. package/docs/interfaces/PaintBrushState.html +12 -22
  185. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
  186. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
  187. package/docs/interfaces/PanoMeasureParameterType.html +18 -28
  188. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
  189. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
  190. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
  191. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -30
  192. package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
  193. package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
  194. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
  195. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
  196. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
  197. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
  198. package/docs/interfaces/PanoRulerProPluginState.html +10 -20
  199. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
  200. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
  201. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
  202. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
  203. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
  204. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
  205. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
  206. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
  207. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
  208. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
  209. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
  210. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
  211. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +18 -112
  212. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
  213. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
  214. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
  215. package/docs/interfaces/Point.html +10 -20
  216. package/docs/interfaces/Room.html +11 -21
  217. package/docs/interfaces/RoomInfo.html +9 -19
  218. package/docs/interfaces/RoomLabel.html +16 -26
  219. package/docs/interfaces/RoomRules.html +7 -17
  220. package/docs/interfaces/Rooms.html +7 -17
  221. package/docs/interfaces/Scissor.html +11 -21
  222. package/docs/interfaces/State.html +10 -20
  223. package/docs/interfaces/TagCacheInterface.html +14 -24
  224. package/docs/interfaces/TagConfig.html +49 -65
  225. package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
  226. package/docs/interfaces/TagIconUrl.html +14 -24
  227. package/docs/interfaces/TagObjectGroup.html +8 -18
  228. package/docs/interfaces/TagStyle.html +8 -18
  229. package/docs/interfaces/Tags.html +437 -61
  230. package/docs/interfaces/TemporaryState.html +8 -18
  231. package/docs/interfaces/Util.MagnifierParameter.html +24 -44
  232. package/docs/interfaces/Util.MouseGroupParameter.html +11 -26
  233. package/docs/interfaces/Util.PointIntersection.html +12 -34
  234. package/docs/modules/AreaMakerPluginType.html +6 -16
  235. package/docs/modules/CruisePluginTypes.html +6 -18
  236. package/docs/modules/CurrentPanoImagePluginType.html +7 -17
  237. package/docs/modules/GuideLineItem.html +7 -17
  238. package/docs/modules/GuideLineModeItem.html +7 -17
  239. package/docs/modules/GuideLinePluginType.html +6 -16
  240. package/docs/modules/PanoVideoPluginType.html +7 -17
  241. package/docs/modules/Util.html +8 -28
  242. package/docs/modules.html +11 -34
  243. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
  244. package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
  245. package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
  246. package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
  247. package/docs/types/ArrayPosition.html +7 -17
  248. package/docs/types/AudioAppearance.html +7 -17
  249. package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
  250. package/docs/types/CSS3DRenderExportType.html +7 -17
  251. package/docs/types/CSS3DRenderPluginExportType.html +7 -17
  252. package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
  253. package/docs/types/ClassFunctionParameters.html +7 -17
  254. package/docs/types/Color.html +7 -17
  255. package/docs/types/ContentTypeConfigKey.html +7 -17
  256. package/docs/types/ContentTypeConfigKeySplit.html +8 -18
  257. package/docs/types/ContentTypeMap.html +7 -17
  258. package/docs/types/Create3DDomContainerReturnType.html +7 -17
  259. package/docs/types/Create3DElementReturnType.html +7 -17
  260. package/docs/types/CruisePluginExportType.html +7 -17
  261. package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
  262. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
  263. package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
  264. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
  265. package/docs/types/DeprecatedTagProperty.html +7 -17
  266. package/docs/types/Direction-1.html +7 -17
  267. package/docs/types/Direction4.html +7 -17
  268. package/docs/types/ElementRenderer.html +7 -17
  269. package/docs/types/FloorplanRuleLabels.html +7 -17
  270. package/docs/types/FloorplanServerRuleLabels.html +7 -17
  271. package/docs/types/GuideLinePluginExportType.html +7 -17
  272. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
  273. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
  274. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
  275. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
  276. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
  277. package/docs/types/GuideLinePluginType.PathItem.html +6 -16
  278. package/docs/types/GuideLinePluginType.PluginData.html +6 -16
  279. package/docs/types/HelperEventMap.html +7 -17
  280. package/docs/types/InternalHelperEventMap.html +11 -29
  281. package/docs/types/LoadTagConfig.html +7 -17
  282. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
  283. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
  284. package/docs/types/MediaData.html +10 -20
  285. package/docs/types/MediaStore.html +7 -17
  286. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
  287. package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
  288. package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
  289. package/docs/types/ModelId.html +7 -17
  290. package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
  291. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
  292. package/docs/types/MoveArgs.html +7 -17
  293. package/docs/types/MoveOpts.html +7 -17
  294. package/docs/types/Object3DHelperEventMap.html +7 -17
  295. package/docs/types/ObjectFit.html +7 -17
  296. package/docs/types/PaintBrushEventMap.html +7 -17
  297. package/docs/types/PanoCompassPluginData.html +7 -17
  298. package/docs/types/PanoCompassPluginExportType.html +7 -17
  299. package/docs/types/PanoCompassPluginParameterType.html +7 -17
  300. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
  301. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
  302. package/docs/types/PanoIndex.html +7 -17
  303. package/docs/types/PanoMeasurePluginEvent.html +7 -17
  304. package/docs/types/PanoMeasureReturnType.html +7 -17
  305. package/docs/types/PanoSpatialTagPluginId.html +7 -17
  306. package/docs/types/PanoTagPluginExportInterface.html +7 -17
  307. package/docs/types/PanoTagPluginParamsInterface.html +7 -17
  308. package/docs/types/PanoVideoPluginParameterType.html +7 -17
  309. package/docs/types/PanoVideoPluginReturnType.html +7 -17
  310. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
  311. package/docs/types/PipelinePluginParameterType.html +7 -17
  312. package/docs/types/PipelinePluginReturnType.html +7 -17
  313. package/docs/types/PlaneTag.html +7 -17
  314. package/docs/types/Point2DTag.html +7 -17
  315. package/docs/types/Point3DTag.html +7 -17
  316. package/docs/types/PointTag.html +7 -17
  317. package/docs/types/PointTagInstance.html +7 -17
  318. package/docs/types/Position.html +7 -17
  319. package/docs/types/RotateArgs.html +7 -17
  320. package/docs/types/RotateOpts.html +7 -17
  321. package/docs/types/RuleLabelsKey.html +7 -17
  322. package/docs/types/RuleLabelsValue.html +7 -17
  323. package/docs/types/StickType.html +7 -17
  324. package/docs/types/Tag.html +13 -35
  325. package/docs/types/Tag2D.html +7 -17
  326. package/docs/types/Tag3D.html +7 -17
  327. package/docs/types/TagConfigByKey.html +8 -18
  328. package/docs/types/TagContentType.html +7 -17
  329. package/docs/types/TagContentTypeMapping.html +7 -17
  330. package/docs/types/TagDimensionType.html +7 -17
  331. package/docs/types/TagElement.html +7 -17
  332. package/docs/types/TagEvents.html +12 -38
  333. package/docs/types/TagGLTFObject.html +7 -17
  334. package/docs/types/TagHooks.html +7 -17
  335. package/docs/types/TagId.html +7 -17
  336. package/docs/types/TagInstance.html +8 -44
  337. package/docs/types/TagPointType.html +7 -17
  338. package/docs/types/TagRendererMap.html +7 -17
  339. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
  340. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
  341. package/docs/types/WorkCode.html +7 -17
  342. package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
  343. package/docs/variables/PLUGIN.html +7 -17
  344. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
  345. package/docs/variables/ROOM_TYPE_MAP.html +7 -17
  346. package/docs/variables/defaultGlobalConfig.html +7 -17
  347. package/docs/variables/itemLabelPluginServerParams.html +7 -17
  348. package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
  349. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
  350. package/libs/CruisePlugin/Move.js +3 -2
  351. package/libs/CruisePlugin/Work.js +3 -2
  352. package/libs/CruisePlugin/index.js +7 -6
  353. package/libs/GuideLinePlugin/Controller.js +5 -4
  354. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  355. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +76 -59
  356. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  357. package/libs/GuideLinePlugin/index.js +7 -6
  358. package/libs/GuideLinePlugin/typing.d.ts +1 -0
  359. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
  360. package/libs/GuideLinePlugin/utils/createLineGeometry.js +123 -57
  361. package/libs/base/BasePlugin.js +1 -1
  362. package/libs/index.js +126 -125
  363. package/libs/shared-utils/logger.js +1 -1
  364. package/libs/shared-utils/math/intersecting.d.ts +25 -0
  365. package/libs/shared-utils/math/intersecting.js +25 -0
  366. package/package.json +2 -2
  367. package/docs/classes/ModelMakerPluginInstance.html +0 -647
  368. package/docs/classes/Sculpt.html +0 -852
  369. package/docs/functions/ModelMakerPlugin.html +0 -303
  370. package/docs/functions/SculptPlugin.html +0 -306
  371. package/docs/functions/Util.awaitNextFrame.html +0 -336
  372. package/docs/functions/Util.blink.html +0 -352
  373. package/docs/functions/Util.reblink.html +0 -350
  374. package/docs/interfaces/ContentTypeMapInterface.html +0 -755
  375. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
  376. package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
  377. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
  378. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
  379. package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
  380. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
  381. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
  382. package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
  383. package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -381
  384. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -388
  385. package/docs/modules/SculptData.html +0 -318
  386. package/docs/types/AddObject3DHelperConfig.html +0 -315
  387. package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
  388. package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
  389. package/docs/types/ScaleCallback.html +0 -314
  390. package/docs/types/ScalePosition.html +0 -303
  391. package/docs/types/SculptData.BoxData.html +0 -306
  392. package/docs/types/SculptData.CircleData.html +0 -306
  393. package/docs/types/SculptData.CylinderData.html +0 -306
  394. package/docs/types/SculptData.PointData.html +0 -306
  395. package/docs/types/SculptData.PolygonData.html +0 -306
  396. package/docs/types/SculptData.PolylineData.html +0 -306
  397. package/docs/types/SculptData.PrismData.html +0 -306
  398. package/docs/types/SculptData.RectangleData.html +0 -306
@@ -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
  };
@@ -178,4 +178,5 @@ export interface CatmullRomCurve3 {
178
178
  curve_type?: string;
179
179
  tension?: number;
180
180
  panoIndexList?: number[];
181
+ panoIndexMap?: Record<number, number>;
181
182
  }
@@ -22,11 +22,16 @@ export declare function createLineGeometry(options: LineGeometryOption): {
22
22
  maxV: number;
23
23
  curvePath: any;
24
24
  curvePoints: any;
25
+ animationWillError?: undefined;
25
26
  panoMap?: undefined;
26
27
  totalLength?: undefined;
27
28
  } | {
28
29
  geometry: THREE.BufferGeometry;
29
30
  maxV: number;
31
+ animationWillError: {
32
+ start: number;
33
+ end: number;
34
+ }[];
30
35
  curvePath: THREE.CurvePath<THREE.Vector3>;
31
36
  curvePoints: THREE.Vector3[];
32
37
  panoMap: Record<number, number>;
@@ -1,85 +1,151 @@
1
- import * as o from "three";
2
- import { Vector3 as z } from "three";
3
- import { polylineNormals as Y } from "../../vendor/polyline-normals/index.js";
1
+ import * as r from "three";
2
+ import { Vector3 as ot } from "three";
3
+ import { polylineNormals as at } from "../../vendor/polyline-normals/index.js";
4
+ import { lineIsIntersecting as lt, findIntersectingOfLines as ut } 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, $ = 3, j = 3, q = 2;
11
- function at(n) {
12
- const _ = n.width, w = n.unitLength, f = _ / 2, x = n.path;
13
- if (x.length === 0)
14
- return { geometry: new o.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
15
- const u = new o.CurvePath();
16
- x.forEach((t) => {
17
- const c = J(t);
18
- c && u.add(c);
11
+ const ft = 2, ht = 3, mt = 3, pt = 2;
12
+ function Lt(i) {
13
+ const O = i.width, N = i.unitLength, b = O / 2, F = i.path;
14
+ if (F.length === 0)
15
+ return { geometry: new r.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
16
+ const P = new r.CurvePath();
17
+ F.forEach((t) => {
18
+ const n = dt(t);
19
+ n && P.add(n);
19
20
  });
20
- const T = Math.ceil(u.getLength() * 100);
21
- u.arcLengthDivisions = T;
22
- const s = u.getPoints(T), V = s.length, X = Y(s.map((t) => [t.x, t.z])), O = (V - 1) * Z * $, C = 2 * V, S = C * j, W = C * q, r = new Uint32Array(O), a = new Float32Array(S), d = new Float32Array(W), B = u.getLength();
23
- let l = 0, D = 0, M = {};
24
- const v = n.path[0].points.map((t) => new o.Vector3().fromArray(t)), y = n.path[0].panoIndexList ? [...n.path[0].panoIndexList] : void 0, k = (() => {
21
+ const q = Math.ceil(P.getLength() * 100);
22
+ P.arcLengthDivisions = q;
23
+ const I = P.getPoints(q), d = I.length;
24
+ if (d <= 2)
25
+ return { geometry: new r.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
26
+ const st = at(I.map((t) => [t.x, t.z])), ct = (d - 1) * ft * ht, j = 2 * d, it = j * mt, rt = j * pt, y = new Uint32Array(ct), e = new Float32Array(it), T = new Float32Array(rt), J = P.getLength();
27
+ let R = 0, K = 0, Q = {};
28
+ const k = i.path[0].points.map((t) => new r.Vector3().fromArray(t)), W = i.path[0].panoIndexList ? [...i.path[0].panoIndexList] : void 0, tt = (() => {
25
29
  const t = [];
26
- for (let e = 0; e < v.length; e++) {
27
- const i = v[e];
28
- if (e === 0)
30
+ for (let s = 0; s < k.length; s++) {
31
+ const u = k[s];
32
+ if (s === 0)
29
33
  t.push(0);
30
34
  else {
31
- const h = v[e - 1];
32
- t.push(i.distanceTo(h) + t[e - 1]);
35
+ const f = k[s - 1];
36
+ t.push(u.distanceTo(f) + t[s - 1]);
33
37
  }
34
38
  }
35
- const c = t.at(-1), g = [];
36
- for (let e = 0; e < t.length; e++) {
37
- const i = t[e], h = e === 0 ? 0 : t[e - 1], P = e === t.length - 1 ? c : t[e + 1], m = i - Math.min(0.3, (i - h) / 2), p = i + Math.min(0.3, (P - i) / 2);
38
- g.push([B * (m / c), B * (p / c)]);
39
+ const n = t.at(-1), p = [];
40
+ for (let s = 0; s < t.length; s++) {
41
+ const u = t[s], f = s === 0 ? 0 : t[s - 1], E = s === t.length - 1 ? n : t[s + 1], a = u - Math.min(0.3, (u - f) / 2), l = u + Math.min(0.3, (E - u) / 2);
42
+ p.push([J * (a / n), J * (l / n)]);
39
43
  }
40
- return g;
44
+ return p;
41
45
  })();
42
- let E = [];
43
- for (let t = 0; t < s.length; t++) {
44
- const [c, g] = X[t][0], e = s[t], { x: i, y: h, z: P } = e, m = new z(i + c * f, h + 0.05, P + g * f);
45
- a[t * 6 + 0] = m.x, a[t * 6 + 1] = m.y, a[t * 6 + 2] = m.z;
46
- const p = new z(i - c * f, h + 0.05, P - g * f);
47
- a[t * 6 + 3] = p.x, a[t * 6 + 4] = p.y, a[t * 6 + 5] = p.z, l += t > 0 ? s[t - 1].clone().sub(s[t]).length() : 0;
48
- const L = l / w;
49
- D = L, d[t * 4 + 0] = 0, d[t * 4 + 1] = L, d[t * 4 + 2] = 1, d[t * 4 + 3] = L;
50
- const I = new o.Vector3().lerpVectors(m, p, 0.5);
51
- if (n.skipPositions && n.skipPositions.some((N) => N.distanceTo(I) < 0.26))
46
+ let G = [];
47
+ for (let t = 0; t < d; t++) {
48
+ const [n, p] = st[t][0], s = I[t], { x: u, y: f, z: E } = s, a = new ot(u + n * b, f + 0.05, E + p * b);
49
+ e[t * 6 + 0] = a.x, e[t * 6 + 1] = a.y, e[t * 6 + 2] = a.z;
50
+ const l = new ot(u - n * b, f + 0.05, E - p * b);
51
+ e[t * 6 + 3] = l.x, e[t * 6 + 4] = l.y, e[t * 6 + 5] = l.z, R += t > 0 ? I[t - 1].clone().sub(I[t]).length() : 0;
52
+ const w = R / N;
53
+ K = w, T[t * 4 + 0] = 0, T[t * 4 + 1] = w, T[t * 4 + 2] = 1, T[t * 4 + 3] = w;
54
+ const _ = new r.Vector3().lerpVectors(a, l, 0.5);
55
+ if (i.skipPositions && i.skipPositions.some((L) => L.distanceTo(_) < 0.26))
52
56
  continue;
53
- const U = v[0];
54
- if (n.useAutoDepthTest && U && y) {
55
- const R = y[0], [N, F] = k[0];
56
- if (l > N && l < F && E.push({
57
- distance: U.distanceTo(I),
57
+ const h = k[0];
58
+ if (i.useAutoDepthTest && h && W) {
59
+ const C = W[0], [L, g] = tt[0];
60
+ if (R > L && R < g && G.push({
61
+ distance: h.distanceTo(_),
58
62
  index: t
59
- }), l >= F || t === s.length - 1) {
60
- const H = Math.min(...E.map((b) => b.distance)), G = E.find((b) => b.distance === H);
61
- if (E = [], v.shift(), y.shift(), k.shift(), G)
62
- M[R] = G.index;
63
+ }), R >= g || t === d - 1) {
64
+ const U = Math.min(...G.map((M) => M.distance)), c = G.find((M) => M.distance === U);
65
+ if (G = [], k.shift(), W.shift(), tt.shift(), c)
66
+ Q[C] = c.index;
63
67
  else {
64
- console.error(`can not find the min distance ${R}`);
68
+ console.error(`can not find the min distance ${C}`);
65
69
  continue;
66
70
  }
67
71
  }
68
72
  }
69
- t !== s.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);
73
+ t !== d - 1 && (y[t * 6 + 0] = t * 2 + 0, y[t * 6 + 1] = t * 2 + 2, y[t * 6 + 2] = t * 2 + 1, y[t * 6 + 3] = t * 2 + 2, y[t * 6 + 4] = t * 2 + 3, y[t * 6 + 5] = t * 2 + 1);
70
74
  }
71
- const A = new o.BufferGeometry();
72
- return A.setAttribute("position", new o.BufferAttribute(a, 3)), A.setAttribute("uv", new o.BufferAttribute(d, 2)), A.setIndex(new o.BufferAttribute(r, 1)), { geometry: A, maxV: D, curvePath: u, curvePoints: s, panoMap: M, totalLength: l };
75
+ const x = [];
76
+ let H;
77
+ const Z = [];
78
+ for (let t = 0; t < d - 1; t++) {
79
+ if (H !== void 0 && t <= H)
80
+ continue;
81
+ const n = t + 1, p = {
82
+ x: e[t * 6 + 0],
83
+ y: e[t * 6 + 2]
84
+ }, s = {
85
+ x: e[t * 6 + 3],
86
+ y: e[t * 6 + 5]
87
+ }, u = {
88
+ x: e[n * 6 + 0],
89
+ y: e[n * 6 + 2]
90
+ }, f = {
91
+ x: e[n * 6 + 3],
92
+ y: e[n * 6 + 5]
93
+ }, E = lt([p, s], [u, f]);
94
+ if (E && x.push(t), !E && x.length) {
95
+ x.push(t);
96
+ const a = new r.Vector2(p.x, p.y).distanceTo(new r.Vector2(u.x, u.y)), l = new r.Vector2(s.x, s.y).distanceTo(new r.Vector2(f.x, f.y)), w = [], _ = [], h = Math.max(0, x[0] - N * 200), C = x[0];
97
+ for (let c = h; c < C; c++)
98
+ a < l ? w.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : w.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
99
+ const L = x.at(-1), g = x.at(-1) + N * 200;
100
+ for (let c = L; c < g; c++)
101
+ a < l ? _.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : _.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
102
+ const U = ut(w, _);
103
+ if (U) {
104
+ const {
105
+ line1RelativeIndex: c,
106
+ line2RelativeIndex: M,
107
+ x: et,
108
+ y: nt
109
+ } = U, A = h + c, v = L + M + 2;
110
+ for (let o = A; o < v; o++)
111
+ a < l ? (e[o * 6 + 0] = et, e[o * 6 + 2] = nt) : (e[o * 6 + 3] = et, e[o * 6 + 5] = nt), H = o;
112
+ let V, Y, X, z, m;
113
+ a < l ? (V = e[h * 6 + 1], Y = e[A * 6 + 1], X = e[v * 6 + 1], z = e[g * 6 + 1], m = (Y + X) / 2) : (V = e[h * 6 + 4], Y = e[A * 6 + 4], X = e[v * 6 + 4], z = e[g * 6 + 4], m = (Y + X) / 2);
114
+ for (let o = h; o < A; o++) {
115
+ const $ = A - h, D = (o - h) / $;
116
+ a < l ? e[o * 6 + 1] = V + (m - V) * D : e[o * 6 + 4] = V + (m - V) * D;
117
+ }
118
+ for (let o = A; o < v; o++)
119
+ a < l ? e[o * 6 + 1] = m : e[o * 6 + 4] = m;
120
+ for (let o = v; o < g; o++) {
121
+ const $ = g - v, D = (o - v + 1) / $;
122
+ a < l ? e[o * 6 + 1] = m + (z - m) * D : e[o * 6 + 4] = m + (z - m) * D;
123
+ }
124
+ Z.push({
125
+ start: A,
126
+ end: v
127
+ });
128
+ }
129
+ x.length = 0;
130
+ }
131
+ }
132
+ const B = new Float32Array(j);
133
+ Z.forEach((t) => {
134
+ for (let n = 0; n < d - 1; n++)
135
+ n >= t.start && n <= t.end ? (B[n * 2 + 0] = 1, B[n * 2 + 1] = 1) : B[n] !== 1 && (B[n * 2 + 0] = 0, B[n * 2 + 1] = 0);
136
+ });
137
+ const S = new r.BufferGeometry();
138
+ return S.setAttribute("position", new r.BufferAttribute(e, 3)), S.setAttribute("uv", new r.BufferAttribute(T, 2)), S.setIndex(new r.BufferAttribute(y, 1)), { geometry: S, maxV: K, animationWillError: Z, curvePath: P, curvePoints: I, panoMap: Q, totalLength: R };
73
139
  }
74
- function J(n) {
75
- if (K(n)) {
76
- const _ = [n.closed, n.curve_type, n.tension], w = n.points.map((x) => new o.Vector3().fromArray(x));
77
- return new o.CatmullRomCurve3(w, ..._);
140
+ function dt(i) {
141
+ if (xt(i)) {
142
+ const O = [i.closed, i.curve_type, i.tension], N = i.points.map((F) => new r.Vector3().fromArray(F));
143
+ return new r.CatmullRomCurve3(N, ...O);
78
144
  }
79
145
  }
80
- function K(n) {
81
- return n.type === "CatmullRomCurve3";
146
+ function xt(i) {
147
+ return i.type === "CatmullRomCurve3";
82
148
  }
83
149
  export {
84
- at as createLineGeometry
150
+ Lt as createLineGeometry
85
151
  };
@@ -15,7 +15,7 @@ let x = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- o(this, "VERSION", "3.39.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");
package/libs/index.js CHANGED
@@ -1,62 +1,62 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as il } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as pl } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as ll } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as al } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as ul } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as xl, modelRoomLabelPluginServerParams as gl } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as dl } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as Tl } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as Cl } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as El } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as Rl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as Ol, ROOM_FETILE_TYPE_MAP as yl, ROOM_TYPE_MAP as Al } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as Gl } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as vl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Yl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as Vl, Rotation as Nl } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as kl } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as Bl } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as Ul } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as $l } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as ql } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as Jl } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as Ql } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as Zl } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as rn } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as mn } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as en } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as nn, MovePlugin as an } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as un } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as xn } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as sn } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as Mn } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as Ln } from "./AreaMakerPlugin/index.js";
36
- import { CurrentPanoImagePlugin as _n } from "./CurrentPanoImagePlugin/index.js";
37
- import { Sculpt as In, SculptPlugin as Rn } from "./Sculpt/index.js";
38
- import { ModelMakerPlugin as On } from "./ModelMakerPlugin/index.js";
39
- import { index as An } from "./shared-utils/index.js";
40
- import { CSS3DRender as Gn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
- import { Model as vn } from "./PanoMeasurePlugin/Model/index.js";
42
- import { default as Yn } from "./PanoMeasurePlugin/Model/point.js";
43
- import { default as Vn } from "./PanoMeasurePlugin/Model/line.js";
44
- import { Polyline as hn } from "./PanoMeasurePlugin/Model/polyline.js";
45
- import { Magnifier as wn } from "./shared-utils/three/Magnifier.js";
46
- import { DISPLAY_STRATEGY_TYPE as Hn } from "./ModelItemLabelPlugin/typings.js";
47
- import { ModelItemLabelPlugin as jn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
48
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Wn } from "./ItemLabelPlugin/typings.js";
49
- import { Plugin as zn } from "./ItemLabelPlugin/Plugin.js";
50
- import { GuideLineItem$1 as Kn } from "./GuideLinePlugin/GuideLineItem/index.js";
51
- import { GuideLineModeItem$1 as Xn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
52
- import { default as oa, default as ra } from "./CruisePlugin/Work.js";
53
- import { default as ia } from "./CruisePlugin/Move.js";
54
- import { typing as pa } from "./CruisePlugin/typing/index.js";
55
- import { default as la, pluginFlag as na } from "./PanoTagPlugin/controller/index.js";
56
- import { defaultGlobalConfig as Pa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
57
- import { ContentType as fa, DimensionType as xa, PointType as ga } from "./PanoTagPlugin/Archive/deprecated.js";
58
- import { Object3DHelperController as da, PLUGIN as Ma } from "./Object3DHelperPlugin/Controller.js";
59
- import { typings as La } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as ml } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as el } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as nl } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Pl } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as fl } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as gl, modelRoomLabelPluginServerParams as sl } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as Ml } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as Ll } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as _l } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as Il } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as Sl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as yl, ROOM_FETILE_TYPE_MAP as Al, ROOM_TYPE_MAP as Dl } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as bl } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Fl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as cl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as Nl, Rotation as hl } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as wl } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as Hl } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as jl } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as Wl } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as zl } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as Kl } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as Xl } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as on } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as tn } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as pn } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as ln } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as an, MovePlugin as Pn } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as fn } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as gn } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as dn } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as Tn } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as Cn } from "./AreaMakerPlugin/index.js";
36
+ import { CurrentPanoImagePlugin as En } from "./CurrentPanoImagePlugin/index.js";
37
+ import { Sculpt as Rn, SculptPlugin as Sn } from "./Sculpt/index.js";
38
+ import { ModelMakerPlugin as yn } from "./ModelMakerPlugin/index.js";
39
+ import { index as Dn } from "./shared-utils/index.js";
40
+ import { CSS3DRender as bn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
+ import { Model as Fn } from "./PanoMeasurePlugin/Model/index.js";
42
+ import { default as cn } from "./PanoMeasurePlugin/Model/point.js";
43
+ import { default as Nn } from "./PanoMeasurePlugin/Model/line.js";
44
+ import { Polyline as kn } from "./PanoMeasurePlugin/Model/polyline.js";
45
+ import { Magnifier as Bn } from "./shared-utils/three/Magnifier.js";
46
+ import { DISPLAY_STRATEGY_TYPE as Un } from "./ModelItemLabelPlugin/typings.js";
47
+ import { ModelItemLabelPlugin as $n } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
48
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as qn } from "./ItemLabelPlugin/typings.js";
49
+ import { Plugin as Jn } from "./ItemLabelPlugin/Plugin.js";
50
+ import { GuideLineItem$1 as Qn } from "./GuideLinePlugin/GuideLineItem/index.js";
51
+ import { GuideLineModeItem$1 as Zn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
52
+ import { default as ra, default as ta } from "./CruisePlugin/Work.js";
53
+ import { default as ma } from "./CruisePlugin/Move.js";
54
+ import { typing as ea } from "./CruisePlugin/typing/index.js";
55
+ import { default as na, pluginFlag as aa } from "./PanoTagPlugin/controller/index.js";
56
+ import { defaultGlobalConfig as ua } from "./PanoTagPlugin/typings/tag/TagConfig.js";
57
+ import { ContentType as xa, DimensionType as ga, PointType as sa } from "./PanoTagPlugin/Archive/deprecated.js";
58
+ import { Object3DHelperController as Ma, PLUGIN as Ta } from "./Object3DHelperPlugin/Controller.js";
59
+ import { typings as Ca } from "./PanoVideoPlugin/typings/index.js";
60
60
  import "./components/PaintBrush/Controller.js";
61
61
  import "./components/PaintBrush/utils.js";
62
62
  import "./components/PaintBrush/tween.js";
@@ -265,6 +265,7 @@ import "./vendor/gl-vec2/set.js";
265
265
  import "./vendor/gl-vec2/normalize.js";
266
266
  import "./vendor/gl-vec2/subtract.js";
267
267
  import "./vendor/gl-vec2/dot.js";
268
+ import "./shared-utils/math/intersecting.js";
268
269
  import "./shared-utils/five/mode.js";
269
270
  import "./PanoTagPlugin/utils/addDebugPoints.js";
270
271
  import "./PanoTagPlugin/utils/tag/tagCheck.js";
@@ -488,72 +489,72 @@ import "./shared-utils/three/getIntersect.js";
488
489
  r();
489
490
  o();
490
491
  export {
491
- Ln as AreaMakerPlugin,
492
- Gn as CSS3DRender,
493
- al as CSS3DRenderPlugin,
494
- Vl as CameraMovementEffect,
495
- Yl as CameraMovementPlugin,
496
- fa as ContentType,
497
- nn as CruisePlugin,
498
- oa as CruisePluginController,
499
- pa as CruisePluginTypes,
500
- _n as CurrentPanoImagePlugin,
501
- Zl as DIRECTION,
502
- Hn as DISPLAY_STRATEGY_TYPE,
503
- xa as DimensionType,
504
- dl as FLOOR_PLAN_ATTACHED_TO,
505
- Ol as FLOOR_TYPE_MAP,
506
- Kn as GuideLineItem,
507
- Xn as GuideLineModeItem,
508
- en as GuideLinePlugin,
509
- Wn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
510
- zn as ItemLabelPlugin,
511
- wn as Magnifier,
512
- Cl as MapviewFloorplanPlugin,
513
- Gl as ModelChassisCompassPlugin,
514
- vl as ModelEntryDoorGuidePlugin,
515
- Tl as ModelFloorplanPlugin,
516
- jn as ModelItemLabelPlugin,
517
- On as ModelMakerPlugin,
518
- xl as ModelRoomLabelPlugin,
519
- Ql as ModelTVVideoPlugin,
520
- ll as ModelViewPlugin,
521
- ia as MoveController,
522
- an as MovePlugin,
523
- da as Object3DHelperController,
524
- xn as Object3DHelperPlugin,
525
- Ma as PLUGIN,
526
- il as PaintBrush,
527
- pl as PaintBrushTypeEnum,
528
- Ul as PanoCompassPlugin,
529
- ul as PanoCursorRaycasterPlugin,
530
- mn as PanoDoorLabelPlugin,
531
- Rl as PanoFloorplanRadarPlugin,
532
- $l as PanoMeasurePlugin,
533
- Vn as PanoMeasurePluginLine,
534
- vn as PanoMeasurePluginModel,
535
- Yn as PanoMeasurePluginPoint,
536
- hn as PanoMeasurePluginPolyline,
537
- kl as PanoRulerPlugin,
538
- Bl as PanoRulerProPlugin,
539
- ql as PanoSpatialTagPlugin,
540
- un as PanoTagPlugin,
541
- la as PanoTagPluginController,
542
- sn as PanoVideoPlugin,
543
- La as PanoVideoPluginType,
544
- Mn as PipelinePlugin,
545
- ga as PointType,
546
- yl as ROOM_FETILE_TYPE_MAP,
547
- Al as ROOM_TYPE_MAP,
548
- Nl as Rotation,
549
- In as Sculpt,
550
- Rn as SculptPlugin,
551
- El as TopviewFloorplanPlugin,
552
- An as Util,
553
- ra as WalkController,
554
- Pa as defaultGlobalConfig,
555
- rn as itemLabelPluginServerParams,
556
- Jl as modelItemLabelPluginServerParams,
557
- gl as modelRoomLabelPluginServerParams,
558
- na as pluginFlag
492
+ Cn as AreaMakerPlugin,
493
+ bn as CSS3DRender,
494
+ Pl as CSS3DRenderPlugin,
495
+ Nl as CameraMovementEffect,
496
+ cl as CameraMovementPlugin,
497
+ xa as ContentType,
498
+ an as CruisePlugin,
499
+ ra as CruisePluginController,
500
+ ea as CruisePluginTypes,
501
+ En as CurrentPanoImagePlugin,
502
+ on as DIRECTION,
503
+ Un as DISPLAY_STRATEGY_TYPE,
504
+ ga as DimensionType,
505
+ Ml as FLOOR_PLAN_ATTACHED_TO,
506
+ yl as FLOOR_TYPE_MAP,
507
+ Qn as GuideLineItem,
508
+ Zn as GuideLineModeItem,
509
+ ln as GuideLinePlugin,
510
+ qn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
511
+ Jn as ItemLabelPlugin,
512
+ Bn as Magnifier,
513
+ _l as MapviewFloorplanPlugin,
514
+ bl as ModelChassisCompassPlugin,
515
+ Fl as ModelEntryDoorGuidePlugin,
516
+ Ll as ModelFloorplanPlugin,
517
+ $n as ModelItemLabelPlugin,
518
+ yn as ModelMakerPlugin,
519
+ gl as ModelRoomLabelPlugin,
520
+ Xl as ModelTVVideoPlugin,
521
+ nl as ModelViewPlugin,
522
+ ma as MoveController,
523
+ Pn as MovePlugin,
524
+ Ma as Object3DHelperController,
525
+ gn as Object3DHelperPlugin,
526
+ Ta as PLUGIN,
527
+ ml as PaintBrush,
528
+ el as PaintBrushTypeEnum,
529
+ jl as PanoCompassPlugin,
530
+ fl as PanoCursorRaycasterPlugin,
531
+ pn as PanoDoorLabelPlugin,
532
+ Sl as PanoFloorplanRadarPlugin,
533
+ Wl as PanoMeasurePlugin,
534
+ Nn as PanoMeasurePluginLine,
535
+ Fn as PanoMeasurePluginModel,
536
+ cn as PanoMeasurePluginPoint,
537
+ kn as PanoMeasurePluginPolyline,
538
+ wl as PanoRulerPlugin,
539
+ Hl as PanoRulerProPlugin,
540
+ zl as PanoSpatialTagPlugin,
541
+ fn as PanoTagPlugin,
542
+ na as PanoTagPluginController,
543
+ dn as PanoVideoPlugin,
544
+ Ca as PanoVideoPluginType,
545
+ Tn as PipelinePlugin,
546
+ sa as PointType,
547
+ Al as ROOM_FETILE_TYPE_MAP,
548
+ Dl as ROOM_TYPE_MAP,
549
+ hl as Rotation,
550
+ Rn as Sculpt,
551
+ Sn as SculptPlugin,
552
+ Il as TopviewFloorplanPlugin,
553
+ Dn as Util,
554
+ ta as WalkController,
555
+ ua as defaultGlobalConfig,
556
+ tn as itemLabelPluginServerParams,
557
+ Kl as modelItemLabelPluginServerParams,
558
+ sl as modelRoomLabelPluginServerParams,
559
+ aa as pluginFlag
559
560
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.39.0",
3
+ "%c %c@realsee/dnalogel %cv3.40.0-alpha.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @description 两条二维线段是否相交,不考虑端点重合的情况
3
+ */
4
+ export declare function lineIsIntersecting(line1: {
5
+ x: number;
6
+ y: number;
7
+ }[], line2: {
8
+ x: number;
9
+ y: number;
10
+ }[]): boolean;
11
+ /**
12
+ * @description 两条二维折线段的交点,不考虑端点重合的情况
13
+ */
14
+ export declare function findIntersectingOfLines(line1: {
15
+ x: number;
16
+ y: number;
17
+ }[], line2: {
18
+ x: number;
19
+ y: number;
20
+ }[]): {
21
+ x: number;
22
+ y: number;
23
+ line1RelativeIndex: number;
24
+ line2RelativeIndex: number;
25
+ };
@@ -0,0 +1,25 @@
1
+ function u(x, e) {
2
+ const t = x[0], r = x[1], y = e[0], n = e[1];
3
+ var s = (n.x - y.x) * (t.y - y.y) - (n.y - y.y) * (t.x - y.x), c = (r.x - t.x) * (t.y - y.y) - (r.y - t.y) * (t.x - y.x), a = (n.y - y.y) * (r.x - t.x) - (n.x - y.x) * (r.y - t.y);
4
+ if (a !== 0) {
5
+ var f = s / a, o = c / a;
6
+ if (0 <= f && f <= 1 && 0 <= o && o <= 1)
7
+ return !0;
8
+ }
9
+ return !1;
10
+ }
11
+ function v(x, e) {
12
+ for (let t = 0; t < x.length - 1; t++)
13
+ for (let r = 0; r < e.length - 1; r++)
14
+ if (u([x[t], x[t + 1]], [e[r], e[r + 1]]))
15
+ return {
16
+ x: (x[t].x + x[t + 1].x) / 2,
17
+ y: (x[t].y + x[t + 1].y) / 2,
18
+ line1RelativeIndex: t,
19
+ line2RelativeIndex: r
20
+ };
21
+ }
22
+ export {
23
+ v as findIntersectingOfLines,
24
+ u as lineIsIntersecting
25
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.39.0",
3
+ "version": "3.40.0-alpha.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
25
25
  "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
26
26
  "docs": "typedoc --options ./typedoc.json",
27
- "prepublishOnly": "run-p build docs",
27
+ "prepublishOnly": "run-p build",
28
28
  "postpublish": "cnpm sync @realsee/dnalogel"
29
29
  },
30
30
  "files": [