@realsee/dnalogel 3.76.1-alpha.1 → 3.76.1-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/floorplan/MapviewFloorplanPlugin/Controller.d.ts +6 -0
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +6 -0
- package/dist/index.cjs.js +89 -89
- package/dist/index.js +19383 -19329
- package/dist/index.umd.js +81 -81
- 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/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.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.LegacyPointHelper.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.PointDomHelper.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 +2 -2
- 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/FloorplanGuidePlugin.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/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.blinkWithPreset.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.cleanup.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.generatePolygonGeometry.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.getGeometryArea.html +1 -1
- package/docs/functions/Util.getGeometryInfo.html +1 -1
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.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.replaceStaticPrefix.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.sculpt.transformUnit.html +1 -1
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.triangleArea.html +2 -2
- package/docs/functions/Util.triangleCenter.html +2 -2
- 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/functions/validatePolygon.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/BoxAnimationConfig.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.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.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/ModelMakerPluginType.TrianglesItemObjectData.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/SculptConfig.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/TagIconAnimationConfig.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.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.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.ObjectInitialState.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/FloorplanGuidePluginParameterType.html +1 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
- 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/MeasureEndReason.html +1 -1
- package/docs/types/MeasurePluginConfig.html +2 -2
- package/docs/types/MeasurePluginEventMap.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 +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- 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/TagPlacement.html +2 -2
- 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/Util.SupportedTarget.html +2 -2
- package/docs/types/Util.Target.html +2 -2
- package/docs/types/Util.ThreeObject.html +2 -2
- 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.ANIME_PRESETS.html +2 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
- 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/AreaMakerPlugin/Controller.js +3 -4
- package/libs/AreaMakerPlugin/index.js +3 -4
- package/libs/AreaMakerPlugin/utils/Item.js +3 -4
- package/libs/CSS3DRenderPlugin/Controller.js +3 -4
- package/libs/CSS3DRenderPlugin/index.js +6 -7
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -40
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -11
- package/libs/CruisePlugin/BaseController.js +6 -7
- package/libs/CruisePlugin/Move.js +45 -45
- package/libs/CruisePlugin/Work.js +51 -51
- package/libs/CruisePlugin/index.js +43 -43
- package/libs/CurrentPanoImagePlugin/Controller.js +15 -16
- package/libs/CurrentPanoImagePlugin/index.js +4 -5
- package/libs/DigitalPerformancePlugin/controller/index.js +1 -1
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +2 -3
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +1 -1
- package/libs/DigitalPerformancePlugin/index.js +1 -1
- package/libs/DigitalPerformancePlugin/typings/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +49 -49
- package/libs/GuideLinePlugin/GuideLineItem.js +45 -45
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +11 -12
- package/libs/GuideLinePlugin/GuideLineModeItem.js +45 -45
- package/libs/GuideLinePlugin/index.js +41 -41
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +3 -4
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -3
- package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -3
- package/libs/ItemLabelPlugin/Plugin.js +3 -4
- package/libs/ItemLabelPlugin/index.js +4 -5
- package/libs/MeasurePlugin/Controller.js +3 -4
- package/libs/MeasurePlugin/index.js +5 -6
- package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -4
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -5
- package/libs/ModelChassisCompassPlugin/index.js +1 -2
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -7
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -2
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +36 -37
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +18 -19
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +14 -15
- package/libs/ModelItemLabelPlugin/index.js +4 -5
- package/libs/ModelMakerPlugin/Controller.js +7 -8
- package/libs/ModelMakerPlugin/index.js +4 -5
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -4
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -4
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -4
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -4
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -5
- package/libs/ModelTVVideoPlugin/index.js +3 -4
- package/libs/ModelViewPlugin/Plugin.js +19 -20
- package/libs/ModelViewPlugin/index.js +0 -1
- package/libs/Object3DHelperPlugin/Controller.js +3 -4
- package/libs/Object3DHelperPlugin/index.js +7 -8
- package/libs/PanoCompassPlugin/Controller.js +2 -3
- package/libs/PanoCompassPlugin/index.js +3 -4
- package/libs/PanoDoorLabelPlugin/Controller.js +24 -25
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +2 -3
- package/libs/PanoDoorLabelPlugin/index.js +4 -5
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -4
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -4
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -4
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -4
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +7 -8
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -4
- package/libs/PanoMeasurePlugin/Model/area.js +2 -3
- package/libs/PanoMeasurePlugin/Model/index.js +1 -1
- package/libs/PanoMeasurePlugin/Model/line.js +1 -1
- package/libs/PanoMeasurePlugin/Model/polygon.js +8 -9
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -17
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +2 -3
- package/libs/PanoMeasurePlugin/index.js +14 -15
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -4
- package/libs/PanoRulerProPlugin/Controller.js +2 -3
- package/libs/PanoRulerProPlugin/RulerItems.js +41 -42
- package/libs/PanoRulerProPlugin/index.js +3 -4
- package/libs/PanoSpatialTagPlugin/Plugin.js +33 -34
- package/libs/PanoSpatialTagPlugin/index.js +0 -1
- package/libs/PanoTagPlugin/Components/Common/Icon/animationUtils.js +7 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -4
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -4
- package/libs/PanoTagPlugin/Components/Tag/index.js +28 -29
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +9 -10
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -29
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +7 -7
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -4
- package/libs/PanoTagPlugin/controller/TagRender.js +47 -137
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -4
- package/libs/PanoTagPlugin/controller/index.js +93 -93
- package/libs/PanoTagPlugin/index.js +47 -47
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +8 -9
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -4
- package/libs/PanoVideoPlugin/Controller.js +9 -10
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -4
- package/libs/PanoVideoPlugin/index.js +6 -7
- package/libs/PipelinePlugin/Controller.js +3 -4
- package/libs/PipelinePlugin/index.js +4 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -4
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -4
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -2
- package/libs/Sculpt/Meshes/Box.js +6 -7
- package/libs/Sculpt/Meshes/Circle.js +2 -3
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.js +2 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +9 -10
- package/libs/Sculpt/Meshes/Point.js +11 -12
- package/libs/Sculpt/Meshes/Polygon.js +14 -26
- package/libs/Sculpt/Meshes/Polyline.js +27 -41
- package/libs/Sculpt/Meshes/Rectangle.js +2 -3
- package/libs/Sculpt/Objects/Base/index.js +0 -1
- package/libs/Sculpt/Objects/Cylinder/index.js +48 -64
- package/libs/Sculpt/Objects/Line/Editor.js +2 -3
- package/libs/Sculpt/index.js +14 -15
- package/libs/Sculpt/utils/renderDom.js +8 -8
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +5 -6
- package/libs/Sculpt/utils/three/ColoredMesh.js +10 -11
- package/libs/_commonjsHelpers.js +2 -6
- package/libs/base/BasePlugin.js +9 -10
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -4
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -5
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +6 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +103 -88
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -5
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +6 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +120 -105
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -5
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -4
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -5
- package/libs/floorplan/index.js +1 -2
- package/libs/index.js +34 -34
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +2 -3
- package/libs/shared-utils/CSS3DRender/index.js +10 -11
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -3
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +2 -4
- package/libs/shared-utils/Object3DHelper/utils/getPoseFromCamera.js +6 -7
- package/libs/shared-utils/five/FiveLine.js +0 -1
- package/libs/shared-utils/five/getFiveModel.js +2 -3
- package/libs/shared-utils/five/getFloorMesh.js +2 -3
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/initialCSS3DRender.js +0 -1
- package/libs/shared-utils/five/lookObject.js +2 -3
- package/libs/shared-utils/five/vector3ToScreen.js +2 -3
- package/libs/shared-utils/index.js +0 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/pointsIsRectangle.js +5 -6
- package/libs/shared-utils/tag.js +14 -15
- package/libs/shared-utils/three/Magnifier.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.js +2 -3
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +2 -3
- package/libs/shared-utils/three/core/LineMaterial.js +2 -3
- package/libs/shared-utils/three/core/LineMaterial2.js +2 -3
- package/libs/shared-utils/three/earcut3D.js +3 -3
- package/libs/shared-utils/three/index.js +0 -1
- package/libs/vendor/classnames/index.js +15 -10
- package/libs/vendor/earcut/src/earcut.js +59 -55
- package/libs/vendor/easy-reactive/src/simply-reactive.js +7 -7
- package/libs/vendor/hammerjs/hammer.js +151 -147
- package/libs/vendor/lodash.clonedeep/index.js +69 -64
- package/libs/vendor/lodash.get/index.js +74 -75
- package/libs/vendor/lodash.isequal/index.js +66 -61
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +39 -35
- package/libs/vendor/polyline-normals/index.js +19 -21
- package/package.json +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +0 -2
|
@@ -16,7 +16,6 @@ import "../../shared-utils/tag.js";
|
|
|
16
16
|
import "../../vendor/hammerjs/hammer.js";
|
|
17
17
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
18
18
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
19
|
-
import "@realsee/five";
|
|
20
19
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
21
20
|
import { anyPositionToVector3 as m } from "../../shared-utils/positionToVector3.js";
|
|
22
21
|
import "@realsee/five/line";
|
|
@@ -31,7 +30,7 @@ import "../../shared-utils/five/FivePuppet.js";
|
|
|
31
30
|
import { CircleWithEdgeMesh as C } from "./CircleWithEdge.js";
|
|
32
31
|
import { radiusToSegments as M } from "../utils/radiusToSegments.js";
|
|
33
32
|
import { ColoredMesh as _ } from "../utils/three/ColoredMesh.js";
|
|
34
|
-
class
|
|
33
|
+
class O extends b {
|
|
35
34
|
constructor(t) {
|
|
36
35
|
super();
|
|
37
36
|
o(this, "bottomCircle");
|
|
@@ -98,5 +97,5 @@ class Q extends b {
|
|
|
98
97
|
}
|
|
99
98
|
}
|
|
100
99
|
export {
|
|
101
|
-
|
|
100
|
+
O as CylinderMesh
|
|
102
101
|
};
|
|
@@ -20,7 +20,6 @@ import "../../vendor/hammerjs/hammer.js";
|
|
|
20
20
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
21
21
|
import { centerPoint as U } from "../../shared-utils/three/centerPoint.js";
|
|
22
22
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
23
|
-
import "@realsee/five";
|
|
24
23
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
24
|
import { getLengthHTML as se } from "../utils/Meshes/getLengthHTML.js";
|
|
26
25
|
import { localToWorld as V } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
@@ -37,7 +36,7 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
37
36
|
import "../../vendor/earcut/src/earcut.js";
|
|
38
37
|
import { notNil as m } from "../../shared-utils/isNil.js";
|
|
39
38
|
import "../../shared-utils/five/FivePuppet.js";
|
|
40
|
-
class
|
|
39
|
+
class We extends te {
|
|
41
40
|
constructor(e) {
|
|
42
41
|
var h, l, f, d;
|
|
43
42
|
super();
|
|
@@ -260,5 +259,5 @@ class Pe extends te {
|
|
|
260
259
|
}
|
|
261
260
|
}
|
|
262
261
|
export {
|
|
263
|
-
|
|
262
|
+
We as LineMesh
|
|
264
263
|
};
|
|
@@ -2,7 +2,7 @@ var g = Object.defineProperty, f = Object.defineProperties;
|
|
|
2
2
|
var S = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var u = Object.getOwnPropertySymbols;
|
|
4
4
|
var c = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var l = (s, i, t) => i in s ? g(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t,
|
|
5
|
+
var l = (s, i, t) => i in s ? g(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t, r = (s, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
7
|
c.call(i, t) && l(s, t, i[t]);
|
|
8
8
|
if (u)
|
|
@@ -18,7 +18,6 @@ import "three";
|
|
|
18
18
|
import "../../vendor/hammerjs/hammer.js";
|
|
19
19
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
20
20
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
21
|
-
import "@realsee/five";
|
|
22
21
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
22
|
import { LineMesh as _ } from "./Line.js";
|
|
24
23
|
import "../../shared-utils/three/core/Sphere.js";
|
|
@@ -29,17 +28,17 @@ import "../../vendor/earcut/src/earcut.js";
|
|
|
29
28
|
import { notNil as d } from "../../shared-utils/isNil.js";
|
|
30
29
|
import "../../shared-utils/five/FivePuppet.js";
|
|
31
30
|
import { IObject3D as V } from "../../shared-utils/three/IObject3D.js";
|
|
32
|
-
class
|
|
31
|
+
class A extends _ {
|
|
33
32
|
constructor(t) {
|
|
34
33
|
super();
|
|
35
34
|
e(this, "name", "LineWithDotsMesh");
|
|
36
35
|
e(this, "pointGroup", new V());
|
|
37
36
|
e(this, "_paramsStyle");
|
|
38
37
|
e(this, "setStyle", (t) => {
|
|
39
|
-
super.setStyle(t), this._paramsStyle =
|
|
38
|
+
super.setStyle(t), this._paramsStyle = r(r({}, this._paramsStyle), t), this.pointMeshes.forEach(
|
|
40
39
|
(o) => {
|
|
41
|
-
var p, h,
|
|
42
|
-
return o.setStyle(a(
|
|
40
|
+
var p, h, n;
|
|
41
|
+
return o.setStyle(a(r({}, this._paramsStyle), { color: (n = (p = this._paramsStyle) == null ? void 0 : p.pointColor) != null ? n : (h = this._paramsStyle) == null ? void 0 : h.lineColor, tip: void 0 }));
|
|
43
42
|
}
|
|
44
43
|
), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
45
44
|
});
|
|
@@ -71,9 +70,9 @@ class B extends _ {
|
|
|
71
70
|
super.setPoints(t);
|
|
72
71
|
const o = t.map(P).filter(d);
|
|
73
72
|
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), o.forEach((p) => {
|
|
74
|
-
var
|
|
75
|
-
const h = new M(a(
|
|
76
|
-
color: (y = (
|
|
73
|
+
var n, m, y;
|
|
74
|
+
const h = new M(a(r({}, this.style), {
|
|
75
|
+
color: (y = (n = this._paramsStyle) == null ? void 0 : n.pointColor) != null ? y : (m = this._paramsStyle) == null ? void 0 : m.lineColor,
|
|
77
76
|
tip: void 0
|
|
78
77
|
}));
|
|
79
78
|
h.position.copy(p), this.pointGroup.add(h);
|
|
@@ -81,5 +80,5 @@ class B extends _ {
|
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
82
|
export {
|
|
84
|
-
|
|
83
|
+
A as LineWithDotsMesh
|
|
85
84
|
};
|
|
@@ -2,14 +2,14 @@ var E = Object.defineProperty, N = Object.defineProperties;
|
|
|
2
2
|
var P = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var A = Object.getOwnPropertySymbols;
|
|
4
4
|
var b = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var f = (e, i, t) => i in e ? E(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t,
|
|
5
|
+
var f = (e, i, t) => i in e ? E(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, a = (e, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
7
|
b.call(i, t) && f(e, t, i[t]);
|
|
8
8
|
if (A)
|
|
9
9
|
for (var t of A(i))
|
|
10
10
|
v.call(i, t) && f(e, t, i[t]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, m = (e, i) => N(e, P(i));
|
|
13
13
|
var k = (e, i) => {
|
|
14
14
|
var t = {};
|
|
15
15
|
for (var o in e)
|
|
@@ -28,7 +28,6 @@ import { LightTag as B } from "../../shared-utils/tag.js";
|
|
|
28
28
|
import "../../vendor/hammerjs/hammer.js";
|
|
29
29
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
30
30
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
31
|
-
import "@realsee/five";
|
|
32
31
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
33
32
|
import { getLengthHTML as H } from "../utils/Meshes/getLengthHTML.js";
|
|
34
33
|
import { localToWorld as S } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
@@ -44,7 +43,7 @@ import "../../vendor/earcut/src/earcut.js";
|
|
|
44
43
|
import "../../shared-utils/five/FivePuppet.js";
|
|
45
44
|
const x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
|
|
46
45
|
let C = null;
|
|
47
|
-
class
|
|
46
|
+
class st extends T {
|
|
48
47
|
constructor(t) {
|
|
49
48
|
var w, y, V;
|
|
50
49
|
super();
|
|
@@ -80,18 +79,18 @@ class ht extends T {
|
|
|
80
79
|
size: (w = t == null ? void 0 : t.size) != null ? w : 8,
|
|
81
80
|
map: C || (C = new n.TextureLoader().load(x)),
|
|
82
81
|
sizeAttenuation: !1
|
|
83
|
-
},
|
|
82
|
+
}, l = new n.PointsMaterial(m(a({}, M), {
|
|
84
83
|
color: (y = t == null ? void 0 : t.color) != null ? y : 16777215,
|
|
85
84
|
depthTest: !0,
|
|
86
85
|
opacity: (V = t == null ? void 0 : t.opacity) != null ? V : 1
|
|
87
|
-
})), D = new n.PointsMaterial(a(
|
|
88
|
-
size:
|
|
89
|
-
color:
|
|
86
|
+
})), D = new n.PointsMaterial(m(a({}, M), {
|
|
87
|
+
size: l.size,
|
|
88
|
+
color: l.color,
|
|
90
89
|
depthWrite: !1,
|
|
91
90
|
depthTest: !1,
|
|
92
|
-
opacity:
|
|
93
|
-
})),
|
|
94
|
-
this.fontMesh =
|
|
91
|
+
opacity: l.opacity * 0.5
|
|
92
|
+
})), r = new n.Points(u, l), d = new n.Points(u, D);
|
|
93
|
+
this.fontMesh = r, this.backgroundMesh = d, r.name = "FontMesh", d.name = "BackgroundMesh", r.renderOrder = 10, d.renderOrder = 0, this.add(r, d), t != null && t.point && this.position.copy(W(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
|
|
95
94
|
c.cacheObject.delete(this), c.checkDom(this);
|
|
96
95
|
}), this.addEventListener("added", () => {
|
|
97
96
|
c.cacheObject.add(this);
|
|
@@ -144,5 +143,5 @@ class ht extends T {
|
|
|
144
143
|
}
|
|
145
144
|
}
|
|
146
145
|
export {
|
|
147
|
-
|
|
146
|
+
st as PointMesh
|
|
148
147
|
};
|
|
@@ -2,15 +2,15 @@ var f = Object.defineProperty, g = Object.defineProperties;
|
|
|
2
2
|
var I = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var u = Object.getOwnPropertySymbols;
|
|
4
4
|
var D = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var p = (
|
|
5
|
+
var p = (s, t, e) => t in s ? f(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, h = (s, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
D.call(t, e) && p(
|
|
7
|
+
D.call(t, e) && p(s, e, t[e]);
|
|
8
8
|
if (u)
|
|
9
9
|
for (var e of u(t))
|
|
10
|
-
_.call(t, e) && p(
|
|
11
|
-
return
|
|
12
|
-
}, y = (
|
|
13
|
-
var i = (
|
|
10
|
+
_.call(t, e) && p(s, e, t[e]);
|
|
11
|
+
return s;
|
|
12
|
+
}, y = (s, t) => g(s, I(t));
|
|
13
|
+
var i = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
14
|
import * as a from "three";
|
|
15
15
|
import { generatePolygonGeometry as b } from "../../shared-utils/three/generatePolygonGeometry.js";
|
|
16
16
|
import { anyPositionToVector3 as H } from "../../shared-utils/positionToVector3.js";
|
|
@@ -19,24 +19,12 @@ import { getGeometryInfo as k } from "../../shared-utils/three/geometryUtil.js";
|
|
|
19
19
|
import { LightTag as v } from "../../shared-utils/tag.js";
|
|
20
20
|
import { getLengthHTML as P } from "../utils/Meshes/getLengthHTML.js";
|
|
21
21
|
import { localToWorld as A } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
22
|
-
import "../../vendor/hammerjs/hammer.js";
|
|
23
|
-
import "../../shared-utils/three/PointSelector/index.js";
|
|
24
|
-
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
25
|
-
import "@realsee/five";
|
|
26
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
27
|
-
import "@realsee/five/line";
|
|
28
|
-
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
29
22
|
import { transformUnitSquare as w } from "../utils/unit.js";
|
|
30
23
|
import { RenderDom as m } from "../utils/renderDom.js";
|
|
31
|
-
import "../../shared-utils/three/core/Sphere.js";
|
|
32
|
-
import "../../shared-utils/three/blink.js";
|
|
33
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
34
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
35
|
-
import "../../shared-utils/five/FivePuppet.js";
|
|
36
24
|
const d = new a.BufferGeometry();
|
|
37
25
|
d.name = "blankGeometry";
|
|
38
26
|
d.isBlank = !0;
|
|
39
|
-
class
|
|
27
|
+
class j extends S {
|
|
40
28
|
constructor(e) {
|
|
41
29
|
super(e);
|
|
42
30
|
i(this, "name", "PolygonMesh");
|
|
@@ -100,9 +88,9 @@ class X extends S {
|
|
|
100
88
|
this.areaDom && (this.areaDom.intersectCheck = !r), this.updateAreaItems();
|
|
101
89
|
}
|
|
102
90
|
setPoints(e, r) {
|
|
103
|
-
var
|
|
91
|
+
var o, l;
|
|
104
92
|
const n = e.map(H);
|
|
105
|
-
this.points = n, this.geometry = (l = b(this.points, { checkLinesIntersect: (
|
|
93
|
+
this.points = n, this.geometry = (l = b(this.points, { checkLinesIntersect: (o = r == null ? void 0 : r.checkLinesIntersect) != null ? o : !0 })) != null ? l : d, this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0, this.updateAreaItems();
|
|
106
94
|
}
|
|
107
95
|
/**
|
|
108
96
|
* @description: 获取一个点投影在当前平面上的点
|
|
@@ -116,8 +104,8 @@ class X extends S {
|
|
|
116
104
|
updateAreaItems() {
|
|
117
105
|
var n;
|
|
118
106
|
const e = () => {
|
|
119
|
-
var
|
|
120
|
-
(
|
|
107
|
+
var o;
|
|
108
|
+
(o = this.areaDom) == null || o.destroy(), this.areaDom = void 0;
|
|
121
109
|
};
|
|
122
110
|
if (!this._paramsStyle.lengthEnable || !this.geometryInfo)
|
|
123
111
|
return e();
|
|
@@ -125,8 +113,8 @@ class X extends S {
|
|
|
125
113
|
return console.error("Five not found");
|
|
126
114
|
this.areaDom = (n = this.areaDom) != null ? n : (() => {
|
|
127
115
|
var c;
|
|
128
|
-
const
|
|
129
|
-
return
|
|
116
|
+
const o = new v(this.five), l = (c = this._paramsStyle.occlusionVisibility) != null ? c : !0;
|
|
117
|
+
return o.intersectCheck = !l, o.simulate3D = !0, o;
|
|
130
118
|
})(), this.areaDom.setPosition(this.center);
|
|
131
119
|
const r = w(this.geometryInfo.area, this._paramsStyle.lengthUnit);
|
|
132
120
|
r ? this.areaDom.container.innerHTML = P(r, {
|
|
@@ -135,5 +123,5 @@ class X extends S {
|
|
|
135
123
|
}
|
|
136
124
|
}
|
|
137
125
|
export {
|
|
138
|
-
|
|
126
|
+
j as PolygonMesh
|
|
139
127
|
};
|
|
@@ -2,42 +2,28 @@ var M = Object.defineProperty, E = Object.defineProperties;
|
|
|
2
2
|
var b = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var a = Object.getOwnPropertySymbols;
|
|
4
4
|
var g = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var t in
|
|
7
|
-
g.call(
|
|
5
|
+
var p = (e, l, t) => l in e ? M(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, r = (e, l) => {
|
|
6
|
+
for (var t in l || (l = {}))
|
|
7
|
+
g.call(l, t) && p(e, t, l[t]);
|
|
8
8
|
if (a)
|
|
9
|
-
for (var t of a(
|
|
10
|
-
f.call(
|
|
9
|
+
for (var t of a(l))
|
|
10
|
+
f.call(l, t) && p(e, t, l[t]);
|
|
11
11
|
return e;
|
|
12
|
-
}, c = (e,
|
|
13
|
-
var S = (e,
|
|
12
|
+
}, c = (e, l) => E(e, b(l));
|
|
13
|
+
var S = (e, l) => {
|
|
14
14
|
var t = {};
|
|
15
15
|
for (var i in e)
|
|
16
|
-
g.call(e, i) &&
|
|
16
|
+
g.call(e, i) && l.indexOf(i) < 0 && (t[i] = e[i]);
|
|
17
17
|
if (e != null && a)
|
|
18
18
|
for (var i of a(e))
|
|
19
|
-
|
|
19
|
+
l.indexOf(i) < 0 && f.call(e, i) && (t[i] = e[i]);
|
|
20
20
|
return t;
|
|
21
21
|
};
|
|
22
|
-
var h = (e,
|
|
22
|
+
var h = (e, l, t) => (p(e, typeof l != "symbol" ? l + "" : l, t), t);
|
|
23
23
|
import { anyPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
|
|
24
24
|
import { IObject3D as V } from "../../shared-utils/three/IObject3D.js";
|
|
25
|
-
import "
|
|
26
|
-
import * as
|
|
27
|
-
import "../../vendor/hammerjs/hammer.js";
|
|
28
|
-
import "../../shared-utils/three/PointSelector/index.js";
|
|
29
|
-
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
30
|
-
import "@realsee/five";
|
|
31
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
32
|
-
import "@realsee/five/line";
|
|
33
|
-
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
34
|
-
import "../../shared-utils/three/core/Sphere.js";
|
|
35
|
-
import "../../shared-utils/three/blink.js";
|
|
36
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
37
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
38
|
-
import "../../vendor/earcut/src/earcut.js";
|
|
39
|
-
import "../../shared-utils/five/FivePuppet.js";
|
|
40
|
-
import { LineWithDotsMesh as w } from "./LineWithDots.js";
|
|
25
|
+
import { LineWithDotsMesh as W } from "./LineWithDots.js";
|
|
26
|
+
import * as w from "three";
|
|
41
27
|
import { closeVectors as C } from "../../shared-utils/three/closeVectors.js";
|
|
42
28
|
class P extends V {
|
|
43
29
|
constructor(t) {
|
|
@@ -46,8 +32,8 @@ class P extends V {
|
|
|
46
32
|
h(this, "lines", []);
|
|
47
33
|
h(this, "withDots");
|
|
48
34
|
h(this, "paramsStyle");
|
|
49
|
-
const n = t, { withDots: i, points: s } = n,
|
|
50
|
-
this.withDots = i != null ? i : !0, s && this.setPoints(s),
|
|
35
|
+
const n = t, { withDots: i, points: s } = n, o = S(n, ["withDots", "points"]);
|
|
36
|
+
this.withDots = i != null ? i : !0, s && this.setPoints(s), o && this.setStyle(o);
|
|
51
37
|
}
|
|
52
38
|
get style() {
|
|
53
39
|
var t;
|
|
@@ -67,7 +53,7 @@ class P extends V {
|
|
|
67
53
|
}
|
|
68
54
|
get lineColor() {
|
|
69
55
|
var t, i, s;
|
|
70
|
-
return (s = (t = this.lines[0]) == null ? void 0 : t.color) != null ? s : (i = this.paramsStyle) != null && i.lineColor ? new
|
|
56
|
+
return (s = (t = this.lines[0]) == null ? void 0 : t.color) != null ? s : (i = this.paramsStyle) != null && i.lineColor ? new w.Color(this.paramsStyle.lineColor) : void 0;
|
|
71
57
|
}
|
|
72
58
|
get lineWidth() {
|
|
73
59
|
var t, i, s;
|
|
@@ -87,23 +73,23 @@ class P extends V {
|
|
|
87
73
|
}
|
|
88
74
|
get points() {
|
|
89
75
|
var t, i, s;
|
|
90
|
-
return this.lines.map((
|
|
76
|
+
return this.lines.map((o) => o.points[0]).concat((s = (i = this.lines) == null ? void 0 : i[((t = this.lines) == null ? void 0 : t.length) - 1]) == null ? void 0 : s.points[1]).filter(Boolean);
|
|
91
77
|
}
|
|
92
78
|
setPoints(t, i = { closed: !1 }) {
|
|
93
79
|
let s = t.map(D);
|
|
94
|
-
i.closed && (s = C(s)), s.forEach((
|
|
80
|
+
i.closed && (s = C(s)), s.forEach((o, n) => {
|
|
95
81
|
var d;
|
|
96
|
-
const
|
|
97
|
-
if (n !== 0 &&
|
|
82
|
+
const m = s[n + 1];
|
|
83
|
+
if (n !== 0 && m === void 0)
|
|
98
84
|
return;
|
|
99
85
|
const u = (d = this.lines[n]) != null ? d : (() => {
|
|
100
|
-
const
|
|
86
|
+
const y = new W(c(r({}, this.style), {
|
|
101
87
|
pointVisibility: this.withDots ? { startPoint: n === 0, endPoint: !0 } : !1
|
|
102
88
|
}));
|
|
103
|
-
return this.lines[n] =
|
|
89
|
+
return this.lines[n] = y, this.add(y), y;
|
|
104
90
|
})();
|
|
105
|
-
u.setStyle(this.style), u.setPoints([
|
|
106
|
-
}), s.length === 0 ? (this.lines.forEach((
|
|
91
|
+
u.setStyle(this.style), u.setPoints([o, m]);
|
|
92
|
+
}), s.length === 0 ? (this.lines.forEach((o) => o.removeFromParent()), this.lines = []) : s.length === 1 || this.lines.length > s.length - 1 && this.lines.splice(s.length - 1).forEach((o) => o.removeFromParent());
|
|
107
93
|
}
|
|
108
94
|
setStyle(t) {
|
|
109
95
|
this.paramsStyle = r(r({}, this.paramsStyle), t), this.lines.forEach((i) => i.setStyle(this.paramsStyle));
|
|
@@ -115,19 +101,19 @@ class P extends V {
|
|
|
115
101
|
this.lines.forEach((t) => t.unhighlight());
|
|
116
102
|
}
|
|
117
103
|
}
|
|
118
|
-
class
|
|
104
|
+
class j extends P {
|
|
119
105
|
constructor(...t) {
|
|
120
106
|
super(c(r({}, t[0]), { withDots: !1 }));
|
|
121
107
|
h(this, "name", "PolylineMesh");
|
|
122
108
|
}
|
|
123
109
|
}
|
|
124
|
-
class
|
|
110
|
+
class x extends P {
|
|
125
111
|
constructor(...t) {
|
|
126
112
|
super(c(r({}, t[0]), { withDots: !0 }));
|
|
127
113
|
h(this, "name", "PolylineWithDotsMesh");
|
|
128
114
|
}
|
|
129
115
|
}
|
|
130
116
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
117
|
+
j as PolylineMesh,
|
|
118
|
+
x as PolylineWithDotsMesh
|
|
133
119
|
};
|
|
@@ -7,7 +7,6 @@ import "three";
|
|
|
7
7
|
import "../../vendor/hammerjs/hammer.js";
|
|
8
8
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
9
9
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
10
|
-
import "@realsee/five";
|
|
11
10
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
12
11
|
import "@realsee/five/line";
|
|
13
12
|
import { notNil as h } from "../../shared-utils/isNil.js";
|
|
@@ -20,7 +19,7 @@ import "../../vendor/earcut/src/earcut.js";
|
|
|
20
19
|
import "../../shared-utils/five/FivePuppet.js";
|
|
21
20
|
import { PolygonMesh as g } from "./Polygon.js";
|
|
22
21
|
import { RectangleGeometry as d } from "../utils/three/RectangleGeometry.js";
|
|
23
|
-
class
|
|
22
|
+
class k extends g {
|
|
24
23
|
constructor(t) {
|
|
25
24
|
super(t);
|
|
26
25
|
i(this, "name", "RectangleMesh");
|
|
@@ -42,5 +41,5 @@ class q extends g {
|
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
43
|
export {
|
|
45
|
-
|
|
44
|
+
k as RectangleMesh
|
|
46
45
|
};
|
|
@@ -20,7 +20,6 @@ import "three";
|
|
|
20
20
|
import "../../../vendor/hammerjs/hammer.js";
|
|
21
21
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
22
22
|
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
23
|
-
import "@realsee/five";
|
|
24
23
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
24
|
import "@realsee/five/line";
|
|
26
25
|
import { notNil as y } from "../../../shared-utils/isNil.js";
|
|
@@ -2,69 +2,53 @@ var E = Object.defineProperty, L = Object.defineProperties;
|
|
|
2
2
|
var T = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var g = Object.getOwnPropertySymbols;
|
|
4
4
|
var W = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
W.call(
|
|
5
|
+
var p = (i, t, e) => t in i ? E(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, d = (i, t) => {
|
|
6
|
+
for (var e in t || (t = {}))
|
|
7
|
+
W.call(t, e) && p(i, e, t[e]);
|
|
8
8
|
if (g)
|
|
9
|
-
for (var
|
|
10
|
-
A.call(
|
|
9
|
+
for (var e of g(t))
|
|
10
|
+
A.call(t, e) && p(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
|
-
}, w = (i,
|
|
13
|
-
var
|
|
14
|
-
var f = (i,
|
|
12
|
+
}, w = (i, t) => L(i, T(t));
|
|
13
|
+
var m = (i, t, e) => (p(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
|
+
var f = (i, t, e) => new Promise((o, s) => {
|
|
15
15
|
var c = (r) => {
|
|
16
16
|
try {
|
|
17
|
-
n(
|
|
17
|
+
n(e.next(r));
|
|
18
18
|
} catch (l) {
|
|
19
19
|
s(l);
|
|
20
20
|
}
|
|
21
21
|
}, h = (r) => {
|
|
22
22
|
try {
|
|
23
|
-
n(
|
|
23
|
+
n(e.throw(r));
|
|
24
24
|
} catch (l) {
|
|
25
25
|
s(l);
|
|
26
26
|
}
|
|
27
27
|
}, n = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(c, h);
|
|
28
|
-
n((
|
|
28
|
+
n((e = e.apply(i, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../../
|
|
31
|
-
import * as b from "three";
|
|
32
|
-
import "../../../shared-utils/tag.js";
|
|
33
|
-
import "../../../vendor/hammerjs/hammer.js";
|
|
34
|
-
import "../../../shared-utils/three/PointSelector/index.js";
|
|
35
|
-
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
36
|
-
import "@realsee/five";
|
|
37
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
30
|
+
import { CylinderMesh as v } from "../../Meshes/Cylinder.js";
|
|
38
31
|
import { LineMesh as R } from "../../Meshes/Line.js";
|
|
39
|
-
import "
|
|
40
|
-
import "
|
|
41
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
43
|
-
import "../../../vendor/earcut/src/earcut.js";
|
|
44
|
-
import "../../../shared-utils/five/FivePuppet.js";
|
|
45
|
-
import { anyPositionToVector3 as v } from "../../../shared-utils/positionToVector3.js";
|
|
46
|
-
import { BaseObject as D } from "../Base/index.js";
|
|
47
|
-
import { vector3ToArray as x } from "../../../shared-utils/three/vector3ToArray.js";
|
|
48
|
-
import "../../Meshes/Polygon.js";
|
|
49
|
-
import "@realsee/five/line";
|
|
50
|
-
import { rayOnLine as U } from "../../utils/three/rayOnLine.js";
|
|
32
|
+
import { rayOnLine as D } from "../../utils/three/rayOnLine.js";
|
|
33
|
+
import { BaseObject as U } from "../Base/index.js";
|
|
51
34
|
import { createCircle as V } from "../Circle/index.js";
|
|
52
|
-
import
|
|
35
|
+
import * as b from "three";
|
|
36
|
+
import { vector3ToArray as x } from "../../../shared-utils/three/vector3ToArray.js";
|
|
53
37
|
import { CylinderMeshEditor as z } from "../../Editors/CylinderMeshEditor.js";
|
|
54
|
-
import "../../../
|
|
55
|
-
class
|
|
56
|
-
constructor(
|
|
57
|
-
super(
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
38
|
+
import { anyPositionToVector3 as O } from "../../../shared-utils/positionToVector3.js";
|
|
39
|
+
class Y extends U {
|
|
40
|
+
constructor(e, o) {
|
|
41
|
+
super(e, o);
|
|
42
|
+
m(this, "type", "Cylinder");
|
|
43
|
+
m(this, "cylinderMesh");
|
|
44
|
+
m(this, "_editor");
|
|
45
|
+
e && (this.cylinderMesh = new v(d(d({}, e.style), e)), this.add(this.cylinderMesh));
|
|
62
46
|
}
|
|
63
47
|
get editor() {
|
|
64
48
|
return this._editor || (this._editor = new z(this.cylinderMesh)), this._editor;
|
|
65
49
|
}
|
|
66
50
|
get data() {
|
|
67
|
-
return w(
|
|
51
|
+
return w(d({}, this.baseData), {
|
|
68
52
|
bottomCenter: x(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
|
|
69
53
|
topCenter: x(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
|
|
70
54
|
radius: this.cylinderMesh.radius,
|
|
@@ -73,54 +57,54 @@ class pt extends D {
|
|
|
73
57
|
}
|
|
74
58
|
});
|
|
75
59
|
}
|
|
76
|
-
setData(
|
|
60
|
+
setData(e) {
|
|
77
61
|
this.cylinderMesh.setPoints({
|
|
78
|
-
bottomCenter:
|
|
79
|
-
topCenter:
|
|
80
|
-
}), this.cylinderMesh.setStyle(
|
|
62
|
+
bottomCenter: e.bottomCenter ? this.applyObjectReversalMatrixWorld(O(e.bottomCenter), this.cylinderMesh) : void 0,
|
|
63
|
+
topCenter: e.topCenter ? this.applyObjectReversalMatrixWorld(O(e.topCenter), this.cylinderMesh) : void 0
|
|
64
|
+
}), this.cylinderMesh.setStyle(e.style), this._editor && this._editor.initialHelperMatrix();
|
|
81
65
|
}
|
|
82
66
|
highlight() {
|
|
83
|
-
var
|
|
84
|
-
(
|
|
67
|
+
var e;
|
|
68
|
+
(e = this.cylinderMesh) == null || e.highlight();
|
|
85
69
|
}
|
|
86
70
|
unhighlight() {
|
|
87
|
-
var
|
|
88
|
-
(
|
|
71
|
+
var e;
|
|
72
|
+
(e = this.cylinderMesh) == null || e.unhighlight();
|
|
89
73
|
}
|
|
90
|
-
create(
|
|
74
|
+
create(e) {
|
|
91
75
|
return f(this, null, function* () {
|
|
92
|
-
this.cylinderMesh = new
|
|
76
|
+
this.cylinderMesh = new v(e), this.add(this.cylinderMesh), yield B(this.cylinderMesh, this.pointSelector), this.config.defaultAction && this.editor.enable();
|
|
93
77
|
});
|
|
94
78
|
}
|
|
95
79
|
}
|
|
96
|
-
function B(i,
|
|
80
|
+
function B(i, t) {
|
|
97
81
|
return f(this, null, function* () {
|
|
98
|
-
const
|
|
99
|
-
yield V(i.bottomCircle,
|
|
82
|
+
const e = i.parent;
|
|
83
|
+
yield V(i.bottomCircle, t);
|
|
100
84
|
const o = new R();
|
|
101
|
-
o.name = "LineHelper",
|
|
102
|
-
const s =
|
|
103
|
-
return o.setPoints([h, n]),
|
|
85
|
+
o.name = "LineHelper", e.add(o);
|
|
86
|
+
const s = t.position.point, c = i.normal.clone().normalize(), h = s.clone().add(c.clone().multiplyScalar(100)), n = s.clone().sub(c.clone().multiplyScalar(100));
|
|
87
|
+
return o.setPoints([h, n]), t.enable(), new Promise((r, l) => {
|
|
104
88
|
const C = (a) => {
|
|
105
89
|
u(), r();
|
|
106
90
|
}, M = (a) => {
|
|
107
91
|
if (!(a != null && a.raycaster))
|
|
108
92
|
return;
|
|
109
|
-
const
|
|
93
|
+
const y = D({
|
|
110
94
|
raycaster: a.raycaster,
|
|
111
95
|
line: new b.Line3(h, n)
|
|
112
|
-
}), j = new b.Plane().setFromNormalAndCoplanarPoint(i.normal, i.bottomCenter).projectPoint(
|
|
113
|
-
|
|
96
|
+
}), j = new b.Plane().setFromNormalAndCoplanarPoint(i.normal, i.bottomCenter).projectPoint(y, new b.Vector3()), H = y.clone().sub(j), _ = i.bottomCenter.clone().add(H);
|
|
97
|
+
y && i.setTopCenter(_);
|
|
114
98
|
}, u = () => {
|
|
115
|
-
|
|
99
|
+
t.off("select", C), t.off("intersectionUpdate", M), t.off("disable", P), e.remove(o), t.disable();
|
|
116
100
|
}, P = () => {
|
|
117
|
-
u(),
|
|
101
|
+
u(), e.remove(i), l(new Error("Cancelled"));
|
|
118
102
|
};
|
|
119
|
-
|
|
103
|
+
t.on("select", C), t.on("intersectionUpdate", M), t.on("disable", P);
|
|
120
104
|
});
|
|
121
105
|
});
|
|
122
106
|
}
|
|
123
107
|
export {
|
|
124
|
-
|
|
108
|
+
Y as Cylinder,
|
|
125
109
|
B as createCylinder
|
|
126
110
|
};
|
|
@@ -10,7 +10,6 @@ import "three";
|
|
|
10
10
|
import "../../../vendor/hammerjs/hammer.js";
|
|
11
11
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
12
12
|
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
13
|
-
import "@realsee/five";
|
|
14
13
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
15
14
|
import "@realsee/five/line";
|
|
16
15
|
import { notNil as h } from "../../../shared-utils/isNil.js";
|
|
@@ -49,7 +48,7 @@ class l extends d {
|
|
|
49
48
|
super.disable(), this.removeChildren();
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
|
-
class
|
|
51
|
+
class I extends l {
|
|
53
52
|
constructor(t) {
|
|
54
53
|
super(t);
|
|
55
54
|
o(this, "onDrag", (t) => {
|
|
@@ -64,6 +63,6 @@ class N extends l {
|
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
65
|
export {
|
|
67
|
-
|
|
66
|
+
I as LineEditor,
|
|
68
67
|
l as LineEditorAbstract
|
|
69
68
|
};
|