@realsee/dnalogel 3.64.10-alpha.1 → 3.64.10-alpha.2
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.
- package/dist/Sculpt/Meshes/Polygon.d.ts +3 -1
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +2 -1
- package/dist/index.cjs.js +59 -59
- package/dist/index.js +4820 -4903
- package/dist/index.umd.js +47 -47
- package/dist/shared-utils/three/CSS3DRenderer/index.d.ts +4 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +3 -3
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/ModelMakerPlugin/Controller.js +15 -17
- package/libs/ModelMakerPlugin/index.js +3 -5
- package/libs/Sculpt/Meshes/Polygon.d.ts +3 -1
- package/libs/Sculpt/Meshes/Polygon.js +41 -42
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +2 -1
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +18 -18
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +146 -149
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/CSS3DRenderer/index.d.ts +4 -3
- package/libs/shared-utils/three/earcut3D.js +1 -1
- package/libs/shared-utils/three/generatePolygonGeometry.js +1 -4
- package/package.json +1 -1
- package/dist/Sculpt/Meshes/Polyhedron.d.ts +0 -26
- package/dist/Sculpt/Meshes/PolyhedronWithEdge.d.ts +0 -31
- package/dist/shared-utils/three/generatePolyhedronGeometry.d.ts +0 -7
- package/libs/Sculpt/Meshes/Polyhedron.d.ts +0 -26
- package/libs/Sculpt/Meshes/Polyhedron.js +0 -49
- package/libs/Sculpt/Meshes/PolyhedronWithEdge.d.ts +0 -31
- package/libs/Sculpt/Meshes/PolyhedronWithEdge.js +0 -66
- package/libs/shared-utils/three/generatePolyhedronGeometry.d.ts +0 -7
- package/libs/shared-utils/three/generatePolyhedronGeometry.js +0 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
1
|
+
var W = Object.defineProperty;
|
|
2
2
|
var T = Object.getOwnPropertySymbols;
|
|
3
3
|
var P = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var b = (l, p, e) => p in l ?
|
|
4
|
+
var b = (l, p, e) => p in l ? W(l, p, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[p] = e, E = (l, p) => {
|
|
5
5
|
for (var e in p || (p = {}))
|
|
6
6
|
P.call(p, e) && b(l, e, p[e]);
|
|
7
7
|
if (T)
|
|
@@ -31,7 +31,7 @@ import * as d from "three";
|
|
|
31
31
|
import { ModelMakerBoxItem as j } from "./item/boxItem.js";
|
|
32
32
|
import { PrismMesh as F } from "../Sculpt/Meshes/Prism.js";
|
|
33
33
|
import { anyPositionToVector3 as L } from "../shared-utils/positionToVector3.js";
|
|
34
|
-
import {
|
|
34
|
+
import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
35
35
|
import "../shared-utils/tag.js";
|
|
36
36
|
import "../vendor/hammerjs/hammer.js";
|
|
37
37
|
import "../shared-utils/three/PointSelector/index.js";
|
|
@@ -39,9 +39,9 @@ import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
|
39
39
|
import { waitFiveModelLoaded as H } from "../shared-utils/five/fiveModelLoad.js";
|
|
40
40
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
41
41
|
import "@realsee/five/line";
|
|
42
|
-
import { notNil as
|
|
42
|
+
import { notNil as g } from "../shared-utils/isNil.js";
|
|
43
43
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
44
|
-
import { boxVertex as
|
|
44
|
+
import { boxVertex as y } from "../shared-utils/three/boundingBox.js";
|
|
45
45
|
import "../vendor/animejs/lib/anime.es.js";
|
|
46
46
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
47
47
|
import "../shared-utils/five/FivePuppet.js";
|
|
@@ -88,11 +88,9 @@ import "../Sculpt/Meshes/Polyline.js";
|
|
|
88
88
|
import "../Sculpt/Meshes/LineWithDots.js";
|
|
89
89
|
import "../Sculpt/Meshes/Point.js";
|
|
90
90
|
import "../shared-utils/three/closeVectors.js";
|
|
91
|
-
import "../Sculpt/Meshes/Polyhedron.js";
|
|
92
91
|
import "../Sculpt/Meshes/Polygon.js";
|
|
93
92
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
94
93
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
95
|
-
import "../shared-utils/three/generatePolyhedronGeometry.js";
|
|
96
94
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
97
95
|
import "../shared-utils/three/temp.js";
|
|
98
96
|
import "../shared-utils/dom/resizeObserver.js";
|
|
@@ -124,7 +122,7 @@ import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
|
124
122
|
import "../shared-utils/math/rad2Deg.js";
|
|
125
123
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
126
124
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
127
|
-
class
|
|
125
|
+
class St extends D {
|
|
128
126
|
constructor(e, s) {
|
|
129
127
|
var a, i;
|
|
130
128
|
super(e);
|
|
@@ -207,7 +205,7 @@ class jt extends D {
|
|
|
207
205
|
var n;
|
|
208
206
|
if (i.type === "triangles") {
|
|
209
207
|
const o = new A();
|
|
210
|
-
|
|
208
|
+
g(i.id) && (o.uuid = i.id.toString()), o.setPoints(i.object_data.points, { checkLinesIntersect: !1 }), o.setStyle(s(i)), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
|
|
211
209
|
const t = new B({
|
|
212
210
|
five: this.five,
|
|
213
211
|
tagWrapper: this.tagWrapper,
|
|
@@ -219,7 +217,7 @@ class jt extends D {
|
|
|
219
217
|
this.items.push(t);
|
|
220
218
|
} else if (i.type === "prism") {
|
|
221
219
|
const o = new F();
|
|
222
|
-
|
|
220
|
+
g(i.id) && (o.uuid = i.id.toString()), this.zFightingOffset += Q.Z_FIGHTING_OFFSET;
|
|
223
221
|
const t = i.object_data.points.map((m) => {
|
|
224
222
|
var v;
|
|
225
223
|
return [m[0], m[1] + ((v = i.object_data.fixedY) != null ? v : 0), m[2]];
|
|
@@ -238,13 +236,13 @@ class jt extends D {
|
|
|
238
236
|
this.items.push(u);
|
|
239
237
|
} else if (i.type === "box") {
|
|
240
238
|
const o = new F();
|
|
241
|
-
|
|
239
|
+
g(i.id) && (o.uuid = i.id.toString());
|
|
242
240
|
const { start: t, end: r, rotation: c = [0, 0, 0, 0] } = i.object_data, u = new d.Vector3().fromArray(t), m = new d.Vector3().fromArray(r), v = new d.Euler().fromArray(c), R = new d.Quaternion().setFromEuler(v), M = R.clone().inverse(), _ = new d.Vector3().lerpVectors(u, m, 0.5), C = _.clone().negate(), x = u.clone().add(C).applyQuaternion(M), V = m.clone().add(C).applyQuaternion(M), f = new d.Box3(x.clone().max(V), x.clone().min(V));
|
|
243
241
|
o.setPoints({
|
|
244
|
-
points: [
|
|
245
|
-
heightPoint:
|
|
242
|
+
points: [y(f, 2), y(f, 3), y(f, 7), y(f, 6)],
|
|
243
|
+
heightPoint: y(f, 1)
|
|
246
244
|
}), o.position.copy(_), o.quaternion.copy(R), o.setStyle(s(i));
|
|
247
|
-
const
|
|
245
|
+
const k = new j({
|
|
248
246
|
five: this.five,
|
|
249
247
|
tagWrapper: this.tagWrapper,
|
|
250
248
|
model: o,
|
|
@@ -252,13 +250,13 @@ class jt extends D {
|
|
|
252
250
|
type: i.type,
|
|
253
251
|
rawData: i
|
|
254
252
|
});
|
|
255
|
-
this.items.push(
|
|
253
|
+
this.items.push(k);
|
|
256
254
|
}
|
|
257
255
|
}), this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e), this.five.needsRender = !0;
|
|
258
256
|
});
|
|
259
257
|
}
|
|
260
258
|
setState(e) {
|
|
261
|
-
|
|
259
|
+
g(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), g(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
262
260
|
}
|
|
263
261
|
getItemById(e) {
|
|
264
262
|
return this.items.find((s) => s.rawData.id === e);
|
|
@@ -298,5 +296,5 @@ class jt extends D {
|
|
|
298
296
|
}
|
|
299
297
|
}
|
|
300
298
|
export {
|
|
301
|
-
|
|
299
|
+
St as Controller
|
|
302
300
|
};
|
|
@@ -77,16 +77,14 @@ import "../shared-utils/three/earcut3D.js";
|
|
|
77
77
|
import "../vendor/earcut/src/earcut.js";
|
|
78
78
|
import "../shared-utils/three/getNormal.js";
|
|
79
79
|
import "../shared-utils/three/geometryUtil.js";
|
|
80
|
-
import "../Sculpt/Meshes/
|
|
80
|
+
import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
81
81
|
import "../Sculpt/Meshes/Polyline.js";
|
|
82
82
|
import "../Sculpt/Meshes/LineWithDots.js";
|
|
83
83
|
import "../Sculpt/Meshes/Point.js";
|
|
84
84
|
import "../shared-utils/three/closeVectors.js";
|
|
85
|
-
import "../Sculpt/Meshes/Polyhedron.js";
|
|
86
85
|
import "../Sculpt/Meshes/Polygon.js";
|
|
87
86
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
88
87
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
89
|
-
import "../shared-utils/three/generatePolyhedronGeometry.js";
|
|
90
88
|
import "./utils/tagRenderer.js";
|
|
91
89
|
import "./utils/Text.js";
|
|
92
90
|
import "../vendor/svelte/internal/index.js";
|
|
@@ -97,7 +95,7 @@ import "./item/prismItem.js";
|
|
|
97
95
|
import "./item/polygonItem.js";
|
|
98
96
|
import "../CruisePlugin/utils/sleep.js";
|
|
99
97
|
import "../shared-utils/constants.js";
|
|
100
|
-
const
|
|
98
|
+
const Uo = (...o) => new r(...o);
|
|
101
99
|
export {
|
|
102
|
-
|
|
100
|
+
Uo as ModelMakerPlugin
|
|
103
101
|
};
|
|
@@ -37,7 +37,9 @@ export declare class PolygonMesh extends ColoredMesh<THREE.BufferGeometry> {
|
|
|
37
37
|
constructor(params?: Partial<PolygonStyle & PolygonData>);
|
|
38
38
|
updateMatrixWorld(force?: boolean): void;
|
|
39
39
|
setStyle(params: Partial<ColoredMeshStyle>): void;
|
|
40
|
-
setPoints(points: AnyPositions
|
|
40
|
+
setPoints(points: AnyPositions, config?: {
|
|
41
|
+
checkLinesIntersect?: boolean;
|
|
42
|
+
}): void;
|
|
41
43
|
/**
|
|
42
44
|
* @description: 获取一个点投影在当前平面上的点
|
|
43
45
|
*/
|
|
@@ -2,21 +2,21 @@ var g = Object.defineProperty, I = Object.defineProperties;
|
|
|
2
2
|
var D = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var y = Object.getOwnPropertySymbols;
|
|
4
4
|
var _ = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var p = (o, t, e) => t in o ? g(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, h = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
_.call(t, e) &&
|
|
7
|
+
_.call(t, e) && p(o, e, t[e]);
|
|
8
8
|
if (y)
|
|
9
9
|
for (var e of y(t))
|
|
10
|
-
H.call(t, e) &&
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var i = (
|
|
10
|
+
H.call(t, e) && p(o, e, t[e]);
|
|
11
|
+
return o;
|
|
12
|
+
}, u = (o, t) => I(o, D(t));
|
|
13
|
+
var i = (o, t, e) => (p(o, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
14
|
import * as a from "three";
|
|
15
15
|
import { generatePolygonGeometry as S } from "../../shared-utils/three/generatePolygonGeometry.js";
|
|
16
16
|
import { anyPositionToVector3 as b } from "../../shared-utils/positionToVector3.js";
|
|
17
17
|
import { ColoredMesh as v } from "../utils/three/ColoredMesh.js";
|
|
18
|
-
import { getGeometryInfo as
|
|
19
|
-
import { LightTag as
|
|
18
|
+
import { getGeometryInfo as k } from "../../shared-utils/three/geometryUtil.js";
|
|
19
|
+
import { LightTag as P } from "../../shared-utils/tag.js";
|
|
20
20
|
import { getLengthHTML as w } from "../utils/Meshes/getLengthHTML.js";
|
|
21
21
|
import { localToWorld as A } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
22
22
|
import "../../vendor/hammerjs/hammer.js";
|
|
@@ -26,15 +26,15 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
26
26
|
import "@realsee/five/line";
|
|
27
27
|
import { notNil as U } from "../../shared-utils/isNil.js";
|
|
28
28
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
29
|
-
import { transformUnitSquare as
|
|
30
|
-
import { RenderDom as
|
|
29
|
+
import { transformUnitSquare as L } from "../utils/unit.js";
|
|
30
|
+
import { RenderDom as m } from "../utils/renderDom.js";
|
|
31
31
|
import "../../shared-utils/three/core/Sphere.js";
|
|
32
32
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
33
33
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
34
34
|
import "../../shared-utils/five/FivePuppet.js";
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
const d = new a.BufferGeometry();
|
|
36
|
+
d.name = "blankGeometry";
|
|
37
|
+
d.isBlank = !0;
|
|
38
38
|
class Y extends v {
|
|
39
39
|
constructor(e) {
|
|
40
40
|
super(e);
|
|
@@ -61,16 +61,16 @@ class Y extends v {
|
|
|
61
61
|
this.areaDom && (this.areaDom.container.style.display = "none");
|
|
62
62
|
});
|
|
63
63
|
e != null && e.points && this.setPoints(e.points), this._paramsStyle = e != null ? e : {}, this.updateAreaItems(), this.addEventListener("removed", () => {
|
|
64
|
-
|
|
64
|
+
m.cacheObject.delete(this), m.checkDom(this);
|
|
65
65
|
}), this.addEventListener("added", () => {
|
|
66
|
-
|
|
67
|
-
}),
|
|
66
|
+
m.cacheObject.add(this);
|
|
67
|
+
}), m.checkDomEveryFrame();
|
|
68
68
|
}
|
|
69
69
|
get normal() {
|
|
70
70
|
return this.points.length >= 3 ? new a.Vector3().crossVectors(this.points[1].clone().sub(this.points[0]), this.points[2].clone().sub(this.points[0])).normalize() : new a.Vector3(0, 0, 1);
|
|
71
71
|
}
|
|
72
72
|
get style() {
|
|
73
|
-
return
|
|
73
|
+
return u(h({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
|
|
74
74
|
}
|
|
75
75
|
get isBlank() {
|
|
76
76
|
return !!this.geometry.isBlank;
|
|
@@ -80,28 +80,28 @@ class Y extends v {
|
|
|
80
80
|
return (e = this.geometryInfo) == null ? void 0 : e.center.clone();
|
|
81
81
|
}
|
|
82
82
|
get geometryInfo() {
|
|
83
|
-
return this.geometryInfoNeedUpdate && (this.isBlank ? this._geometryInfo = null : this._geometryInfo =
|
|
83
|
+
return this.geometryInfoNeedUpdate && (this.isBlank ? this._geometryInfo = null : this._geometryInfo = k(this.geometry), this.geometryInfoNeedUpdate = !1), this._geometryInfo;
|
|
84
84
|
}
|
|
85
85
|
get five() {
|
|
86
|
-
var e,
|
|
87
|
-
return (
|
|
86
|
+
var e, r;
|
|
87
|
+
return (r = (e = window.globalModules) == null ? void 0 : e.five) != null ? r : window.$five;
|
|
88
88
|
}
|
|
89
89
|
updateMatrixWorld(e) {
|
|
90
90
|
if (super.updateMatrixWorld(e), this.center) {
|
|
91
|
-
const
|
|
92
|
-
|
|
91
|
+
const r = A(this, this.center).toArray().join(",");
|
|
92
|
+
r !== this.lastRenderAreaItem && (this.updateAreaItems(), this.lastRenderAreaItem = r);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
setStyle(e) {
|
|
96
|
-
var
|
|
97
|
-
this._paramsStyle =
|
|
98
|
-
const
|
|
99
|
-
this.areaDom && (this.areaDom.intersectCheck = !
|
|
96
|
+
var n;
|
|
97
|
+
this._paramsStyle = h(h({}, this._paramsStyle), e), super.setStyle(this._paramsStyle);
|
|
98
|
+
const r = (n = this._paramsStyle.occlusionVisibility) != null ? n : !0;
|
|
99
|
+
this.areaDom && (this.areaDom.intersectCheck = !r), this.updateAreaItems();
|
|
100
100
|
}
|
|
101
|
-
setPoints(e) {
|
|
102
|
-
var s;
|
|
103
|
-
const
|
|
104
|
-
this.points =
|
|
101
|
+
setPoints(e, r) {
|
|
102
|
+
var l, s;
|
|
103
|
+
const n = e.map(b);
|
|
104
|
+
this.points = n, this.geometry = (s = S(this.points, { checkLinesIntersect: (l = r == null ? void 0 : r.checkLinesIntersect) != null ? l : !0 })) != null ? s : d, this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0, this.updateAreaItems();
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* @description: 获取一个点投影在当前平面上的点
|
|
@@ -113,27 +113,26 @@ class Y extends v {
|
|
|
113
113
|
this.points.length >= 3 ? this.planeHelper = new a.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.planeHelper = null, this.planeHelperNeedUpdate = !1;
|
|
114
114
|
}
|
|
115
115
|
updateAreaItems() {
|
|
116
|
-
var
|
|
116
|
+
var n, l;
|
|
117
117
|
const e = () => {
|
|
118
|
-
var
|
|
119
|
-
(
|
|
118
|
+
var s;
|
|
119
|
+
(s = this.areaDom) == null || s.destroy(), this.areaDom = void 0;
|
|
120
120
|
};
|
|
121
121
|
if (!this._paramsStyle.lengthEnable || !this.geometryInfo)
|
|
122
122
|
return e();
|
|
123
123
|
if (!this.five)
|
|
124
124
|
return console.error("Five not found");
|
|
125
|
-
this.areaDom = (
|
|
126
|
-
var
|
|
127
|
-
const
|
|
128
|
-
return
|
|
125
|
+
this.areaDom = (n = this.areaDom) != null ? n : (() => {
|
|
126
|
+
var c;
|
|
127
|
+
const s = new P(this.five), f = (c = this._paramsStyle.occlusionVisibility) != null ? c : !0;
|
|
128
|
+
return s.intersectCheck = !f, s.simulate3D = !0, s;
|
|
129
129
|
})(), this.areaDom.setPosition(this.center);
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
style: `color: #${U((
|
|
130
|
+
const r = L(this.geometryInfo.area, this._paramsStyle.lengthUnit);
|
|
131
|
+
r ? this.areaDom.container.innerHTML = w(r, {
|
|
132
|
+
style: `color: #${U((l = this.style) == null ? void 0 : l.color) ? new a.Color(this.style.color).getHexString() : "000000"}`
|
|
133
133
|
}) : this.areaDom.container.innerHTML = "";
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
export {
|
|
137
|
-
Y as PolygonMesh
|
|
138
|
-
p as blankGeometry
|
|
137
|
+
Y as PolygonMesh
|
|
139
138
|
};
|
|
@@ -24,7 +24,8 @@ export declare class PolygonWithEdgeMesh extends PolygonMesh {
|
|
|
24
24
|
constructor(params?: Partial<PolygonWithEdgeMeshStyle & PolygonData>);
|
|
25
25
|
raycast(raycaster: THREE.Raycaster, intersects: THREE.Intersection[]): boolean;
|
|
26
26
|
setPoints(points: AnyPositions, params?: {
|
|
27
|
-
closed
|
|
27
|
+
closed?: boolean;
|
|
28
|
+
checkLinesIntersect?: boolean;
|
|
28
29
|
}): void;
|
|
29
30
|
setStyle(style: Partial<PolygonWithEdgeMeshStyle>): void;
|
|
30
31
|
highlight(): void;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
var f = Object.defineProperty, p = Object.defineProperties;
|
|
2
2
|
var P = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var l = Object.getOwnPropertySymbols;
|
|
4
|
+
var u = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var o = (i, e, t) => e in i ? f(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, n = (i, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
|
|
7
|
+
u.call(e, t) && o(i, t, e[t]);
|
|
8
|
+
if (l)
|
|
9
|
+
for (var t of l(e))
|
|
10
|
+
d.call(e, t) && o(i, t, e[t]);
|
|
11
11
|
return i;
|
|
12
12
|
}, y = (i, e) => p(i, P(e));
|
|
13
13
|
var c = (i, e) => {
|
|
14
14
|
var t = {};
|
|
15
15
|
for (var s in i)
|
|
16
|
-
|
|
17
|
-
if (i != null &&
|
|
18
|
-
for (var s of
|
|
19
|
-
e.indexOf(s) < 0 &&
|
|
16
|
+
u.call(i, s) && e.indexOf(s) < 0 && (t[s] = i[s]);
|
|
17
|
+
if (i != null && l)
|
|
18
|
+
for (var s of l(i))
|
|
19
|
+
e.indexOf(s) < 0 && d.call(i, s) && (t[s] = i[s]);
|
|
20
20
|
return t;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var r = (i, e, t) => (o(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
23
23
|
import { PolylineMesh as W } from "./Polyline.js";
|
|
24
24
|
import { PolygonMesh as C } from "./Polygon.js";
|
|
25
25
|
import { intersectWithoutLine as E } from "../../shared-utils/three/core/Raycaster.js";
|
|
26
26
|
class w extends C {
|
|
27
27
|
constructor(t) {
|
|
28
|
-
const
|
|
28
|
+
const g = t != null ? t : {}, { points: s } = g, h = c(g, ["points"]);
|
|
29
29
|
super();
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
r(this, "name", "PolygonWithEdgeMesh");
|
|
31
|
+
r(this, "line", new W());
|
|
32
32
|
s && this.setPoints(s), h && this.setStyle(h);
|
|
33
33
|
}
|
|
34
34
|
get style() {
|
|
35
|
-
return y(
|
|
35
|
+
return y(n({}, super.style), {
|
|
36
36
|
lineWidth: this.lineWidth,
|
|
37
37
|
lineColor: this.lineColor
|
|
38
38
|
});
|
|
@@ -48,8 +48,8 @@ class w extends C {
|
|
|
48
48
|
E(h, t, s, !0);
|
|
49
49
|
}), !1;
|
|
50
50
|
}
|
|
51
|
-
setPoints(t, s
|
|
52
|
-
super.setPoints(t), this.points && (this.line.setPoints(this.points, s), this.addIfNotExists(this.line));
|
|
51
|
+
setPoints(t, s) {
|
|
52
|
+
super.setPoints(t, n({ closed: !0 }, s)), this.points && (this.line.setPoints(this.points, n({ closed: !0 }, s)), this.addIfNotExists(this.line));
|
|
53
53
|
}
|
|
54
54
|
setStyle(t) {
|
|
55
55
|
super.setStyle(t), this.line.setStyle(t);
|