@realsee/dnalogel 3.63.4-alpha.4 → 3.64.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 (563) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/GuideLinePlugin/Controller.d.ts +2 -13
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +3 -15
  4. package/dist/GuideLinePlugin/typing.d.ts +21 -4
  5. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -12
  6. package/dist/GuideLinePlugin/utils/createPath.d.ts +3 -0
  7. package/dist/GuideLinePlugin/utils/index.d.ts +0 -7
  8. package/dist/MeasurePlugin/Controller.d.ts +1 -11
  9. package/dist/MeasurePlugin/utils/MeasureMesh.d.ts +2 -7
  10. package/dist/Sculpt/index.d.ts +8 -6
  11. package/dist/Sculpt/typings/index.d.ts +22 -11
  12. package/dist/Sculpt/typings/style.d.ts +1 -1
  13. package/dist/index.cjs.js +63 -83
  14. package/dist/index.js +10542 -10680
  15. package/dist/index.umd.js +65 -85
  16. package/dist/shared-utils/three/PointSelector/index.d.ts +3 -3
  17. package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
  18. package/docs/assets/navigation.js +1 -1
  19. package/docs/assets/search.js +1 -1
  20. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  21. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  22. package/docs/classes/CSS3DRender.html +3 -3
  23. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  24. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +27 -28
  25. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  26. package/docs/classes/ModelRoomLabelController.html +6 -6
  27. package/docs/classes/MoveController.html +17 -17
  28. package/docs/classes/Object3DHelperController.html +15 -15
  29. package/docs/classes/PaintBrush.html +5 -5
  30. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  31. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  32. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  33. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  34. package/docs/classes/PanoTagPluginController.html +34 -34
  35. package/docs/classes/Sculpt.html +23 -23
  36. package/docs/classes/Util.BetterTween.html +2 -2
  37. package/docs/classes/Util.FiveDomEvents.html +4 -4
  38. package/docs/classes/Util.FivePuppet.html +3 -3
  39. package/docs/classes/Util.Interval.html +5 -5
  40. package/docs/classes/Util.LightTag.html +14 -14
  41. package/docs/classes/Util.LineSegments.html +2 -2
  42. package/docs/classes/Util.Magnifier.html +6 -6
  43. package/docs/classes/Util.Object3D.html +4 -4
  44. package/docs/classes/Util.PointHelper.html +2 -2
  45. package/docs/classes/Util.PointSelector.html +16 -16
  46. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  47. package/docs/classes/Util.Rectangle.html +5 -5
  48. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  49. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  50. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  51. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  52. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  53. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  54. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  55. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  56. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  57. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  58. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  59. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  60. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  61. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  62. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  63. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  64. package/docs/classes/WalkController.html +18 -18
  65. package/docs/enums/CameraMovementEffect.html +3 -3
  66. package/docs/enums/ContentType.html +18 -18
  67. package/docs/enums/DIRECTION.html +2 -2
  68. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  69. package/docs/enums/DimensionType.html +3 -3
  70. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  71. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  72. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  73. package/docs/enums/PointType.html +3 -3
  74. package/docs/enums/Rotation.html +3 -3
  75. package/docs/functions/AreaMakerPlugin.html +1 -1
  76. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  77. package/docs/functions/CameraMovementPlugin.html +2 -2
  78. package/docs/functions/CruisePlugin.html +1 -1
  79. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  80. package/docs/functions/GuideLinePlugin.html +1 -1
  81. package/docs/functions/ItemLabelPlugin.html +1 -1
  82. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  83. package/docs/functions/MeasurePlugin.html +1 -1
  84. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  85. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  86. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  87. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  88. package/docs/functions/ModelMakerPlugin.html +1 -1
  89. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  90. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  91. package/docs/functions/ModelViewPlugin.html +2 -2
  92. package/docs/functions/MovePlugin.html +1 -1
  93. package/docs/functions/Object3DHelperPlugin.html +1 -1
  94. package/docs/functions/PanoCompassPlugin.html +1 -1
  95. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  96. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  97. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  98. package/docs/functions/PanoMeasurePlugin.html +1 -1
  99. package/docs/functions/PanoRulerPlugin.html +2 -2
  100. package/docs/functions/PanoRulerProPlugin.html +2 -2
  101. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  102. package/docs/functions/PanoTagPlugin.html +1 -1
  103. package/docs/functions/PanoVideoPlugin.html +2 -2
  104. package/docs/functions/PipelinePlugin.html +1 -1
  105. package/docs/functions/SculptPlugin.html +2 -2
  106. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  107. package/docs/functions/Util.absoluteUrl.html +2 -2
  108. package/docs/functions/Util.awaitNextFrame.html +1 -1
  109. package/docs/functions/Util.blink.html +2 -2
  110. package/docs/functions/Util.bounding.html +1 -1
  111. package/docs/functions/Util.boundingBox.html +1 -1
  112. package/docs/functions/Util.boundingSphere.html +1 -1
  113. package/docs/functions/Util.boxVertex.html +2 -2
  114. package/docs/functions/Util.boxVertexes.html +1 -1
  115. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  116. package/docs/functions/Util.convexHull.html +2 -2
  117. package/docs/functions/Util.equal.html +2 -2
  118. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  119. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  120. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  121. package/docs/functions/Util.getFrameTime.html +2 -2
  122. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  123. package/docs/functions/Util.inside.html +1 -1
  124. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  125. package/docs/functions/Util.isModelLike.html +1 -1
  126. package/docs/functions/Util.isNil.html +2 -2
  127. package/docs/functions/Util.isPanoramaLike.html +1 -1
  128. package/docs/functions/Util.lookObject.html +2 -2
  129. package/docs/functions/Util.lookPoint.html +2 -2
  130. package/docs/functions/Util.nextFrame.html +1 -1
  131. package/docs/functions/Util.notNil.html +2 -2
  132. package/docs/functions/Util.reblink.html +2 -2
  133. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  134. package/docs/functions/Util.sculpt.createBox.html +1 -1
  135. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  136. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  137. package/docs/functions/Util.sculpt.createLine.html +2 -2
  138. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  139. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  140. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  141. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  142. package/docs/functions/Util.tag.html +1 -1
  143. package/docs/functions/Util.tweenProgress.html +1 -1
  144. package/docs/functions/Util.uuid.html +2 -2
  145. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  146. package/docs/functions/Util.worldBounding.html +1 -1
  147. package/docs/functions/Util.worldBoundingBox.html +1 -1
  148. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  149. package/docs/functions/createPolyline.html +2 -2
  150. package/docs/functions/pluginFlag.html +1 -1
  151. package/docs/hierarchy.html +1 -1
  152. package/docs/index.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  154. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  155. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  156. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  157. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  158. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  159. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  160. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  161. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  162. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  163. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  164. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  165. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  166. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  167. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  168. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  170. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +4 -4
  171. package/docs/interfaces/CruisePluginTypes.MoveAction.html +9 -9
  172. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +10 -10
  173. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +11 -11
  174. package/docs/interfaces/CruisePluginTypes.PluginData.html +4 -4
  175. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  176. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  177. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  178. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  179. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  180. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  181. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  182. package/docs/interfaces/FloorplanBounding.html +5 -5
  183. package/docs/interfaces/FloorplanData.html +3 -3
  184. package/docs/interfaces/FloorplanEntrance.html +8 -8
  185. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  186. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  187. package/docs/interfaces/FloorplanFloorData.html +3 -3
  188. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  189. package/docs/interfaces/FloorplanObserver.html +3 -3
  190. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  191. package/docs/interfaces/FloorplanPosition.html +3 -3
  192. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  193. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  194. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  195. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  196. package/docs/interfaces/FloorplanServerData.html +3 -3
  197. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  198. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  199. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  200. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  201. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  202. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  203. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  204. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  205. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  206. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  207. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -5
  209. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  210. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  211. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  212. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  214. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  215. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  217. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  219. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  220. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  221. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  222. package/docs/interfaces/GuideLinePluginType.Route.html +9 -2
  223. package/docs/interfaces/HelperOffset.html +2 -2
  224. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  225. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  226. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  227. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  228. package/docs/interfaces/MinMax.html +2 -2
  229. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  230. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  231. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  232. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  233. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  234. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  235. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  236. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  238. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  239. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  240. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  242. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  243. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  244. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  247. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  248. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  249. package/docs/interfaces/Object3DHelperState.html +2 -2
  250. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  251. package/docs/interfaces/PaintBrushAction.html +7 -7
  252. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  253. package/docs/interfaces/PaintBrushState.html +2 -2
  254. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  255. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  256. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  257. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  259. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  260. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  261. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  263. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  270. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  278. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  279. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  281. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  283. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  284. package/docs/interfaces/PluginEventMap.html +4 -4
  285. package/docs/interfaces/Point.html +2 -2
  286. package/docs/interfaces/Room.html +2 -2
  287. package/docs/interfaces/RoomInfo.html +2 -2
  288. package/docs/interfaces/RoomLabel.html +7 -7
  289. package/docs/interfaces/RoomRules.html +1 -1
  290. package/docs/interfaces/Rooms.html +1 -1
  291. package/docs/interfaces/Scissor.html +6 -6
  292. package/docs/interfaces/State.html +4 -4
  293. package/docs/interfaces/TagCacheInterface.html +3 -3
  294. package/docs/interfaces/TagConfig.html +10 -10
  295. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  296. package/docs/interfaces/TagIconUrl.html +9 -9
  297. package/docs/interfaces/TagObjectGroup.html +2 -2
  298. package/docs/interfaces/TagStyle.html +2 -2
  299. package/docs/interfaces/Tags.html +4 -4
  300. package/docs/interfaces/TemporaryState.html +2 -2
  301. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  302. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  303. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  304. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  305. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  306. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  307. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  308. package/docs/interfaces/Util.PointIntersection.html +11 -11
  309. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  310. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  311. package/docs/modules/AreaMakerPluginType.html +2 -2
  312. package/docs/modules/CruisePluginTypes.html +2 -2
  313. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  314. package/docs/modules/GuideLineItem.html +2 -2
  315. package/docs/modules/GuideLineModeItem.html +2 -2
  316. package/docs/modules/GuideLinePluginType.html +4 -3
  317. package/docs/modules/ModelMakerPluginType.html +2 -2
  318. package/docs/modules/PanoVideoPluginType.html +2 -2
  319. package/docs/modules/SculptData.html +2 -2
  320. package/docs/modules/SculptType.html +2 -0
  321. package/docs/modules/Util.html +2 -2
  322. package/docs/modules/Util.sculpt.html +2 -2
  323. package/docs/modules.html +3 -2
  324. package/docs/types/AddObject3DHelperConfig.html +2 -2
  325. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  326. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  327. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  328. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  329. package/docs/types/ArrayPosition.html +1 -1
  330. package/docs/types/AudioAppearance.html +1 -1
  331. package/docs/types/CSS3DRenderExportType.html +1 -1
  332. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  333. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  334. package/docs/types/ClassFunctionParameters.html +1 -1
  335. package/docs/types/Color.html +1 -1
  336. package/docs/types/ContentTypeConfigKey.html +1 -1
  337. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  338. package/docs/types/ContentTypeMap.html +1 -1
  339. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  340. package/docs/types/Create3DElementReturnType.html +1 -1
  341. package/docs/types/CruisePluginExportType.html +1 -1
  342. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  343. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  344. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  345. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  346. package/docs/types/DeprecatedTagProperty.html +2 -2
  347. package/docs/types/Direction-1.html +1 -1
  348. package/docs/types/Direction4.html +1 -1
  349. package/docs/types/ElementRenderer.html +2 -2
  350. package/docs/types/FloorplanRuleLabels.html +2 -2
  351. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  352. package/docs/types/GuideLinePluginExportType.html +1 -1
  353. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -10
  354. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  355. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  356. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  357. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  358. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  359. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  360. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  361. package/docs/types/HelperEventMap.html +1 -1
  362. package/docs/types/InternalHelperEventMap.html +1 -1
  363. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  364. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  365. package/docs/types/MediaData.html +2 -2
  366. package/docs/types/MediaStore.html +1 -1
  367. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  368. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  369. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  370. package/docs/types/ModelId.html +1 -1
  371. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  372. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  373. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  374. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  375. package/docs/types/MoveArgs.html +2 -2
  376. package/docs/types/MoveOpts.html +2 -2
  377. package/docs/types/Object3DHelperEventMap.html +1 -1
  378. package/docs/types/ObjectFit.html +1 -1
  379. package/docs/types/PaintBrushEventMap.html +1 -1
  380. package/docs/types/PanoCompassPluginData.html +1 -1
  381. package/docs/types/PanoCompassPluginExportType.html +1 -1
  382. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  383. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  384. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  385. package/docs/types/PanoIndex.html +1 -1
  386. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  387. package/docs/types/PanoMeasureReturnType.html +1 -1
  388. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  389. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  390. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  391. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  392. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  393. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  394. package/docs/types/PipelinePluginParameterType.html +1 -1
  395. package/docs/types/PipelinePluginReturnType.html +1 -1
  396. package/docs/types/PlaneTag.html +2 -2
  397. package/docs/types/Point2DTag.html +2 -2
  398. package/docs/types/Point3DTag.html +2 -2
  399. package/docs/types/PointTagInstance.html +1 -1
  400. package/docs/types/Position.html +1 -1
  401. package/docs/types/PositionFrom.html +1 -1
  402. package/docs/types/RotateArgs.html +2 -2
  403. package/docs/types/RotateOpts.html +2 -2
  404. package/docs/types/RuleLabelsKey.html +1 -1
  405. package/docs/types/RuleLabelsValue.html +1 -1
  406. package/docs/types/ScaleCallback.html +1 -1
  407. package/docs/types/ScalePosition.html +2 -2
  408. package/docs/types/SculptData.BoxData.html +1 -1
  409. package/docs/types/SculptData.CircleData.html +1 -1
  410. package/docs/types/SculptData.CylinderData.html +1 -1
  411. package/docs/types/SculptData.PointData.html +1 -1
  412. package/docs/types/SculptData.PolygonData.html +1 -1
  413. package/docs/types/SculptData.PolylineData.html +1 -1
  414. package/docs/types/SculptData.PrismData.html +1 -1
  415. package/docs/types/SculptData.RectangleData.html +1 -1
  416. package/docs/types/SculptType.Theme.html +10 -0
  417. package/docs/types/StickType.html +1 -1
  418. package/docs/types/Tag.html +2 -2
  419. package/docs/types/Tag2D.html +2 -2
  420. package/docs/types/Tag3D.html +2 -2
  421. package/docs/types/TagClickParams.html +1 -1
  422. package/docs/types/TagConfigByKey.html +1 -1
  423. package/docs/types/TagContentType.html +1 -1
  424. package/docs/types/TagContentTypeMapping.html +1 -1
  425. package/docs/types/TagDimensionType.html +1 -1
  426. package/docs/types/TagElement.html +2 -2
  427. package/docs/types/TagEvents.html +1 -1
  428. package/docs/types/TagGLTFObject.html +1 -1
  429. package/docs/types/TagHooks.html +1 -1
  430. package/docs/types/TagId.html +1 -1
  431. package/docs/types/TagInstance.html +1 -1
  432. package/docs/types/TagPointType.html +2 -2
  433. package/docs/types/TagRendererMap.html +1 -1
  434. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  435. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  436. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  437. package/docs/types/Util.AdherePoint.html +2 -2
  438. package/docs/types/Util.PointSelectorConfig.html +1 -1
  439. package/docs/types/WorkCode.html +1 -1
  440. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  441. package/docs/variables/PLUGIN.html +1 -1
  442. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  443. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  444. package/docs/variables/Util.animeMap.html +1 -1
  445. package/docs/variables/defaultGlobalConfig.html +1 -1
  446. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  447. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  448. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  449. package/libs/AreaMakerPlugin/Controller.js +2 -3
  450. package/libs/AreaMakerPlugin/index.js +2 -3
  451. package/libs/AreaMakerPlugin/utils/Item.js +2 -3
  452. package/libs/CSS3DRenderPlugin/Controller.js +2 -3
  453. package/libs/CSS3DRenderPlugin/index.js +5 -6
  454. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -3
  455. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +2 -3
  456. package/libs/CruisePlugin/BaseController.js +4 -5
  457. package/libs/CruisePlugin/Move.js +1 -1
  458. package/libs/CruisePlugin/Work.js +1 -1
  459. package/libs/CruisePlugin/index.js +1 -1
  460. package/libs/CurrentPanoImagePlugin/Controller.js +2 -3
  461. package/libs/CurrentPanoImagePlugin/index.js +3 -4
  462. package/libs/GuideLinePlugin/Controller.d.ts +2 -13
  463. package/libs/GuideLinePlugin/Controller.js +53 -54
  464. package/libs/GuideLinePlugin/GuideLineItem/index.js +52 -50
  465. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  466. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +109 -175
  467. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +3 -15
  468. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  469. package/libs/GuideLinePlugin/index.js +1 -1
  470. package/libs/GuideLinePlugin/typing.d.ts +21 -4
  471. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -12
  472. package/libs/GuideLinePlugin/utils/createLineGeometry.js +88 -124
  473. package/libs/GuideLinePlugin/utils/createPath.d.ts +3 -0
  474. package/libs/GuideLinePlugin/utils/createPath.js +33 -0
  475. package/libs/GuideLinePlugin/utils/index.d.ts +0 -7
  476. package/libs/GuideLinePlugin/utils/index.js +3 -11
  477. package/libs/MeasurePlugin/Controller.d.ts +1 -11
  478. package/libs/MeasurePlugin/Controller.js +80 -111
  479. package/libs/MeasurePlugin/index.js +2 -3
  480. package/libs/MeasurePlugin/utils/MeasureMesh.d.ts +2 -7
  481. package/libs/MeasurePlugin/utils/MeasureMesh.js +16 -30
  482. package/libs/ModelMakerPlugin/Controller.js +2 -3
  483. package/libs/ModelMakerPlugin/index.js +2 -3
  484. package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
  485. package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
  486. package/libs/ModelMakerPlugin/item/polygonItem.js +2 -3
  487. package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
  488. package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
  489. package/libs/ModelTVVideoPlugin/index.js +2 -3
  490. package/libs/ModelViewPlugin/Plugin.js +3 -4
  491. package/libs/ModelViewPlugin/index.js +0 -1
  492. package/libs/Object3DHelperPlugin/Controller.js +15 -16
  493. package/libs/Object3DHelperPlugin/index.js +5 -6
  494. package/libs/PanoCompassPlugin/Controller.js +2 -3
  495. package/libs/PanoCompassPlugin/index.js +3 -4
  496. package/libs/PanoDoorLabelPlugin/Controller.js +2 -3
  497. package/libs/PanoDoorLabelPlugin/index.js +3 -4
  498. package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -3
  499. package/libs/PanoMeasurePlugin/Components/Controller1.js +2 -3
  500. package/libs/PanoMeasurePlugin/Controller/EditController.js +2 -3
  501. package/libs/PanoMeasurePlugin/Controller/WatchController.js +2 -3
  502. package/libs/PanoMeasurePlugin/Controller/index.js +2 -3
  503. package/libs/PanoMeasurePlugin/Model/area.js +11 -12
  504. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -1
  505. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +2 -3
  506. package/libs/PanoMeasurePlugin/index.js +13 -14
  507. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
  508. package/libs/PanoRulerProPlugin/Controller.js +2 -3
  509. package/libs/PanoRulerProPlugin/RulerItems.js +2 -3
  510. package/libs/PanoRulerProPlugin/index.js +3 -4
  511. package/libs/PanoSpatialTagPlugin/Plugin.js +63 -64
  512. package/libs/PanoSpatialTagPlugin/index.js +0 -1
  513. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +2 -3
  514. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -3
  515. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
  516. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  517. package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
  518. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +2 -3
  519. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -3
  520. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +26 -27
  521. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +2 -3
  522. package/libs/PanoTagPlugin/controller/TagRender.js +2 -3
  523. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -3
  524. package/libs/PanoTagPlugin/controller/index.js +5 -6
  525. package/libs/PanoTagPlugin/index.js +11 -12
  526. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +16 -17
  527. package/libs/PanoVideoPlugin/Controller.js +2 -3
  528. package/libs/PanoVideoPlugin/VideoMeshController.js +2 -3
  529. package/libs/PanoVideoPlugin/index.js +5 -6
  530. package/libs/PipelinePlugin/Controller.js +19 -20
  531. package/libs/PipelinePlugin/index.js +3 -4
  532. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -3
  533. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +2 -3
  534. package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -1
  535. package/libs/Sculpt/Meshes/Line.js +75 -75
  536. package/libs/Sculpt/Meshes/Polygon.js +11 -7
  537. package/libs/Sculpt/index.d.ts +8 -6
  538. package/libs/Sculpt/index.js +20 -20
  539. package/libs/Sculpt/typings/index.d.ts +22 -11
  540. package/libs/Sculpt/typings/style.d.ts +1 -1
  541. package/libs/Sculpt/utils/three/ColoredMesh.js +21 -22
  542. package/libs/base/BasePlugin.js +3 -3
  543. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -3
  544. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
  545. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -3
  546. package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -4
  547. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -3
  548. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -4
  549. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -3
  550. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
  551. package/libs/index.js +1 -1
  552. package/libs/shared-utils/five/FiveDomEvents.js +1 -3
  553. package/libs/shared-utils/logger.js +1 -1
  554. package/libs/shared-utils/three/PointSelector/index.d.ts +3 -3
  555. package/libs/shared-utils/three/PointSelector/index.js +5 -6
  556. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
  557. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -3
  558. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
  559. package/package.json +1 -1
  560. package/dist/Sculpt/utils/unit.d.ts +0 -2
  561. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -4
  562. package/libs/Sculpt/utils/unit.d.ts +0 -2
  563. package/libs/Sculpt/utils/unit.js +0 -14
