@realsee/dnalogel 3.81.26 → 3.81.28

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 (677) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/MeasurePluginV2/Magnifier.d.ts +1 -0
  3. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
  4. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +6 -2
  5. package/dist/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +1 -0
  6. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -0
  7. package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  8. package/dist/PanoMeasurePluginV2/Controller.d.ts +8 -1
  9. package/dist/PanoMeasurePluginV2/PointSelector.d.ts +2 -1
  10. package/dist/PanoMeasurePluginV2/ShortcutKeyController.d.ts +5 -0
  11. package/dist/PanoMeasurePluginV2/controllers.d.ts +28 -2
  12. package/dist/index.cjs.js +99 -99
  13. package/dist/index.js +7393 -7116
  14. package/dist/index.umd.js +96 -96
  15. package/dist/shared-utils/three/EndpointPointerGesture.d.ts +31 -0
  16. package/dist/shared-utils/three/measureDrawing.d.ts +4 -0
  17. package/docs/.nojekyll +1 -0
  18. package/docs/assets/custom.css +0 -0
  19. package/docs/assets/highlight.css +127 -0
  20. package/docs/assets/icons.js +18 -0
  21. package/docs/assets/icons.svg +1 -0
  22. package/docs/assets/main.js +60 -0
  23. package/docs/assets/navigation.js +1 -0
  24. package/docs/assets/search.js +1 -0
  25. package/docs/assets/style.css +1493 -0
  26. package/docs/classes/AnimationScriptAdapterSafetyError.html +4 -0
  27. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
  28. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  29. package/docs/classes/CSS3DRender.html +100 -0
  30. package/docs/classes/DigitalHuman.html +43 -0
  31. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +25 -0
  32. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +178 -0
  33. package/docs/classes/DigitalPlayground.html +25 -0
  34. package/docs/classes/DigitalStateMachine.html +3 -0
  35. package/docs/classes/FireControl.html +56 -0
  36. package/docs/classes/FireScenePlayer.html +10 -0
  37. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  38. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +72 -0
  39. package/docs/classes/MeasureV2.EdgeSnapCache.html +8 -0
  40. package/docs/classes/MeasureV2.MeasureControllerV2.html +81 -0
  41. package/docs/classes/MeasureV2.MeasureMagnifier.html +54 -0
  42. package/docs/classes/ModelMakerPluginInstance.html +106 -0
  43. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
  44. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
  45. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
  46. package/docs/classes/ModelRoomLabelController.html +19 -0
  47. package/docs/classes/MoveController.html +45 -0
  48. package/docs/classes/Object3DHelperController.html +45 -0
  49. package/docs/classes/PaintBrush.html +15 -0
  50. package/docs/classes/PanoMeasureControllerV2.html +98 -0
  51. package/docs/classes/PanoMeasurePluginLine.html +26 -0
  52. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  53. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  54. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  55. package/docs/classes/PanoTagPluginController.html +129 -0
  56. package/docs/classes/Sculpt.html +79 -0
  57. package/docs/classes/Util.BetterTween.html +6 -0
  58. package/docs/classes/Util.FiveDomEvents.html +13 -0
  59. package/docs/classes/Util.FivePuppet.html +20 -0
  60. package/docs/classes/Util.Interval.html +11 -0
  61. package/docs/classes/Util.LegacyPointHelper.html +7 -0
  62. package/docs/classes/Util.LightTag.html +47 -0
  63. package/docs/classes/Util.LineSegments.html +4 -0
  64. package/docs/classes/Util.Magnifier.html +42 -0
  65. package/docs/classes/Util.Object3D.html +8 -0
  66. package/docs/classes/Util.PointDomHelper.html +8 -0
  67. package/docs/classes/Util.PointHelper.html +10 -0
  68. package/docs/classes/Util.PointSelector.html +71 -0
  69. package/docs/classes/Util.PointSelectorHelper.html +17 -0
  70. package/docs/classes/Util.Rectangle.html +12 -0
  71. package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
  72. package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
  73. package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
  74. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  75. package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
  76. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  77. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  78. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
  79. package/docs/classes/Util.sculpt.LineMesh.html +34 -0
  80. package/docs/classes/Util.sculpt.PointMesh.html +24 -0
  81. package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
  82. package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
  83. package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
  84. package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
  85. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
  86. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
  87. package/docs/classes/WalkController.html +42 -0
  88. package/docs/enums/CameraMovementEffect.html +4 -0
  89. package/docs/enums/ContentType.html +36 -0
  90. package/docs/enums/DIRECTION.html +5 -0
  91. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  92. package/docs/enums/DimensionType.html +4 -0
  93. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  94. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  95. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  96. package/docs/enums/PointType.html +4 -0
  97. package/docs/enums/Rotation.html +5 -0
  98. package/docs/functions/AreaMakerPlugin.html +1 -0
  99. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  100. package/docs/functions/CameraMovementPlugin.html +2 -0
  101. package/docs/functions/CruisePlugin.html +1 -0
  102. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  103. package/docs/functions/DigitalPerformancePlugin.html +1 -0
  104. package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -0
  105. package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +2 -0
  106. package/docs/functions/FloorplanGuidePlugin.html +1 -0
  107. package/docs/functions/GuideLinePlugin.html +1 -0
  108. package/docs/functions/ItemLabelPlugin.html +1 -0
  109. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  110. package/docs/functions/MeasurePlugin.html +1 -0
  111. package/docs/functions/MeasureV2.MeasurePluginV2.html +1 -0
  112. package/docs/functions/MeasureV2.collectNearbyEdges.html +5 -0
  113. package/docs/functions/MeasureV2.drawMeasureOverlay.html +3 -0
  114. package/docs/functions/MeasureV2.getWorldNormal.html +6 -0
  115. package/docs/functions/MeasureV2.validatePolygon.html +1 -0
  116. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  117. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  118. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  119. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  120. package/docs/functions/ModelMakerPlugin.html +1 -0
  121. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  122. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  123. package/docs/functions/ModelViewPlugin.html +2 -0
  124. package/docs/functions/MovePlugin.html +1 -0
  125. package/docs/functions/Object3DHelperPlugin.html +1 -0
  126. package/docs/functions/PanoCompassPlugin.html +1 -0
  127. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  128. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  129. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  130. package/docs/functions/PanoMeasurePlugin.html +1 -0
  131. package/docs/functions/PanoMeasurePluginV2.html +1 -0
  132. package/docs/functions/PanoRulerPlugin.html +2 -0
  133. package/docs/functions/PanoRulerProPlugin.html +2 -0
  134. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  135. package/docs/functions/PanoTagPlugin.html +1 -0
  136. package/docs/functions/PanoVideoPlugin.html +10 -0
  137. package/docs/functions/PipelinePlugin.html +1 -0
  138. package/docs/functions/SculptPlugin.html +2 -0
  139. package/docs/functions/SculptPluginForFive.html +2 -0
  140. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  141. package/docs/functions/Util.awaitNextFrame.html +1 -0
  142. package/docs/functions/Util.blink.html +13 -0
  143. package/docs/functions/Util.blinkWithPreset.html +6 -0
  144. package/docs/functions/Util.bounding.html +1 -0
  145. package/docs/functions/Util.boundingBox.html +1 -0
  146. package/docs/functions/Util.boundingSphere.html +1 -0
  147. package/docs/functions/Util.boxVertex.html +7 -0
  148. package/docs/functions/Util.boxVertexes.html +1 -0
  149. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  150. package/docs/functions/Util.cleanup.html +3 -0
  151. package/docs/functions/Util.convexHull.html +2 -0
  152. package/docs/functions/Util.equal.html +5 -0
  153. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  154. package/docs/functions/Util.generatePolygonGeometry.html +2 -0
  155. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  156. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  157. package/docs/functions/Util.getFrameTime.html +3 -0
  158. package/docs/functions/Util.getGeometryArea.html +1 -0
  159. package/docs/functions/Util.getGeometryInfo.html +1 -0
  160. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
  161. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
  162. package/docs/functions/Util.initialCSS3DRender.html +1 -0
  163. package/docs/functions/Util.inside.html +1 -0
  164. package/docs/functions/Util.isModelLike.html +1 -0
  165. package/docs/functions/Util.isNil.html +2 -0
  166. package/docs/functions/Util.isPanoramaLike.html +1 -0
  167. package/docs/functions/Util.lookObject.html +7 -0
  168. package/docs/functions/Util.lookPoint.html +5 -0
  169. package/docs/functions/Util.nextFrame.html +1 -0
  170. package/docs/functions/Util.notNil.html +2 -0
  171. package/docs/functions/Util.reblink.html +13 -0
  172. package/docs/functions/Util.replaceStaticPrefix.html +8 -0
  173. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  174. package/docs/functions/Util.sculpt.createBox.html +1 -0
  175. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  176. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  177. package/docs/functions/Util.sculpt.createLine.html +2 -0
  178. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  179. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  180. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  181. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  182. package/docs/functions/Util.sculpt.transformUnit.html +4 -0
  183. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
  184. package/docs/functions/Util.tag.html +1 -0
  185. package/docs/functions/Util.triangleArea.html +2 -0
  186. package/docs/functions/Util.triangleCenter.html +2 -0
  187. package/docs/functions/Util.tweenProgress.html +1 -0
  188. package/docs/functions/Util.uuid.html +2 -0
  189. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  190. package/docs/functions/Util.worldBounding.html +1 -0
  191. package/docs/functions/Util.worldBoundingBox.html +1 -0
  192. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  193. package/docs/functions/classifyMovementTrack.html +1 -0
  194. package/docs/functions/createPolyline.html +2 -0
  195. package/docs/functions/getAreaBox3.html +2 -0
  196. package/docs/functions/getAreaVertices.html +2 -0
  197. package/docs/functions/getEffectivePointActionDuration.html +1 -0
  198. package/docs/functions/getEntryArea.html +2 -0
  199. package/docs/functions/getMovementActionDuration.html +1 -0
  200. package/docs/functions/hasMovementV2Signal.html +1 -0
  201. package/docs/functions/isConverterSafeMovementMatrix.html +1 -0
  202. package/docs/functions/pluginFlag.html +1 -0
  203. package/docs/functions/transformAnimationDetailToDigitalScript.html +3 -0
  204. package/docs/functions/transformScriptData.html +4 -0
  205. package/docs/hierarchy.html +1 -0
  206. package/docs/index.html +81 -0
  207. package/docs/interfaces/AnimationScriptAdapterOptions.html +6 -0
  208. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  209. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  210. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  211. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  212. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  213. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  214. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  215. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  216. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  217. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  218. package/docs/interfaces/BoxAnimationConfig.html +6 -0
  219. package/docs/interfaces/BoxPosition.html +8 -0
  220. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  221. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  222. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  223. package/docs/interfaces/ChapterLocation.html +4 -0
  224. package/docs/interfaces/ChapterTimeInfo.html +7 -0
  225. package/docs/interfaces/ContentTypeMapInterface.html +83 -0
  226. package/docs/interfaces/CruisePluginTypes.Config.html +8 -0
  227. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  228. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  229. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  230. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  231. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  232. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  233. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  234. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  235. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  236. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +14 -0
  237. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  238. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  239. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  240. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  241. package/docs/interfaces/DigitalCameraKeyframe.html +4 -0
  242. package/docs/interfaces/DigitalCameraPlayer.html +4 -0
  243. package/docs/interfaces/DigitalCameraState.html +4 -0
  244. package/docs/interfaces/DigitalChapter.html +3 -0
  245. package/docs/interfaces/DigitalDataPlayer.html +4 -0
  246. package/docs/interfaces/DigitalDataState.html +4 -0
  247. package/docs/interfaces/DigitalEffectKeyframe.html +4 -0
  248. package/docs/interfaces/DigitalEffectState.html +8 -0
  249. package/docs/interfaces/DigitalItemKeyframe.html +6 -0
  250. package/docs/interfaces/DigitalItemState.html +7 -0
  251. package/docs/interfaces/DigitalModelKeyframe.html +9 -0
  252. package/docs/interfaces/DigitalModelPlayer.html +10 -0
  253. package/docs/interfaces/DigitalModelPlayerEffect.html +4 -0
  254. package/docs/interfaces/DigitalModelPlayerItem.html +6 -0
  255. package/docs/interfaces/DigitalModelState.html +8 -0
  256. package/docs/interfaces/DigitalPerformancePluginConfig.html +9 -0
  257. package/docs/interfaces/DigitalPerformanceV2.CameraState.html +13 -0
  258. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +23 -0
  259. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +7 -0
  260. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +5 -0
  261. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +22 -0
  262. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +5 -0
  263. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +15 -0
  264. package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +13 -0
  265. package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +18 -0
  266. package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +10 -0
  267. package/docs/interfaces/DigitalScript.html +5 -0
  268. package/docs/interfaces/DigitalSubTitleKeyframe.html +7 -0
  269. package/docs/interfaces/DigitalSubTitlePlayer.html +4 -0
  270. package/docs/interfaces/DigitalSubTitleState.html +6 -0
  271. package/docs/interfaces/ExtendedAnimationConfig.html +5 -0
  272. package/docs/interfaces/FireArea.html +5 -0
  273. package/docs/interfaces/FireModel.html +9 -0
  274. package/docs/interfaces/FireSceneConfig.html +9 -0
  275. package/docs/interfaces/FireSequencePlayerOptions.html +4 -0
  276. package/docs/interfaces/FireSequenceStep.html +5 -0
  277. package/docs/interfaces/FireVector3.html +4 -0
  278. package/docs/interfaces/FloorplanBounding.html +9 -0
  279. package/docs/interfaces/FloorplanData.html +8 -0
  280. package/docs/interfaces/FloorplanEntrance.html +14 -0
  281. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  282. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  283. package/docs/interfaces/FloorplanFloorData.html +9 -0
  284. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  285. package/docs/interfaces/FloorplanObserver.html +9 -0
  286. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  287. package/docs/interfaces/FloorplanPosition.html +4 -0
  288. package/docs/interfaces/FloorplanRoomItem.html +24 -0
  289. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  290. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  291. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  292. package/docs/interfaces/FloorplanServerData.html +5 -0
  293. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  294. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  295. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  296. package/docs/interfaces/FloorplanServerFloorData.html +8 -0
  297. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  298. package/docs/interfaces/FloorplanServerObserver.html +9 -0
  299. package/docs/interfaces/FloorplanServerOutlineItem.html +7 -0
  300. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  301. package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
  302. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  303. package/docs/interfaces/FloorplanServerStyledFloorplan.html +3 -0
  304. package/docs/interfaces/FloorplanServerStyledImage.html +6 -0
  305. package/docs/interfaces/GlobalProgress.html +7 -0
  306. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  307. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
  308. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  309. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  310. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  311. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  312. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  313. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  314. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  315. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  316. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  317. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  318. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  319. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  320. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  321. package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
  322. package/docs/interfaces/HelperOffset.html +4 -0
  323. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  324. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  325. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  326. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  327. package/docs/interfaces/LegacyScriptTransformer.html +2 -0
  328. package/docs/interfaces/MeasureV2.EdgeSnapOptions.html +19 -0
  329. package/docs/interfaces/MeasureV2.MagnifierViewport.html +20 -0
  330. package/docs/interfaces/MeasureV2.MeasureMagnifierOptions.html +28 -0
  331. package/docs/interfaces/MeasureV2.ResolvedEdgeSnapOptions.html +11 -0
  332. package/docs/interfaces/MinMax.html +3 -0
  333. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  334. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  335. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  336. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  337. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  338. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  339. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  340. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  341. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
  342. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  343. package/docs/interfaces/ModelMakerPluginType.ModelMakerPluginConfig.html +19 -0
  344. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
  345. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
  346. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
  347. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
  348. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
  349. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  350. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  351. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
  352. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  353. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  354. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  355. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -0
  356. package/docs/interfaces/ModelViewPluginExportType.html +8 -0
  357. package/docs/interfaces/Object3DHelperState.html +4 -0
  358. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  359. package/docs/interfaces/PaintBrushAction.html +14 -0
  360. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  361. package/docs/interfaces/PaintBrushState.html +6 -0
  362. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  363. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  364. package/docs/interfaces/PanoMeasureParameterType.html +21 -0
  365. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  366. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  367. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  368. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  369. package/docs/interfaces/PanoMeasurePluginV2Data.html +2 -0
  370. package/docs/interfaces/PanoMeasurePluginV2ServerData.html +2 -0
  371. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  372. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  373. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  374. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  375. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  376. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  377. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  378. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  379. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  380. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  381. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  382. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  383. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  384. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  385. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  386. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  387. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  388. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  389. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  390. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  391. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  392. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  393. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  394. package/docs/interfaces/PlaybackController.html +4 -0
  395. package/docs/interfaces/PlaybackManager.html +2 -0
  396. package/docs/interfaces/PlaybackSession.html +5 -0
  397. package/docs/interfaces/PluginEventMap.html +16 -0
  398. package/docs/interfaces/Point.html +4 -0
  399. package/docs/interfaces/ProgressBarEvents.html +7 -0
  400. package/docs/interfaces/Room.html +5 -0
  401. package/docs/interfaces/RoomInfo.html +3 -0
  402. package/docs/interfaces/RoomLabel.html +16 -0
  403. package/docs/interfaces/RoomRules.html +1 -0
  404. package/docs/interfaces/Rooms.html +1 -0
  405. package/docs/interfaces/Scissor.html +13 -0
  406. package/docs/interfaces/SculptConfig.html +19 -0
  407. package/docs/interfaces/State.html +7 -0
  408. package/docs/interfaces/StyledFloorplan.html +3 -0
  409. package/docs/interfaces/StyledFloorplanImage.html +6 -0
  410. package/docs/interfaces/StyledFloorplanRoomLabel.html +8 -0
  411. package/docs/interfaces/TagCacheInterface.html +9 -0
  412. package/docs/interfaces/TagConfig.html +189 -0
  413. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  414. package/docs/interfaces/TagIconAnimationConfig.html +7 -0
  415. package/docs/interfaces/TagIconUrl.html +22 -0
  416. package/docs/interfaces/TagObjectGroup.html +3 -0
  417. package/docs/interfaces/TagState.html +3 -0
  418. package/docs/interfaces/TagStyle.html +17 -0
  419. package/docs/interfaces/Tags.html +8 -0
  420. package/docs/interfaces/TemporaryState.html +2 -0
  421. package/docs/interfaces/TraceManager.html +6 -0
  422. package/docs/interfaces/TracePoint.html +3 -0
  423. package/docs/interfaces/Util.AdaptiveReadWindowOptions.html +10 -0
  424. package/docs/interfaces/Util.AnimeInstance.html +14 -0
  425. package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
  426. package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
  427. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  428. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  429. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
  430. package/docs/interfaces/Util.MagnifierParameter.html +22 -0
  431. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  432. package/docs/interfaces/Util.ObjectInitialState.html +9 -0
  433. package/docs/interfaces/Util.PointIntersection.html +21 -0
  434. package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
  435. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
  436. package/docs/modules/AreaMakerPluginType.html +17 -0
  437. package/docs/modules/CruisePluginTypes.html +14 -0
  438. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  439. package/docs/modules/DigitalPerformanceV2.html +22 -0
  440. package/docs/modules/GuideLineItem.html +2 -0
  441. package/docs/modules/GuideLineModeItem.html +3 -0
  442. package/docs/modules/GuideLinePluginType.html +25 -0
  443. package/docs/modules/MeasureV2.html +22 -0
  444. package/docs/modules/ModelMakerPluginType.html +22 -0
  445. package/docs/modules/PanoVideoPluginType.html +8 -0
  446. package/docs/modules/SculptData.html +9 -0
  447. package/docs/modules/SculptType.html +2 -0
  448. package/docs/modules/Util.html +92 -0
  449. package/docs/modules/Util.sculpt.html +27 -0
  450. package/docs/modules.html +390 -0
  451. package/docs/types/AddObject3DHelperConfig.html +19 -0
  452. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  453. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  454. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  455. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  456. package/docs/types/ArrayPosition.html +1 -0
  457. package/docs/types/AudioAppearance.html +1 -0
  458. package/docs/types/BoxTag.html +2 -0
  459. package/docs/types/CSS3DRenderExportType.html +1 -0
  460. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  461. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  462. package/docs/types/CanonicalMovementTrackPlan.html +1 -0
  463. package/docs/types/ClassFunctionParameters.html +1 -0
  464. package/docs/types/Color.html +1 -0
  465. package/docs/types/ContentTypeConfigKey.html +1 -0
  466. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  467. package/docs/types/ContentTypeMap.html +1 -0
  468. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  469. package/docs/types/Create3DElementReturnType.html +1 -0
  470. package/docs/types/CruisePluginExportType.html +1 -0
  471. package/docs/types/CruisePluginTypes.CruiseData.html +6 -0
  472. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  473. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  474. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  475. package/docs/types/DeprecatedTagProperty.html +3 -0
  476. package/docs/types/DigitalPerformancePluginExportInterface.html +1 -0
  477. package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -0
  478. package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +7 -0
  479. package/docs/types/DigitalPerformanceV2.CameraTransition.html +7 -0
  480. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -0
  481. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -0
  482. package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -0
  483. package/docs/types/Direction-1.html +1 -0
  484. package/docs/types/Direction4.html +1 -0
  485. package/docs/types/ElementRenderer.html +2 -0
  486. package/docs/types/FireModelType.html +5 -0
  487. package/docs/types/FireSequenceKind.html +3 -0
  488. package/docs/types/FireSpreadBounds.html +2 -0
  489. package/docs/types/FloorplanAffineTransform.html +1 -0
  490. package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
  491. package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
  492. package/docs/types/FloorplanRuleLabels.html +2 -0
  493. package/docs/types/FloorplanServerAffineTransform.html +1 -0
  494. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  495. package/docs/types/GuideLinePluginExportType.html +1 -0
  496. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
  497. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  498. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  499. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  500. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  501. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  502. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  503. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  504. package/docs/types/HelperEventMap.html +1 -0
  505. package/docs/types/InternalHelperEventMap.html +1 -0
  506. package/docs/types/KeyframeType.html +1 -0
  507. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  508. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  509. package/docs/types/MaskPosition.html +3 -0
  510. package/docs/types/MaskTag.html +2 -0
  511. package/docs/types/MeasureInteractionState.html +2 -0
  512. package/docs/types/MeasureV2.MeasureControllerV2Interface.html +1 -0
  513. package/docs/types/MeasureV2.MeasureEndReason.html +1 -0
  514. package/docs/types/MeasureV2.MeasurePluginConfig.html +10 -0
  515. package/docs/types/MeasureV2.MeasurePluginEventMap.html +1 -0
  516. package/docs/types/MeasureV2.MeasurePluginV2Config.html +6 -0
  517. package/docs/types/MeasureV2.MeasurePluginV2ParamsInterface.html +1 -0
  518. package/docs/types/MediaData.html +2 -0
  519. package/docs/types/MediaOperations.html +1 -0
  520. package/docs/types/MediaStore.html +1 -0
  521. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  522. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  523. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  524. package/docs/types/ModelId.html +1 -0
  525. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  526. package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
  527. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
  528. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
  529. package/docs/types/ModelMakerPluginType.TagOcclusionScope.html +2 -0
  530. package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.html +2 -0
  531. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  532. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  533. package/docs/types/MoveArgs.html +2 -0
  534. package/docs/types/MoveOpts.html +2 -0
  535. package/docs/types/MovementConfig.html +1 -0
  536. package/docs/types/MovementPosition.html +1 -0
  537. package/docs/types/MovementTrackClassification.html +1 -0
  538. package/docs/types/MovementTrackConflictReason.html +1 -0
  539. package/docs/types/MovementTrackProjection.html +1 -0
  540. package/docs/types/Object3DHelperEventMap.html +1 -0
  541. package/docs/types/ObjectFit.html +1 -0
  542. package/docs/types/PaintBrushEventMap.html +1 -0
  543. package/docs/types/PanoCompassPluginData.html +1 -0
  544. package/docs/types/PanoCompassPluginExportType.html +1 -0
  545. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  546. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  547. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  548. package/docs/types/PanoIndex.html +1 -0
  549. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  550. package/docs/types/PanoMeasurePluginV2Config.html +3 -0
  551. package/docs/types/PanoMeasurePluginV2Instance.html +1 -0
  552. package/docs/types/PanoMeasureReturnType.html +1 -0
  553. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  554. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  555. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  556. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  557. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  558. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  559. package/docs/types/PipelinePluginParameterType.html +1 -0
  560. package/docs/types/PipelinePluginReturnType.html +1 -0
  561. package/docs/types/PlaneTag.html +2 -0
  562. package/docs/types/Point2DTag.html +2 -0
  563. package/docs/types/Point3DTag.html +2 -0
  564. package/docs/types/PointAction.html +1 -0
  565. package/docs/types/PointTagInstance.html +1 -0
  566. package/docs/types/PolygonPosition.html +3 -0
  567. package/docs/types/PolygonTag.html +2 -0
  568. package/docs/types/Position.html +1 -0
  569. package/docs/types/PositionFrom.html +1 -0
  570. package/docs/types/ProgressListener.html +1 -0
  571. package/docs/types/RotateArgs.html +2 -0
  572. package/docs/types/RotateOpts.html +2 -0
  573. package/docs/types/RuleLabelsKey.html +1 -0
  574. package/docs/types/RuleLabelsValue.html +1 -0
  575. package/docs/types/ScaleCallback.html +1 -0
  576. package/docs/types/ScalePosition.html +3 -0
  577. package/docs/types/SculptData.BoxData.html +1 -0
  578. package/docs/types/SculptData.CircleData.html +1 -0
  579. package/docs/types/SculptData.CylinderData.html +1 -0
  580. package/docs/types/SculptData.PointData.html +1 -0
  581. package/docs/types/SculptData.PolygonData.html +1 -0
  582. package/docs/types/SculptData.PolylineData.html +1 -0
  583. package/docs/types/SculptData.PrismData.html +1 -0
  584. package/docs/types/SculptData.RectangleData.html +1 -0
  585. package/docs/types/SculptType.Theme.html +10 -0
  586. package/docs/types/StateType.html +1 -0
  587. package/docs/types/StickType.html +1 -0
  588. package/docs/types/Tag.html +17 -0
  589. package/docs/types/Tag2D.html +2 -0
  590. package/docs/types/Tag3D.html +2 -0
  591. package/docs/types/TagClickParams.html +1 -0
  592. package/docs/types/TagConfigByKey.html +1 -0
  593. package/docs/types/TagContentType.html +1 -0
  594. package/docs/types/TagContentTypeMapping.html +1 -0
  595. package/docs/types/TagDimensionType.html +1 -0
  596. package/docs/types/TagElement.html +2 -0
  597. package/docs/types/TagEvents.html +1 -0
  598. package/docs/types/TagGLTFObject.html +1 -0
  599. package/docs/types/TagHooks.html +1 -0
  600. package/docs/types/TagId.html +1 -0
  601. package/docs/types/TagInstance.html +1 -0
  602. package/docs/types/TagPlacement.html +5 -0
  603. package/docs/types/TagPointType.html +2 -0
  604. package/docs/types/TagRendererMap.html +1 -0
  605. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  606. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  607. package/docs/types/TrackPoint.html +1 -0
  608. package/docs/types/Util.ActionIfNoIntersection.html +1 -0
  609. package/docs/types/Util.AdherePoint.html +2 -0
  610. package/docs/types/Util.PointSelectorConfig.html +1 -0
  611. package/docs/types/Util.SupportedTarget.html +2 -0
  612. package/docs/types/Util.Target.html +2 -0
  613. package/docs/types/Util.ThreeObject.html +2 -0
  614. package/docs/types/WorkCode.html +1 -0
  615. package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +1 -0
  616. package/docs/variables/FIRE_ACTION_DURATION_MS.html +2 -0
  617. package/docs/variables/FIRE_SPREAD_SPEED.html +2 -0
  618. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  619. package/docs/variables/MODEL_SCALE_RANGE.html +2 -0
  620. package/docs/variables/MOVEMENT_OCCURRENCE_EPSILON.html +1 -0
  621. package/docs/variables/MOVEMENT_POSITION_EPSILON.html +1 -0
  622. package/docs/variables/MOVEMENT_SCHEMA_VERSION.html +1 -0
  623. package/docs/variables/MeasureV2.DEFAULT_EDGE_SNAP_OPTIONS.html +1 -0
  624. package/docs/variables/MeasureV2.OVERLAY_STYLE.html +14 -0
  625. package/docs/variables/PLUGIN.html +1 -0
  626. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  627. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  628. package/docs/variables/Util.ANIME_PRESETS.html +2 -0
  629. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
  630. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
  631. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
  632. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
  633. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
  634. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
  635. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
  636. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
  637. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
  638. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
  639. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
  640. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
  641. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
  642. package/docs/variables/defaultGlobalConfig.html +1 -0
  643. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  644. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  645. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  646. package/libs/MeasurePlugin/Controller.js +161 -161
  647. package/libs/MeasurePlugin/index.js +6 -4
  648. package/libs/MeasurePluginV2/Controller.js +35 -43
  649. package/libs/MeasurePluginV2/Magnifier.d.ts +1 -0
  650. package/libs/MeasurePluginV2/Magnifier.js +20 -12
  651. package/libs/MeasurePluginV2/PointSelector.js +78 -78
  652. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
  653. package/libs/PanoMeasurePlugin/Controller/BaseController.js +4 -0
  654. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +6 -2
  655. package/libs/PanoMeasurePlugin/Controller/EditController.js +49 -42
  656. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +1 -0
  657. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +13 -10
  658. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -0
  659. package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -1
  660. package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  661. package/libs/PanoMeasurePlugin/Controller/index.js +33 -30
  662. package/libs/PanoMeasurePluginV2/Controller.d.ts +8 -1
  663. package/libs/PanoMeasurePluginV2/Controller.js +51 -44
  664. package/libs/PanoMeasurePluginV2/PointSelector.d.ts +2 -1
  665. package/libs/PanoMeasurePluginV2/PointSelector.js +51 -48
  666. package/libs/PanoMeasurePluginV2/ShortcutKeyController.d.ts +5 -0
  667. package/libs/PanoMeasurePluginV2/ShortcutKeyController.js +25 -0
  668. package/libs/PanoMeasurePluginV2/controllers.d.ts +28 -2
  669. package/libs/PanoMeasurePluginV2/controllers.js +217 -49
  670. package/libs/base/BasePlugin.js +1 -1
  671. package/libs/index.js +199 -196
  672. package/libs/shared-utils/logger.js +1 -1
  673. package/libs/shared-utils/three/EndpointPointerGesture.d.ts +31 -0
  674. package/libs/shared-utils/three/EndpointPointerGesture.js +74 -0
  675. package/libs/shared-utils/three/measureDrawing.d.ts +4 -0
  676. package/libs/shared-utils/three/measureDrawing.js +11 -0
  677. package/package.json +1 -1
@@ -1,27 +1,24 @@
1
1
  var l = Object.defineProperty, c = Object.defineProperties;
2
2
  var g = Object.getOwnPropertyDescriptors;
3
- var d = Object.getOwnPropertySymbols;
3
+ var p = Object.getOwnPropertySymbols;
4
4
  var m = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
5
- var o = (s, a, t) => a in s ? l(s, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[a] = t, u = (s, a) => {
6
- for (var t in a || (a = {}))
7
- m.call(a, t) && o(s, t, a[t]);
8
- if (d)
9
- for (var t of d(a))
10
- M.call(a, t) && o(s, t, a[t]);
5
+ var u = (s, i, t) => i in s ? l(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t, o = (s, i) => {
6
+ for (var t in i || (i = {}))
7
+ m.call(i, t) && u(s, t, i[t]);
8
+ if (p)
9
+ for (var t of p(i))
10
+ M.call(i, t) && u(s, t, i[t]);
11
11
  return s;
12
- }, p = (s, a) => c(s, g(a));
13
- var r = (s, a, t) => (o(s, typeof a != "symbol" ? a + "" : a, t), t);
12
+ }, d = (s, i) => c(s, g(i));
13
+ var r = (s, i, t) => (u(s, typeof i != "symbol" ? i + "" : i, t), t);
14
14
  import { MeasurePointSelector as v } from "./PointSelector.js";
15
15
  import { MeasureController as f } from "../MeasurePlugin/Controller.js";
16
16
  import { isTouchDevice as S } from "../shared-utils/isTouchDevice.js";
17
- import { MeasureMagnifier as E } from "./Magnifier.js";
18
- import { MeasurePointHelperV2 as P } from "./PointHelper.js";
19
- import { EdgeSnapCache as k, resolveEdgeSnapOptions as w } from "./edgeSnap.js";
20
- import { QuickNormalMeasure as C } from "./normalMeasure.js";
21
- function F() {
22
- return typeof window == "undefined" ? 1 : Math.min(2, Math.max(1, Math.ceil(window.devicePixelRatio || 1)));
23
- }
24
- class D extends f {
17
+ import { MeasureMagnifier as E, getMeasureMagnifierDefaults as k } from "./Magnifier.js";
18
+ import { MeasurePointHelperV2 as C } from "./PointHelper.js";
19
+ import { EdgeSnapCache as F, resolveEdgeSnapOptions as P } from "./edgeSnap.js";
20
+ import { QuickNormalMeasure as b } from "./normalMeasure.js";
21
+ class R extends f {
25
22
  constructor(t, e) {
26
23
  super(t, e);
27
24
  /** 最近一次查询到的候选边数量,示例页 / 调试用 */
@@ -30,14 +27,14 @@ class D extends f {
30
27
  r(this, "v2Magnifier");
31
28
  r(this, "v2Attached", !1);
32
29
  r(this, "edgeSnapOptions");
33
- r(this, "edgeSnapCache", new k());
30
+ r(this, "edgeSnapCache", new F());
34
31
  r(this, "quickMeasureEnabled");
35
32
  r(this, "quickMeasure");
36
- this.v2Five = t, this.edgeSnapOptions = w(e == null ? void 0 : e.edgeSnap), this.quickMeasureEnabled = (e == null ? void 0 : e.quickMeasure) !== !1;
37
- const i = this.measure;
33
+ this.v2Five = t, this.edgeSnapOptions = P(e == null ? void 0 : e.edgeSnap), this.quickMeasureEnabled = (e == null ? void 0 : e.quickMeasure) !== !1;
34
+ const a = this.measure;
38
35
  this.measure = () => {
39
36
  var h;
40
- this.edgeSnapCache.clear(), this.lastEdgeSnapEdgeCount = 0, this.pointSelector.clearDynamicAdhereLine(), (h = this.quickMeasure) == null || h.reset(), i();
37
+ this.edgeSnapCache.clear(), this.lastEdgeSnapEdgeCount = 0, this.pointSelector.clearDynamicAdhereLine(), (h = this.quickMeasure) == null || h.reset(), a();
41
38
  };
42
39
  const n = this.dispose;
43
40
  this.dispose = () => {
@@ -57,7 +54,7 @@ class D extends f {
57
54
  return this.v2Magnifier;
58
55
  }
59
56
  createPointSelector() {
60
- return new v(this.v2Five, { mode: "cursor", helper: u({ pointHelper: "highlight" }, S ? { magnifierParams: { width: 150, height: 150, dragEnabled: !1, autoFixPCPosition: !1, initialPosition: { left: "12px", top: "12px" } } } : {}), skipPanorama: !1 });
57
+ return new v(this.v2Five, { mode: "cursor", helper: o({ pointHelper: "highlight" }, S ? { magnifierParams: { width: 150, height: 150, dragEnabled: !1, autoFixPCPosition: !1, initialPosition: { left: "12px", top: "12px" } } } : {}), skipPanorama: !1 });
61
58
  }
62
59
  get pointSelector() {
63
60
  const t = super.pointSelector;
@@ -65,44 +62,39 @@ class D extends f {
65
62
  }
66
63
  attachOverlayRenderers(t) {
67
64
  const e = t.pointSelectorHelper;
68
- this.attachMagnifier(e), this.attachPointHelper(e), this.attachEdgeSnap(t), this.attachQuickMeasure(t), t.on("intersectionUpdate", (i) => {
65
+ this.attachMagnifier(e), this.attachPointHelper(e), this.attachEdgeSnap(t), this.attachQuickMeasure(t), t.on("intersectionUpdate", (a) => {
69
66
  var n;
70
- (n = this.v2Magnifier) == null || n.setIntersection(i != null ? i : null);
67
+ (n = this.v2Magnifier) == null || n.setIntersection(a != null ? a : null);
71
68
  });
72
69
  }
73
70
  attachMagnifier(t) {
74
71
  const e = t.magnifier;
75
72
  if (!e)
76
73
  return;
77
- const i = new E(this.v2Five, p(u({}, e.config), {
74
+ const a = new E(this.v2Five, o(d(o({}, e.config), {
78
75
  width: e.width,
79
76
  height: e.height,
80
- scale: e.scale,
81
- // 这两项是 V2 的新默认:按设备像素读回 + 只旋转的近景视角
82
- readPixelsPixelRatio: F(),
83
- closeupMode: "rotate",
84
- // 远点自动提高光学倍率,放大镜里看到的物体大小基本恒定
85
- adaptiveReadWindow: !0
86
- }));
87
- i.setUserEnabled(this.magnifierEnabled), e.containerDom && i.appendTo(e.containerDom), e.state.enabled && i.enable(), t.magnifier = i, e.dispose(), this.v2Magnifier = i;
77
+ scale: e.scale
78
+ }), k()));
79
+ a.setUserEnabled(this.magnifierEnabled), e.containerDom && a.appendTo(e.containerDom), e.state.enabled && a.enable(), t.magnifier = a, e.dispose(), this.v2Magnifier = a;
88
80
  }
89
81
  attachPointHelper(t) {
90
- const e = t.pointHelper, i = new P(this.v2Five);
91
- t.pointHelper = i, e == null || e.dispose(), e != null && e.parent && e.parent.remove(e);
82
+ const e = t.pointHelper, a = new C(this.v2Five);
83
+ t.pointHelper = a, e == null || e.dispose(), e != null && e.parent && e.parent.remove(e);
92
84
  }
93
85
  /** 双击快速测量:只在测量过程中生效,选点链路仍由原 MeasureController 负责 */
94
86
  attachQuickMeasure(t) {
95
- this.quickMeasureEnabled && (this.quickMeasure = new C({
87
+ this.quickMeasureEnabled && (this.quickMeasure = new b({
96
88
  getCamera: () => this.v2Five.camera,
97
89
  getElement: () => this.v2Five.getElement(),
98
90
  raycast: (e) => this.v2Five.model.intersectRaycaster(e),
99
91
  getMeasuringPoints: () => {
100
- var e, i;
101
- return (i = (e = this.currentMeasureMesh) == null ? void 0 : e.points) != null ? i : null;
92
+ var e, a;
93
+ return (a = (e = this.currentMeasureMesh) == null ? void 0 : e.points) != null ? a : null;
102
94
  },
103
- finish: (e, i) => {
95
+ finish: (e, a) => {
104
96
  const n = this.currentMeasureMesh;
105
- return n ? (n.setPoints([e, i]), this.continueMeasureFrom ? (this.continueMeasureFrom(i), !0) : (this.endMeasure(), !1)) : !1;
97
+ return n ? (n.setPoints([e, a]), this.continueMeasureFrom ? (this.continueMeasureFrom(a), !0) : (this.endMeasure(), !1)) : !1;
106
98
  },
107
99
  cancelStart: () => this.undo()
108
100
  }), this.quickMeasure.attach(t));
@@ -115,11 +107,11 @@ class D extends f {
115
107
  t.adhereLineProvider = ({ intersection: e }) => {
116
108
  if (!(e != null && e.point))
117
109
  return [];
118
- const i = this.edgeSnapCache.query(this.v2Five.model, e.point, this.edgeSnapOptions);
119
- return this.lastEdgeSnapEdgeCount = i.length, i;
110
+ const a = this.edgeSnapCache.query(this.v2Five.model, e.point, this.edgeSnapOptions);
111
+ return this.lastEdgeSnapEdgeCount = a.length, a;
120
112
  };
121
113
  }
122
114
  }
123
115
  export {
124
- D as MeasureControllerV2
116
+ R as MeasureControllerV2
125
117
  };
@@ -18,6 +18,7 @@ export interface MeasureMagnifierOptions extends MagnifierParameter {
18
18
  /** 近景取景方式,默认 'rotate' */
19
19
  closeupMode?: MeasureCloseupMode;
20
20
  }
21
+ export declare function getMeasureMagnifierDefaults(): MeasureMagnifierOptions;
21
22
  /**
22
23
  * 量尺 V2 用的放大镜。
23
24
  *
@@ -1,7 +1,7 @@
1
1
  var m = Object.defineProperty;
2
2
  var v = (s, i, e) => i in s ? m(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
3
3
  var a = (s, i, e) => (v(s, typeof i != "symbol" ? i + "" : i, e), e);
4
- import * as d from "three";
4
+ import * as u from "three";
5
5
  import "../shared-utils/tag.js";
6
6
  import { Magnifier as y } from "../shared-utils/three/Magnifier.js";
7
7
  import "../shared-utils/three/PointSelector/index.js";
@@ -15,8 +15,15 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
15
15
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
16
16
  import "../vendor/earcut/src/earcut.js";
17
17
  import "../shared-utils/five/FivePuppet.js";
18
- import { CLOSEUP_MAX_DEVIATION as f, resolveCloseupView as x } from "./closeupView.js";
19
- import { drawMeasureOverlay as M, getWorldNormal as g } from "./PointOverlay.js";
18
+ import { CLOSEUP_MAX_DEVIATION as f, resolveCloseupView as M } from "./closeupView.js";
19
+ import { drawMeasureOverlay as x, getWorldNormal as g } from "./PointOverlay.js";
20
+ function D() {
21
+ return {
22
+ readPixelsPixelRatio: typeof window == "undefined" ? 1 : Math.min(2, Math.max(1, Math.ceil(window.devicePixelRatio || 1))),
23
+ closeupMode: "rotate",
24
+ adaptiveReadWindow: !0
25
+ };
26
+ }
20
27
  class U extends y {
21
28
  constructor(e, t) {
22
29
  var r;
@@ -82,7 +89,7 @@ class U extends y {
82
89
  if (!t)
83
90
  return;
84
91
  const r = this.getOverlayContext();
85
- r && M(r, t, e);
92
+ r && x(r, t, e);
86
93
  }
87
94
  /**
88
95
  * 近景 3D 视角:读像素前调整相机取向,让视线朝落点所在表面的法线偏一点
@@ -110,7 +117,7 @@ class U extends y {
110
117
  return;
111
118
  const h = e.point && e.point.distanceTo(t) < 1e-4 ? g(e) : null;
112
119
  r.updateMatrixWorld();
113
- const l = this.closeupMode === "rotate", o = l ? Math.max(0, Math.min(f, d.MathUtils.degToRad(r.fov || 60) / 2 - d.MathUtils.degToRad(4))) : void 0, n = x({
120
+ const l = this.closeupMode === "rotate", o = l ? Math.max(0, Math.min(f, u.MathUtils.degToRad(r.fov || 60) / 2 - u.MathUtils.degToRad(4))) : void 0, n = M({
114
121
  point: t,
115
122
  normal: h,
116
123
  cameraPosition: r.position,
@@ -122,9 +129,9 @@ class U extends y {
122
129
  if (!n)
123
130
  return;
124
131
  this.closeupState = n.state;
125
- const c = r.position.clone(), u = r.quaternion.clone();
132
+ const c = r.position.clone(), d = r.quaternion.clone();
126
133
  return r.position.copy(n.position), r.quaternion.copy(n.quaternion), r.updateMatrixWorld(!0), () => {
127
- r.position.copy(c), r.quaternion.copy(u), r.updateMatrixWorld(!0);
134
+ r.position.copy(c), r.quaternion.copy(d), r.updateMatrixWorld(!0);
128
135
  };
129
136
  }
130
137
  /** 只记录投影要用的矩阵;Five 的相机 clone() 开销大,也不保证可用 */
@@ -133,7 +140,7 @@ class U extends y {
133
140
  const e = this.overlayFive.camera;
134
141
  if (!e)
135
142
  return;
136
- const t = (r = this.overlayCamera) != null ? r : this.overlayCamera = new d.Camera();
143
+ const t = (r = this.overlayCamera) != null ? r : this.overlayCamera = new u.Camera();
137
144
  t.matrixWorld.copy(e.matrixWorld), t.matrixWorldInverse.copy(e.matrixWorldInverse), t.projectionMatrix.copy(e.projectionMatrix), t.projectionMatrixInverse.copy(e.projectionMatrixInverse), t.position.copy(e.position);
138
145
  }
139
146
  getOverlayContext() {
@@ -148,11 +155,11 @@ class U extends y {
148
155
  const e = this.overlayFive;
149
156
  if (!e.renderer || !e.camera)
150
157
  return null;
151
- const t = this.getRenderCenter(), r = e.renderer.getSize(new d.Vector2()), [h, l] = (() => {
158
+ const t = this.getRenderCenter(), r = e.renderer.getSize(new u.Vector2()), [h, l] = (() => {
152
159
  var c;
153
160
  if (t.isVector3) {
154
- const u = t.clone().project((c = this.overlayCamera) != null ? c : e.camera);
155
- return [(u.x + 1) / 2 * r.x, (u.y + 1) / 2 * r.y];
161
+ const d = t.clone().project((c = this.overlayCamera) != null ? c : e.camera);
162
+ return [(d.x + 1) / 2 * r.x, (d.y + 1) / 2 * r.y];
156
163
  }
157
164
  return [t.x, r.y - t.y];
158
165
  })(), o = this.getReadWindowInfo();
@@ -171,5 +178,6 @@ class U extends y {
171
178
  }
172
179
  }
173
180
  export {
174
- U as MeasureMagnifier
181
+ U as MeasureMagnifier,
182
+ D as getMeasureMagnifierDefaults
175
183
  };
@@ -1,35 +1,35 @@
1
1
  var H = Object.defineProperty;
2
- var j = Object.getOwnPropertySymbols;
2
+ var z = Object.getOwnPropertySymbols;
3
3
  var F = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
4
- var N = (p, s, e) => s in p ? H(p, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[s] = e, C = (p, s) => {
4
+ var N = (f, s, e) => s in f ? H(f, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : f[s] = e, j = (f, s) => {
5
5
  for (var e in s || (s = {}))
6
- F.call(s, e) && N(p, e, s[e]);
7
- if (j)
8
- for (var e of j(s))
9
- k.call(s, e) && N(p, e, s[e]);
10
- return p;
6
+ F.call(s, e) && N(f, e, s[e]);
7
+ if (z)
8
+ for (var e of z(s))
9
+ k.call(s, e) && N(f, e, s[e]);
10
+ return f;
11
11
  };
12
- var R = (p, s, e) => (N(p, typeof s != "symbol" ? s + "" : s, e), e);
12
+ var R = (f, s, e) => (N(f, typeof s != "symbol" ? s + "" : s, e), e);
13
13
  import { CURSOR_NOT_ALLOW_URL as U } from "../shared-utils/three/PointSelector/utils/contents.js";
14
- import * as n from "three";
14
+ import * as i from "three";
15
15
  import { PointSelector as B } from "../shared-utils/three/PointSelector/index.js";
16
16
  import { getRaycasterByNdcPosition as Y } from "../shared-utils/five/getRaycasterByNdcPosition.js";
17
- const T = new n.Vector3(), I = new n.Vector3(), E = new n.Vector3(), v = new n.Vector3(), K = 4, W = 0.6, q = 60;
18
- function O(p) {
19
- const { rayOrigin: s, rayDirection: e, line: t, clampToLine: y } = p;
17
+ const T = new i.Vector3(), I = new i.Vector3(), v = new i.Vector3(), E = new i.Vector3(), K = 4, W = 0.6, q = 60;
18
+ function C(f) {
19
+ const { rayOrigin: s, rayDirection: e, line: t, clampToLine: m } = f;
20
20
  T.subVectors(t.end, t.start);
21
- const d = T.lengthSq();
22
- if (d < 1e-12)
21
+ const l = T.lengthSq();
22
+ if (l < 1e-12)
23
23
  return 0;
24
24
  I.subVectors(s, t.start);
25
- const a = e.dot(T), m = e.dot(I), f = T.dot(I), b = d - a * a;
25
+ const a = e.dot(T), P = e.dot(I), y = T.dot(I), b = l - a * a;
26
26
  let h;
27
27
  if (b < 1e-9) {
28
- const P = new n.Vector3().subVectors(t.start, s).cross(e).length(), c = new n.Vector3().subVectors(t.end, s).cross(e).length();
29
- h = P <= c ? 0 : 1;
28
+ const d = new i.Vector3().subVectors(t.start, s).cross(e).length(), c = new i.Vector3().subVectors(t.end, s).cross(e).length();
29
+ h = d <= c ? 0 : 1;
30
30
  } else
31
- h = (f - a * m) / b;
32
- return y ? Math.min(1, Math.max(0, h)) : h;
31
+ h = (y - a * P) / b;
32
+ return m ? Math.min(1, Math.max(0, h)) : h;
33
33
  }
34
34
  class Z extends B {
35
35
  constructor() {
@@ -62,33 +62,33 @@ class Z extends B {
62
62
  this.adhereEnabled = !0, this.clearDynamicAdhereLine();
63
63
  });
64
64
  R(this, "updatePointSelectorHelperIntersect", (e) => {
65
- var y, d, a, m, f, b, h, P;
65
+ var m, l, a, P, y, b, h, d;
66
66
  if (!e) {
67
67
  this.dynamicAdhereLine = null, this.pointSelectorHelper.hide(), this.pointSelectorHelper.position = e, this.emit("intersectionUpdate", e), this.five.getElement().style.cursor = U;
68
68
  return;
69
69
  }
70
70
  this.onEnter(), this.cursorError || (this.five.getElement().style.cursor = "");
71
- const t = C({}, e);
71
+ const t = j({}, e);
72
72
  if (this.adhereEnabled && this.mouseNdcPosition && this.five.renderer && typeof this.adhereRadius == "number") {
73
73
  const c = {
74
74
  x: this.mouseNdcPosition.x,
75
75
  y: 1 - this.mouseNdcPosition.y
76
- }, w = this.five.renderer.getSize(new n.Vector2()), g = (d = (y = this.adhereLineProvider) == null ? void 0 : y.call(this, { intersection: e, pointSelector: this })) != null ? d : [];
76
+ }, w = this.five.renderer.getSize(new i.Vector2()), g = (l = (m = this.adhereLineProvider) == null ? void 0 : m.call(this, { intersection: e, pointSelector: this })) != null ? l : [];
77
77
  if (typeof this.adherePoints == "function" || this.adherePlane.length > 0 || this.adhereLine.length > 0 || g.length > 0 || this.dynamicAdhereLine !== null) {
78
- for (const i of this.adherePlane) {
79
- const o = i.distanceToPoint(e.point);
80
- let L = i.projectPoint(e.point, new n.Vector3());
81
- (!this.plane || this.plane.distanceToPoint(L) < 0.01) && (L = (m = (a = this.plane) == null ? void 0 : a.projectPoint(L, new n.Vector3())) != null ? m : L, o < this.adhereRadius && (t.point = L.clone(), t.adherePoint = L.clone(), this.plane || (t.face = new n.Face3(0, 0, 0, i.normal.clone())), t.isAdsorbed = !0));
78
+ for (const n of this.adherePlane) {
79
+ const o = n.distanceToPoint(e.point);
80
+ let L = n.projectPoint(e.point, new i.Vector3());
81
+ (!this.plane || this.plane.distanceToPoint(L) < 0.01) && (L = (P = (a = this.plane) == null ? void 0 : a.projectPoint(L, new i.Vector3())) != null ? P : L, o < this.adhereRadius && (t.point = L.clone(), t.adherePoint = L.clone(), this.plane || (t.face = new i.Face3(0, 0, 0, n.normal.clone())), t.isAdsorbed = !0));
82
82
  }
83
- for (const i of this.adhereLine) {
83
+ for (const n of this.adhereLine) {
84
84
  const o = this.getLineAdhereResult({
85
- adhereLine: i,
85
+ adhereLine: n,
86
86
  point: e.point,
87
87
  clampToLine: !1,
88
88
  mouseNdcPosition: c,
89
89
  size: w
90
90
  });
91
- o && (t.point = o.point, t.adhereLine = i.clone(), t.isAdsorbed = !0);
91
+ o && (t.point = o.point, t.adhereLine = n.clone(), t.isAdsorbed = !0);
92
92
  }
93
93
  const A = this.getBestDynamicAdhereResult({
94
94
  lines: g,
@@ -97,36 +97,36 @@ class Z extends B {
97
97
  size: w
98
98
  });
99
99
  A && (t.point = A.point, t.adhereLine = A.line.clone(), t.isAdsorbed = !0);
100
- for (const i of (b = (f = this.adherePoints) == null ? void 0 : f.call(this, { intersection: e, pointSelectorInstance: this })) != null ? b : []) {
101
- const o = i instanceof n.Face3 ? new n.Vector3(i.a, i.b, i.c) : i;
102
- if (o.IsAlwaysVisible = i.IsAlwaysVisible, this.plane && this.plane.distanceToPoint(o) > 0.01)
100
+ for (const n of (b = (y = this.adherePoints) == null ? void 0 : y.call(this, { intersection: e, pointSelectorInstance: this })) != null ? b : []) {
101
+ const o = n instanceof i.Face3 ? new i.Vector3(n.a, n.b, n.c) : n;
102
+ if (o.IsAlwaysVisible = n.IsAlwaysVisible, this.plane && this.plane.distanceToPoint(o) > 0.01)
103
103
  continue;
104
104
  if (o.distanceTo(e.point) < this.adhereRadius) {
105
- t.point = (P = (h = this.plane) == null ? void 0 : h.projectPoint(o, new n.Vector3())) != null ? P : o.clone(), !this.plane && i instanceof n.Face3 && (t.face = i), t.isAdsorbed = !0;
105
+ t.point = (d = (h = this.plane) == null ? void 0 : h.projectPoint(o, new i.Vector3())) != null ? d : o.clone(), !this.plane && n instanceof i.Face3 && (t.face = n), t.isAdsorbed = !0;
106
106
  break;
107
107
  } else {
108
108
  const r = o.clone().project(this.five.camera);
109
109
  if (r.z > 1)
110
110
  continue;
111
- const u = this.five.renderer.getSize(new n.Vector2()), D = {
111
+ const p = this.five.renderer.getSize(new i.Vector2()), D = {
112
112
  x: (r.x + 1) / 2,
113
113
  y: (1 - r.y) / 2
114
114
  }, V = {
115
- x: Math.abs(D.x - c.x) * u.width,
116
- y: Math.abs(D.y - c.y) * u.height
115
+ x: Math.abs(D.x - c.x) * p.width,
116
+ y: Math.abs(D.y - c.y) * p.height
117
117
  };
118
118
  if (V.x < 10 && V.y < 10) {
119
- let S = !1;
119
+ let x = !1;
120
120
  if (o.IsAlwaysVisible)
121
- S = !0;
121
+ x = !0;
122
122
  else {
123
- const M = new n.Raycaster();
123
+ const M = new i.Raycaster();
124
124
  M.setFromCamera(o.clone(), this.five.camera);
125
- const x = this.five.model.intersectRaycaster(M)[0], _ = 0.1, z = this.five.camera.position.distanceTo(o);
126
- x && x.distance < z + _ && (S = !0);
125
+ const S = this.five.model.intersectRaycaster(M)[0], _ = 0.1, O = this.five.camera.position.distanceTo(o);
126
+ S && S.distance < O + _ && (x = !0);
127
127
  }
128
- if (S) {
129
- t.point = o.clone(), !this.plane && i instanceof n.Face3 && (t.face = i), t.isAdsorbed = !0;
128
+ if (x) {
129
+ t.point = o.clone(), !this.plane && n instanceof i.Face3 && (t.face = n), t.isAdsorbed = !0;
130
130
  break;
131
131
  }
132
132
  }
@@ -158,27 +158,27 @@ class Z extends B {
158
158
  * @description 计算一条静态吸附线的吸附结果(3D 距离优先,其次屏幕距离)
159
159
  */
160
160
  getLineAdhereResult(e) {
161
- var w, g, l, A;
162
- const { adhereLine: t, point: y, clampToLine: d, mouseNdcPosition: a, size: m } = e, f = t.closestPointToPoint(y, d, new n.Vector3());
163
- if (f.distanceTo(y) < this.adhereRadius)
164
- return this.plane && Math.abs(this.plane.distanceToPoint(f)) > 0.01 ? null : { point: (g = (w = this.plane) == null ? void 0 : w.projectPoint(f, new n.Vector3())) != null ? g : f };
165
- const b = y.clone().sub(this.five.camera.position).normalize(), h = new n.Vector3().lerpVectors(
161
+ var w, g, u, A;
162
+ const { adhereLine: t, point: m, clampToLine: l, mouseNdcPosition: a, size: P } = e, y = t.closestPointToPoint(m, l, new i.Vector3());
163
+ if (y.distanceTo(m) < this.adhereRadius)
164
+ return this.plane && Math.abs(this.plane.distanceToPoint(y)) > 0.01 ? null : { point: (g = (w = this.plane) == null ? void 0 : w.projectPoint(y, new i.Vector3())) != null ? g : y };
165
+ const b = m.clone().sub(this.five.camera.position).normalize(), h = new i.Vector3().lerpVectors(
166
166
  t.start,
167
167
  t.end,
168
- O({
168
+ C({
169
169
  rayOrigin: this.five.camera.position,
170
170
  rayDirection: b,
171
171
  line: t,
172
- clampToLine: d
172
+ clampToLine: l
173
173
  })
174
- ), P = h.clone().project(this.five.camera);
175
- if (P.z > 1)
174
+ ), d = h.clone().project(this.five.camera);
175
+ if (![d.x, d.y, d.z].every(Number.isFinite) || d.z < -1 || d.z > 1)
176
176
  return null;
177
177
  const c = {
178
- x: Math.abs((P.x + 1) / 2 - a.x) * m.width,
179
- y: Math.abs((1 - P.y) / 2 - a.y) * m.height
178
+ x: Math.abs((d.x + 1) / 2 - a.x) * P.width,
179
+ y: Math.abs((1 - d.y) / 2 - a.y) * P.height
180
180
  };
181
- return c.x >= 10 || c.y >= 10 || this.plane && Math.abs(this.plane.distanceToPoint(h)) > 0.01 ? null : { point: (A = (l = this.plane) == null ? void 0 : l.projectPoint(h, new n.Vector3())) != null ? A : h };
181
+ return c.x >= 10 || c.y >= 10 || this.plane && Math.abs(this.plane.distanceToPoint(h)) > 0.01 ? null : { point: (A = (u = this.plane) == null ? void 0 : u.projectPoint(h, new i.Vector3())) != null ? A : h };
182
182
  }
183
183
  /**
184
184
  * @description 在动态吸附线(模型边)中选出屏幕上离光标最近的一条。
@@ -190,47 +190,47 @@ class Z extends B {
190
190
  */
191
191
  getBestDynamicAdhereResult(e) {
192
192
  var o, L;
193
- const { lines: t, point: y, mouseNdcPosition: d, size: a } = e;
193
+ const { lines: t, point: m, mouseNdcPosition: l, size: a } = e;
194
194
  if (t.length === 0 && !this.dynamicAdhereLine)
195
195
  return this.dynamicAdhereLine = null, null;
196
- const m = Y(this.five, { x: d.x, y: 1 - d.y }), f = m.ray.origin, b = m.ray.direction, h = d.x * a.width, P = d.y * a.height, c = [], w = (r, u) => {
197
- const D = O({ rayOrigin: f, rayDirection: b, line: r, clampToLine: !0 });
198
- E.lerpVectors(r.start, r.end, D);
199
- const V = E.distanceTo(y);
200
- if (V > this.dynamicAdhereMaxDistance || this.plane && Math.abs(this.plane.distanceToPoint(E)) > 0.01 || (v.copy(E).project(this.five.camera), v.z > 1))
196
+ const P = Y(this.five, { x: l.x, y: 1 - l.y }), y = P.ray.origin, b = P.ray.direction, h = l.x * a.width, d = l.y * a.height, c = [], w = (r, p) => {
197
+ const D = C({ rayOrigin: y, rayDirection: b, line: r, clampToLine: !0 });
198
+ v.lerpVectors(r.start, r.end, D);
199
+ const V = v.distanceTo(m);
200
+ if (V > this.dynamicAdhereMaxDistance || this.plane && Math.abs(this.plane.distanceToPoint(v)) > 0.01 || (E.copy(v).project(this.five.camera), E.z > 1))
201
201
  return null;
202
- const S = Math.hypot(
203
- (v.x + 1) / 2 * a.width - h,
204
- (1 - v.y) / 2 * a.height - P
205
- ), x = 1 - 0.6 * (this.dynamicAdhereMaxDistance > 0 ? Math.min(1, V / this.dynamicAdhereMaxDistance) : 0), _ = (u ? this.dynamicAdhereKeepScreenRadius : this.dynamicAdhereScreenRadius) * x;
206
- return S > _ ? null : { line: r, t: D, screenDistance: S, depthDistance: V, isSticky: u };
202
+ const x = Math.hypot(
203
+ (E.x + 1) / 2 * a.width - h,
204
+ (1 - E.y) / 2 * a.height - d
205
+ ), S = 1 - 0.6 * (this.dynamicAdhereMaxDistance > 0 ? Math.min(1, V / this.dynamicAdhereMaxDistance) : 0), _ = (p ? this.dynamicAdhereKeepScreenRadius : this.dynamicAdhereScreenRadius) * S;
206
+ return x > _ ? null : { line: r, t: D, screenDistance: x, depthDistance: V, isSticky: p };
207
207
  }, g = this.dynamicAdhereLine;
208
208
  if (g) {
209
209
  const r = w(g, !0);
210
210
  r && c.push(r);
211
211
  }
212
212
  for (const r of t) {
213
- const u = w(r, !1);
214
- u && c.push(u);
213
+ const p = w(r, !1);
214
+ p && c.push(p);
215
215
  }
216
216
  if (c.length === 0)
217
217
  return this.dynamicAdhereLine = null, null;
218
- let l = null;
218
+ let u = null;
219
219
  const A = c.find((r) => r.isSticky);
220
- if (A && A.screenDistance <= this.dynamicAdhereScreenRadius * W && (l = A), !l) {
220
+ if (A && A.screenDistance <= this.dynamicAdhereScreenRadius * W && (u = A), !u) {
221
221
  let r = 1 / 0;
222
- for (const u of c) {
223
- const D = u.screenDistance + u.depthDistance * q - (u.isSticky ? K : 0);
224
- D < r && (r = D, l = u);
222
+ for (const p of c) {
223
+ const D = p.screenDistance + p.depthDistance * q - (p.isSticky ? K : 0);
224
+ D < r && (r = D, u = p);
225
225
  }
226
226
  }
227
- if (!l)
227
+ if (!u)
228
228
  return this.dynamicAdhereLine = null, null;
229
- this.dynamicAdhereLine = l.line.clone();
230
- const i = new n.Vector3().lerpVectors(l.line.start, l.line.end, l.t);
229
+ this.dynamicAdhereLine = u.line.clone();
230
+ const n = new i.Vector3().lerpVectors(u.line.start, u.line.end, u.t);
231
231
  return {
232
- line: l.line,
233
- point: (L = (o = this.plane) == null ? void 0 : o.projectPoint(i, new n.Vector3())) != null ? L : i
232
+ line: u.line,
233
+ point: (L = (o = this.plane) == null ? void 0 : o.projectPoint(n, new i.Vector3())) != null ? L : n
234
234
  };
235
235
  }
236
236
  }
@@ -50,6 +50,8 @@ export default class BaseController {
50
50
  protected get currentMeasureType(): MeasureType;
51
51
  private getMeasureType;
52
52
  constructor(params: ControllerParams);
53
+ /** 同步当前模式使用的放大镜用户开关。 */
54
+ setMagnifierEnabled(enabled: boolean): void;
53
55
  updateDistanceUI: () => void;
54
56
  updateAreaUI: () => void;
55
57
  protected removeLine(line: Line): void;
@@ -65,6 +65,10 @@ class V {
65
65
  get currentMeasureType() {
66
66
  return this.getMeasureType();
67
67
  }
68
+ /** 同步当前模式使用的放大镜用户开关。 */
69
+ setMagnifierEnabled(e) {
70
+ this.magnifier.setUserEnabled(e);
71
+ }
68
72
  removeLine(e) {
69
73
  this.group.remove(e.mesh, e.lightMesh), e.distanceItem.remove(), this.five.needsRender = !0;
70
74
  }
@@ -1,4 +1,5 @@
1
1
  import Line from '../Model/line';
2
+ import Point from '../Model/point';
2
3
  import BaseController from './BaseController';
3
4
  import type { ControllerParams } from './BaseController';
4
5
  import { Polyline } from '../Model/polyline';
@@ -11,13 +12,16 @@ export default class EditController extends BaseController {
11
12
  private hasAppendDashed;
12
13
  private fiveElement?;
13
14
  /** 上一个端点位置 */
14
- private lastPoint;
15
+ protected lastPoint: Point | null;
15
16
  protected pointSelector: PointSelector;
16
17
  private deleteDom;
17
18
  /** 根据 intersection 更新放大镜和吸附点 */
18
19
  private onIntersectionUpdate;
19
20
  constructor(params: ControllerParams);
21
+ /** Drop only the unfinished drawing; keep imported and already completed rulers. */
22
+ protected discardCurrentDrawing(): void;
20
23
  protected createPointSelector(_params: ControllerParams): PointSelector;
24
+ setMagnifierEnabled(enabled: boolean): void;
21
25
  protected disposeMagnifier(): void;
22
26
  dispose(): void;
23
27
  getEditingLines(): Line[];
@@ -35,7 +39,7 @@ export default class EditController extends BaseController {
35
39
  complete(): void;
36
40
  private checkMouseLeave;
37
41
  /** 编辑线条发生改变时通知外部 */
38
- private onLineChanged;
42
+ protected onLineChanged: () => void;
39
43
  private onWantsSelect;
40
44
  private wantsMoveToPano;
41
45
  /**