@@ -2,10 +2,29 @@ import type GuideLinePlugin from '.';
2
2
  import type { RequireAtLeastOne } from 'type-fest';
3
3
  import type * as BasePluginWithData from '../base/BasePluginWithData';
4
4
  import type { Tag } from '../PanoTagPlugin';
5
- export interface RouteConfig {
5
+ export type RouteConfig = {
6
+ /**
7
+ * @description 箭头贴图
8
+ */
6
9
  arrowTextureUrl?: string;
10
+ /**
11
+ * @description 单位箭头宽度,单位:米
12
+ */
7
13
  unitWidth?: number;
14
+ /**
15
+ * @description 单位箭头高度,单位:米
16
+ */
8
17
  unitHeight?: number;
18
+ } & ExtraRouteData;
19
+ export interface ExtraRouteData {
20
+ /**
21
+ * @description 预处理数据,用于优化路线生成效果
22
+ */
23
+ route_standing_positions?: number[][];
24
+ /**
25
+ * @description 预处理数据,用于优化路线生成效果
26
+ */
27
+ node_pair_to_route_points?: Record<string, number[][]>;
9
28
  }
10
29
  export interface Route extends RouteConfig {
11
30
  id?: number;
@@ -82,7 +101,7 @@ export type GuideLineItem = RequireAtLeastOne<{
82
101
  panorama_style?: PanoramaGuideLineStyle;
83
102
  /** 模型态使用的数据 */
84
103
  model_style?: ModelGuideLineStyle;
85
- }, 'id' | 'render_id'>;
104
+ } & ExtraRouteData, 'id' | 'render_id'>;
86
105
  /** 全景路径样式 */
87
106
  export interface PanoramaGuideLineStyle extends GuideLineStyle {
88
107
  start_tag?: Tag;
@@ -177,6 +196,4 @@ export interface CatmullRomCurve3 {
177
196
  closed?: boolean;
178
197
  curve_type?: string;
179
198
  tension?: number;
180
- panoIndexList?: number[];
181
- panoIndexMap?: Record<number, number>;
182
199
  }
@@ -22,17 +22,7 @@ export declare function createLineGeometry(options: LineGeometryOption): {
22
22
  maxV: number;
23
23
  curvePath: any;
24
24
  curvePoints: any;
25
- panoMap: {};
26
25
  animationWillError?: undefined;
27
- totalLength?: undefined;
28
- } | {
29
- geometry: THREE.BufferGeometry;
30
- maxV: number;
31
- curvePath: any;
32
- curvePoints: any;
33
- panoMap?: undefined;
34
- animationWillError?: undefined;
35
- totalLength?: undefined;
36
26
  } | {
37
27
  geometry: THREE.BufferGeometry;
38
28
  maxV: number;
@@ -42,7 +32,5 @@ export declare function createLineGeometry(options: LineGeometryOption): {
42
32
  }[];
43
33
  curvePath: THREE.CurvePath<THREE.Vector3>;
44
34
  curvePoints: THREE.Vector3[];
45
- panoMap: Record<number, number>;
46
- totalLength: number;
47
35
  };
48
36
  export {};
@@ -1,151 +1,115 @@
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 ut, findIntersectingOfLines as ft } from "../../shared-utils/math/intersecting.js";
1
+ import * as i from "three";
2
+ import { Vector3 as J } from "three";
3
+ import { polylineNormals as ot } from "../../vendor/polyline-normals/index.js";
4
+ import { lineIsIntersecting as rt, findIntersectingOfLines as it } from "../../shared-utils/math/intersecting.js";
5
5
  import "../../vendor/polyline-miter-util/index.js";
6
6
  import "../../vendor/gl-vec2/add.js";
7
7
  import "../../vendor/gl-vec2/set.js";
8
8
  import "../../vendor/gl-vec2/normalize.js";
9
9
  import "../../vendor/gl-vec2/subtract.js";
10
10
  import "../../vendor/gl-vec2/dot.js";
11
- const ht = 2, mt = 3, pt = 3, dt = 2;
12
- function Vt(i) {
13
- const O = i.width, N = i.unitLength, b = O / 2, G = i.path;
14
- if (G.length === 0)
15
- return { geometry: new r.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null, panoMap: {} };
16
- const A = new r.CurvePath();
17
- G.forEach((t) => {
18
- const n = xt(t);
19
- n && A.add(n);
11
+ const st = 2, ct = 3, lt = 3, ut = 2;
12
+ function Rt(s) {
13
+ const T = s.width, v = s.unitLength, y = T / 2, U = s.path;
14
+ if (U.length === 0)
15
+ return { geometry: new i.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
16
+ const p = new i.CurvePath();
17
+ U.forEach((t) => {
18
+ const o = at(t);
19
+ o && p.add(o);
20
20
  });
21
- const q = Math.ceil(A.getLength() * 100);
22
- A.arcLengthDivisions = q;
23
- const P = A.getPoints(q), x = P.length;
24
- if (x <= 2)
25
- return { geometry: new r.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
26
- const st = at(P.map((t) => [t.x, t.z])), ct = (x - 1) * ht * mt, j = 2 * x, it = j * pt, rt = j * dt, v = new Uint32Array(ct), e = new Float32Array(it), T = new Float32Array(rt), J = A.getLength();
27
- let I = 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 = (() => {
29
- const t = [];
30
- for (let s = 0; s < k.length; s++) {
31
- const u = k[s];
32
- if (s === 0)
33
- t.push(0);
34
- else {
35
- const m = k[s - 1];
36
- t.push(u.distanceTo(m) + t[s - 1]);
37
- }
38
- }
39
- const n = t[t.length - 1], d = [];
40
- for (let s = 0; s < t.length; s++) {
41
- const u = t[s], m = s === 0 ? 0 : t[s - 1], y = s === t.length - 1 ? n : t[s + 1], l = u - Math.min(0.3, (u - m) / 2), a = u + Math.min(0.3, (y - u) / 2);
42
- d.push([J * (l / n), J * (a / n)]);
43
- }
44
- return d;
45
- })();
46
- let S = [];
47
- for (let t = 0; t < x; t++) {
48
- const [n, d] = st[t][0], s = P[t], { x: u, y: m, z: y } = s, l = new ot(u + n * b, m + 0.05, y + d * b);
49
- e[t * 6 + 0] = l.x, e[t * 6 + 1] = l.y, e[t * 6 + 2] = l.z;
50
- const a = new ot(u - n * b, m + 0.05, y - d * b);
51
- e[t * 6 + 3] = a.x, e[t * 6 + 4] = a.y, e[t * 6 + 5] = a.z, I += t > 0 ? P[t - 1].clone().sub(P[t]).length() : 0;
52
- const R = I / N;
53
- K = R, T[t * 4 + 0] = 0, T[t * 4 + 1] = R, T[t * 4 + 2] = 1, T[t * 4 + 3] = R;
54
- const _ = new r.Vector3().lerpVectors(l, a, 0.5);
55
- if (i.skipPositions && i.skipPositions.some((B) => B.distanceTo(_) < 0.26))
56
- continue;
57
- const L = k[0];
58
- if (i.useAutoDepthTest && L && W) {
59
- const f = W[0], [B, C] = tt[0];
60
- if (I > B && I < C && S.push({
61
- distance: L.distanceTo(_),
62
- index: t
63
- }), I >= C || t === x - 1) {
64
- const E = Math.min(...S.map((c) => c.distance)), D = S.find((c) => c.distance === E);
65
- if (S = [], k.shift(), W.shift(), tt.shift(), D)
66
- Q[f] = D.index;
67
- else {
68
- console.error(`can not find the min distance ${f}`);
69
- continue;
70
- }
71
- }
72
- }
73
- t !== x - 1 && (v[t * 6 + 0] = t * 2 + 0, v[t * 6 + 1] = t * 2 + 2, v[t * 6 + 2] = t * 2 + 1, v[t * 6 + 3] = t * 2 + 2, v[t * 6 + 4] = t * 2 + 3, v[t * 6 + 5] = t * 2 + 1);
21
+ const O = Math.ceil(p.getLength() * 100);
22
+ p.arcLengthDivisions = O;
23
+ const g = p.getPoints(O), m = g.length;
24
+ if (m <= 2)
25
+ return { geometry: new i.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
26
+ const K = ot(g.map((t) => [t.x, t.z])), Q = (m - 1) * st * ct, Y = 2 * m, $ = Y * lt, tt = Y * ut, x = new Uint32Array(Q), e = new Float32Array($), V = new Float32Array(tt);
27
+ let j = 0, W = 0;
28
+ for (let t = 0; t < m; t++) {
29
+ const [o, E] = K[t][0], N = g[t], { x: w, y: R, z: b } = N, c = new J(w + o * y, R + 0.05, b + E * y);
30
+ e[t * 6 + 0] = c.x, e[t * 6 + 1] = c.y, e[t * 6 + 2] = c.z;
31
+ const l = new J(w - o * y, R + 0.05, b - E * y);
32
+ e[t * 6 + 3] = l.x, e[t * 6 + 4] = l.y, e[t * 6 + 5] = l.z, j += t > 0 ? g[t - 1].clone().sub(g[t]).length() : 0;
33
+ const A = j / v;
34
+ W = A, V[t * 4 + 0] = 0, V[t * 4 + 1] = A, V[t * 4 + 2] = 1, V[t * 4 + 3] = A;
35
+ const _ = new i.Vector3().lerpVectors(c, l, 0.5);
36
+ s.skipPositions && s.skipPositions.some((f) => f.distanceTo(_) < 0.26) || t !== m - 1 && (x[t * 6 + 0] = t * 2 + 0, x[t * 6 + 1] = t * 2 + 2, x[t * 6 + 2] = t * 2 + 1, x[t * 6 + 3] = t * 2 + 2, x[t * 6 + 4] = t * 2 + 3, x[t * 6 + 5] = t * 2 + 1);
74
37
  }
75
- const h = [];
76
- let H;
77
- const Z = [];
78
- for (let t = 0; t < x - 1; t++) {
79
- if (H !== void 0 && t <= H)
38
+ const u = [];
39
+ let S;
40
+ const X = [];
41
+ for (let t = 0; t < m - 1; t++) {
42
+ if (S !== void 0 && t <= S)
80
43
  continue;
81
- const n = t + 1, d = {
44
+ const o = t + 1, E = {
82
45
  x: e[t * 6 + 0],
83
46
  y: e[t * 6 + 2]
84
- }, s = {
47
+ }, N = {
85
48
  x: e[t * 6 + 3],
86
49
  y: e[t * 6 + 5]
87
- }, u = {
88
- x: e[n * 6 + 0],
89
- y: e[n * 6 + 2]
90
- }, m = {
91
- x: e[n * 6 + 3],
92
- y: e[n * 6 + 5]
93
- }, y = ut([d, s], [u, m]);
94
- if (y && h.push(t), !y && h.length) {
95
- h.push(t);
96
- const l = new r.Vector2(d.x, d.y).distanceTo(new r.Vector2(u.x, u.y)), a = new r.Vector2(s.x, s.y).distanceTo(new r.Vector2(m.x, m.y)), R = 200, _ = [], L = [], f = Math.max(0, h[0] - N * R), B = h[0];
97
- for (let c = f; c < B; c++)
98
- l < a ? _.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : _.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
99
- const C = h[h.length - 1], E = h[h.length - 1] + N * R;
100
- for (let c = C; c < E; c++)
101
- l < a ? L.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : L.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
102
- const D = ft(_, L);
103
- if (D) {
50
+ }, w = {
51
+ x: e[o * 6 + 0],
52
+ y: e[o * 6 + 2]
53
+ }, R = {
54
+ x: e[o * 6 + 3],
55
+ y: e[o * 6 + 5]
56
+ }, b = rt([E, N], [w, R]);
57
+ if (b && u.push(t), !b && u.length) {
58
+ u.push(t);
59
+ const c = new i.Vector2(E.x, E.y).distanceTo(new i.Vector2(w.x, w.y)), l = new i.Vector2(N.x, N.y).distanceTo(new i.Vector2(R.x, R.y)), A = 300, _ = [], k = [], f = Math.max(0, u[0] - v * A), et = u[0];
60
+ for (let r = f; r < et; r++)
61
+ c < l ? _.push({ x: e[r * 6 + 0], y: e[r * 6 + 2] }) : _.push({ x: e[r * 6 + 3], y: e[r * 6 + 5] });
62
+ const D = u[u.length - 1], L = Math.min(m - 1, u[u.length - 1] + v * A);
63
+ for (let r = D; r < L; r++)
64
+ c < l ? k.push({ x: e[r * 6 + 0], y: e[r * 6 + 2] }) : k.push({ x: e[r * 6 + 3], y: e[r * 6 + 5] });
65
+ const H = it(_, k);
66
+ if (H) {
104
67
  const {
105
- line1RelativeIndex: c,
106
- line2RelativeIndex: lt,
107
- x: et,
108
- y: nt
109
- } = D, w = f + c, g = C + lt + 2;
110
- for (let o = w; o < g; o++)
111
- l < a ? (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, p;
113
- l < a ? (V = e[f * 6 + 1], Y = e[w * 6 + 1], X = e[g * 6 + 1], z = e[E * 6 + 1], p = (Y + X) / 2) : (V = e[f * 6 + 4], Y = e[w * 6 + 4], X = e[g * 6 + 4], z = e[E * 6 + 4], p = (Y + X) / 2);
114
- for (let o = f; o < w; o++) {
115
- const $ = w - f, F = (o - f) / $;
116
- l < a ? e[o * 6 + 1] = V + (p - V) * F : e[o * 6 + 4] = V + (p - V) * F;
68
+ line1RelativeIndex: r,
69
+ line2RelativeIndex: nt,
70
+ x: Z,
71
+ y: q
72
+ } = H, d = f + r, h = D + nt + 2;
73
+ for (let n = d; n < h; n++)
74
+ c < l ? (e[n * 6 + 0] = Z, e[n * 6 + 2] = q) : (e[n * 6 + 3] = Z, e[n * 6 + 5] = q), S = n;
75
+ let P, F, G, M, a;
76
+ c < l ? (P = e[f * 6 + 1], F = e[d * 6 + 1], G = e[h * 6 + 1], M = e[L * 6 + 1], a = (F + G) / 2) : (P = e[f * 6 + 4], F = e[d * 6 + 4], G = e[h * 6 + 4], M = e[L * 6 + 4], a = (F + G) / 2);
77
+ for (let n = f; n < d; n++) {
78
+ const z = d - f, B = (n - f) / z;
79
+ c < l ? e[n * 6 + 1] = P + (a - P) * B : e[n * 6 + 4] = P + (a - P) * B;
117
80
  }
118
- for (let o = w; o < g; o++)
119
- l < a ? e[o * 6 + 1] = p : e[o * 6 + 4] = p;
120
- for (let o = g; o < E; o++) {
121
- const $ = E - g, F = (o - g + 1) / $;
122
- l < a ? e[o * 6 + 1] = p + (z - p) * F : e[o * 6 + 4] = p + (z - p) * F;
81
+ for (let n = d; n < h; n++)
82
+ c < l ? e[n * 6 + 1] = a : e[n * 6 + 4] = a;
83
+ for (let n = h; n < L; n++) {
84
+ const z = L - h, B = (n - h + 1) / z;
85
+ c < l ? e[n * 6 + 1] = a + (M - a) * B : e[n * 6 + 4] = a + (M - a) * B;
123
86
  }
124
- Z.push({
125
- start: w,
126
- end: g
87
+ X.push({
88
+ start: d,
89
+ end: h
127
90
  });
128
91
  }
129
- h.length = 0;
92
+ u.length = 0;
130
93
  }
131
94
  }
132
- const M = new Float32Array(j);
133
- Z.forEach((t) => {
134
- for (let n = 0; n < x - 1; n++)
135
- n >= t.start && n <= t.end ? (M[n * 2 + 0] = 1, M[n * 2 + 1] = 1) : M[n] !== 1 && (M[n * 2 + 0] = 0, M[n * 2 + 1] = 0);
95
+ const I = new Float32Array(Y);
96
+ X.forEach((t) => {
97
+ for (let o = 0; o < m - 1; o++)
98
+ o >= t.start && o <= t.end ? (I[o * 2 + 0] = 1, I[o * 2 + 1] = 1) : I[o] !== 1 && (I[o * 2 + 0] = 0, I[o * 2 + 1] = 0);
136
99
  });
137
- const U = new r.BufferGeometry();
138
- return U.setAttribute("position", new r.BufferAttribute(e, 3)), U.setAttribute("uv", new r.BufferAttribute(T, 2)), U.setIndex(new r.BufferAttribute(v, 1)), { geometry: U, maxV: K, animationWillError: Z, curvePath: A, curvePoints: P, panoMap: Q, totalLength: I };
100
+ const C = new i.BufferGeometry();
101
+ return C.setAttribute("position", new i.BufferAttribute(e, 3)), C.setAttribute("uv", new i.BufferAttribute(V, 2)), C.setIndex(new i.BufferAttribute(x, 1)), { geometry: C, maxV: W, animationWillError: X, curvePath: p, curvePoints: g };
139
102
  }
140
- function xt(i) {
141
- if (gt(i)) {
142
- const O = [i.closed, i.curve_type, i.tension], N = i.points.map((G) => new r.Vector3().fromArray(G));
143
- return new r.CatmullRomCurve3(N, ...O);
103
+ function at(s) {
104
+ var T, v;
105
+ if (ft(s)) {
106
+ const y = s.points.map((p) => new i.Vector3().fromArray(p));
107
+ return new i.CatmullRomCurve3(y, (T = s.closed) != null ? T : !1, (v = s.curve_type) != null ? v : "centripetal", s.tension);
144
108
  }
145
109
  }
146
- function gt(i) {
147
- return i.type === "CatmullRomCurve3";
110
+ function ft(s) {
111
+ return s.type === "CatmullRomCurve3";
148
112
  }
149
113
  export {
150
- Vt as createLineGeometry
114
+ Rt as createLineGeometry
151
115
  };
@@ -0,0 +1,3 @@
1
+ import type { Work } from '@realsee/five';
2
+ import type { CatmullRomCurve3, ExtraRouteData } from '../typing';
3
+ export declare function createPath(panoIndexList: number[], work: Work, options?: Omit<CatmullRomCurve3, 'type' | 'points'> & ExtraRouteData): CatmullRomCurve3[];
@@ -0,0 +1,33 @@
1
+ var A = Object.defineProperty;
2
+ var h = Object.getOwnPropertySymbols;
3
+ var C = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
4
+ var y = (e, t, r) => t in e ? A(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, E = (e, t) => {
5
+ for (var r in t || (t = {}))
6
+ C.call(t, r) && y(e, r, t[r]);
7
+ if (h)
8
+ for (var r of h(t))
9
+ R.call(t, r) && y(e, r, t[r]);
10
+ return e;
11
+ };
12
+ import * as b from "three";
13
+ import { transformPosition as d } from "../../shared-utils/five/transformPosition.js";
14
+ function V(e, t, r) {
15
+ if (e.length < 2)
16
+ return [];
17
+ const c = [];
18
+ e.forEach((a, g) => {
19
+ var i, u, _, o, l, n;
20
+ let f = (i = r == null ? void 0 : r.route_standing_positions) == null ? void 0 : i[a];
21
+ if (f || (f = t.observers[a].standingPosition.toArray()), !f)
22
+ return;
23
+ const m = e[g - 1], s = (n = (_ = (u = r == null ? void 0 : r.node_pair_to_route_points) == null ? void 0 : u[`${m}:${a}`]) == null ? void 0 : _.slice()) != null ? n : (l = (o = r == null ? void 0 : r.node_pair_to_route_points) == null ? void 0 : o[`${a}:${m}`]) == null ? void 0 : l.slice().reverse();
24
+ s == null || s.forEach((v) => {
25
+ c.push(v);
26
+ }), c.push(f);
27
+ });
28
+ const P = t.transform, $ = c.map((a) => d(new b.Vector3().fromArray(a), P).toArray());
29
+ return [E({ type: "CatmullRomCurve3", points: $ }, r)];
30
+ }
31
+ export {
32
+ V as createPath
33
+ };
@@ -1,10 +1,3 @@
1
- import type { GuideLineModeItem } from '../GuideLineModeItem';
2
- import type * as PluginType from '../typing';
3
- export declare function updateGuideLineModeItemByData(options: {
4
- item: GuideLineModeItem;
5
- data: PluginType.GuideLineItem;
6
- mode: PluginType.GuideLineModeItemMode;
7
- }): void;
8
1
  /**
9
2
  * 筛选出给定数组中,相邻元素不能重复的元素组成的新数组
10
3
  * @param array 要筛选的数组
@@ -1,14 +1,6 @@
1
- function s(e) {
2
- const t = e.data, o = e.item, a = e.mode === "panorama" ? t.panorama_style : t.model_style;
3
- if (!a)
4
- return;
5
- const r = t.path, n = a, i = a;
6
- t.path ? o.setGeometryByPath(r, n) : t.pano_group && o.setGeometryByPanoGroup(t.pano_group, n), o.setMartial(i);
7
- }
8
- function l(e) {
9
- return e.length === 0 ? [] : e.filter((t, o) => t !== e[o - 1]);
1
+ function i(t) {
2
+ return t.length === 0 ? [] : t.filter((e, n) => e !== t[n - 1]);
10
3
  }
11
4
  export {
12
- l as filterAdjacentDistinct,
13
- s as updateGuideLineModeItemByData
5
+ i as filterAdjacentDistinct
14
6
  };
@@ -1,5 +1,4 @@
1
1
  import type { Five } from '@realsee/five';
2
- import { PointSelector } from '../shared-utils';
3
2
  import { type PolygonStyle } from '../Sculpt/Meshes/Polygon';
4
3
  import { Subscribe } from '../shared-utils/Subscribe';
5
4
  import type { LineMeshStyle } from '../Sculpt/typings';
@@ -13,13 +12,12 @@ export declare class MeasureController extends Subscribe<Event> {
13
12
  private five;
14
13
  private group;
15
14
  private currentMeasureMesh?;
16
- get pointSelector(): PointSelector;
15
+ private get pointSelector();
17
16
  private _pointSelector;
18
17
  private get fiveDomEvents();
19
18
  private _fiveDomEvents;
20
19
  private get cursor();
21
20
  private _cursor;
22
- private unbindHotKey;
23
21
  constructor(five: Five);
24
22
  /**
25
23
  * @description 开始测量
@@ -29,10 +27,6 @@ export declare class MeasureController extends Subscribe<Event> {
29
27
  * @description 结束测量
30
28
  */
31
29
  endMeasure: () => void;
32
- /**
33
- * @description 取消本次测量
34
- */
35
- cancel: () => void;
36
30
  /**
37
31
  * @description 撤销上一步
38
32
  */
@@ -42,11 +36,7 @@ export declare class MeasureController extends Subscribe<Event> {
42
36
  */
43
37
  clear: () => void;
44
38
  dispose: () => void;
45
- private addEventListener;
46
- private removeEventListener;
47
39
  private onClick;
48
- private onHover;
49
- private onUnHover;
50
40
  private updateSelectAdsorbedHelper;
51
41
  }
52
42
  export {};