@realsee/dnalogel 3.59.13 → 3.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +1 -1
- package/dist/index.cjs.js +82 -76
- package/dist/index.js +17048 -12726
- package/dist/index.umd.js +75 -69
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +1 -1
- package/dist/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -1
- 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 +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/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.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.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.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/GuideLinePluginType.RouteConfig.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/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/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/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/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.ActionIfNoModelUnderMouse.html +1 -1
- 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/AreaMakerPlugin/Controller.js +5 -6
- package/libs/AreaMakerPlugin/index.js +5 -6
- package/libs/AreaMakerPlugin/utils/Item.js +5 -6
- package/libs/CSS3DRenderPlugin/Controller.js +5 -6
- package/libs/CSS3DRenderPlugin/index.js +8 -9
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +13 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +6 -5
- package/libs/CruisePlugin/BaseController.js +7 -8
- package/libs/CruisePlugin/Move.js +5 -6
- package/libs/CruisePlugin/Work.js +5 -6
- package/libs/CruisePlugin/index.js +9 -10
- package/libs/CurrentPanoImagePlugin/Controller.js +5 -6
- package/libs/CurrentPanoImagePlugin/index.js +6 -7
- package/libs/GuideLinePlugin/Controller.js +7 -8
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -6
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -6
- package/libs/GuideLinePlugin/index.js +9 -10
- package/libs/ModelChassisCompassPlugin/Plugin.js +45 -42
- package/libs/ModelChassisCompassPlugin/index.js +4 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +23 -20
- package/libs/ModelEntryDoorGuidePlugin/index.js +4 -1
- package/libs/ModelMakerPlugin/Controller.js +6 -7
- package/libs/ModelMakerPlugin/index.js +6 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -6
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -7
- package/libs/ModelTVVideoPlugin/index.js +5 -6
- package/libs/Object3DHelperPlugin/Controller.js +18 -19
- package/libs/Object3DHelperPlugin/index.js +8 -9
- package/libs/PanoCompassPlugin/Controller.js +5 -6
- package/libs/PanoCompassPlugin/index.js +6 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -6
- package/libs/PanoDoorLabelPlugin/index.js +6 -7
- package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -7
- package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -7
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +16 -17
- package/libs/PanoMeasurePlugin/Controller/index.js +6 -7
- package/libs/PanoMeasurePlugin/Model/area.js +6 -7
- package/libs/PanoMeasurePlugin/Model/polygon.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +13 -14
- package/libs/PanoMeasurePlugin/index.js +17 -18
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -6
- package/libs/PanoRulerProPlugin/Controller.js +16 -17
- package/libs/PanoRulerProPlugin/RulerItems.js +5 -6
- package/libs/PanoRulerProPlugin/index.js +6 -7
- package/libs/PanoSpatialTagPlugin/Plugin.js +66 -67
- package/libs/PanoSpatialTagPlugin/index.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +5 -6
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -6
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +60 -61
- package/libs/PanoTagPlugin/Components/TagContainer.js +5 -6
- package/libs/PanoTagPlugin/Components/TagItem.js +5 -6
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +5 -6
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +5 -6
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +18 -19
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +5 -6
- package/libs/PanoTagPlugin/controller/TagRender.js +5 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +5 -6
- package/libs/PanoTagPlugin/controller/index.js +43 -44
- package/libs/PanoTagPlugin/index.js +14 -15
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +5 -6
- package/libs/PanoVideoPlugin/Controller.js +5 -6
- package/libs/PanoVideoPlugin/VideoMeshController.js +9 -10
- package/libs/PanoVideoPlugin/index.js +8 -9
- package/libs/PipelinePlugin/Controller.js +19 -20
- package/libs/PipelinePlugin/index.js +6 -7
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +5 -6
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +5 -6
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +3 -4
- package/libs/Sculpt/Meshes/Circle.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +3 -3
- package/libs/Sculpt/Meshes/Line.js +3 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -3
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polygon.js +3 -3
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Line/Editor.js +3 -3
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +18 -19
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +14 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -7
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -6
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +151 -149
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +1 -1
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +8 -8
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +1 -1
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -1
- package/libs/shared-utils/five/index.js +3 -3
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/CSS3DRenderer/index.js +90 -0
- package/libs/shared-utils/three/FBXLoader/index.js +1493 -0
- package/libs/shared-utils/three/Magnifier.js +5 -5
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
- package/libs/shared-utils/three/blink.js +1 -1
- package/libs/shared-utils/three/earcut3D.js +3 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/libs/shared-utils/three/libs/NURBSCurve.js +22 -0
- package/libs/shared-utils/three/libs/NURBSUtils.js +212 -0
- package/libs/shared-utils/three/libs/inflate.js +282 -0
- package/libs/vendor/animejs/lib/anime.es.js +863 -0
- package/libs/vendor/earcut/src/earcut.js +280 -0
- package/libs/vendor/hammerjs/hammer.js +1189 -0
- package/package.json +5 -5
- package/libs/shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js +0 -74
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
var B = {}, N = {
|
|
2
|
+
get exports() {
|
|
3
|
+
return B;
|
|
4
|
+
},
|
|
5
|
+
set exports(e) {
|
|
6
|
+
B = e;
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
N.exports = P;
|
|
10
|
+
B.default = P;
|
|
11
|
+
function P(e, r, n) {
|
|
12
|
+
n = n || 2;
|
|
13
|
+
var t = r && r.length, x = t ? r[0] * n : e.length, u = G(e, 0, x, n, !0), f = [];
|
|
14
|
+
if (!u || u.next === u.prev)
|
|
15
|
+
return f;
|
|
16
|
+
var v, o, i, c, s, l, w;
|
|
17
|
+
if (t && (u = I(e, r, u, n)), e.length > 80 * n) {
|
|
18
|
+
v = i = e[0], o = c = e[1];
|
|
19
|
+
for (var p = n; p < x; p += n)
|
|
20
|
+
s = e[p], l = e[p + 1], s < v && (v = s), l < o && (o = l), s > i && (i = s), l > c && (c = l);
|
|
21
|
+
w = Math.max(i - v, c - o), w = w !== 0 ? 32767 / w : 0;
|
|
22
|
+
}
|
|
23
|
+
return k(u, f, n, v, o, w, 0), f;
|
|
24
|
+
}
|
|
25
|
+
function G(e, r, n, t, x) {
|
|
26
|
+
var u, f;
|
|
27
|
+
if (x === R(e, r, n, t) > 0)
|
|
28
|
+
for (u = r; u < n; u += t)
|
|
29
|
+
f = $(u, e[u], e[u + 1], f);
|
|
30
|
+
else
|
|
31
|
+
for (u = n - t; u >= r; u -= t)
|
|
32
|
+
f = $(u, e[u], e[u + 1], f);
|
|
33
|
+
return f && C(f, f.next) && (z(f), f = f.next), f;
|
|
34
|
+
}
|
|
35
|
+
function g(e, r) {
|
|
36
|
+
if (!e)
|
|
37
|
+
return e;
|
|
38
|
+
r || (r = e);
|
|
39
|
+
var n = e, t;
|
|
40
|
+
do
|
|
41
|
+
if (t = !1, !n.steiner && (C(n, n.next) || Z(n.prev, n, n.next) === 0)) {
|
|
42
|
+
if (z(n), n = r = n.prev, n === n.next)
|
|
43
|
+
break;
|
|
44
|
+
t = !0;
|
|
45
|
+
} else
|
|
46
|
+
n = n.next;
|
|
47
|
+
while (t || n !== r);
|
|
48
|
+
return r;
|
|
49
|
+
}
|
|
50
|
+
function k(e, r, n, t, x, u, f) {
|
|
51
|
+
if (e) {
|
|
52
|
+
!f && u && q(e, t, x, u);
|
|
53
|
+
for (var v = e, o, i; e.prev !== e.next; ) {
|
|
54
|
+
if (o = e.prev, i = e.next, u ? U(e, t, x, u) : Q(e)) {
|
|
55
|
+
r.push(o.i / n | 0), r.push(e.i / n | 0), r.push(i.i / n | 0), z(e), e = i.next, v = i.next;
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
if (e = i, e === v) {
|
|
59
|
+
f ? f === 1 ? (e = W(g(e), r, n), k(e, r, n, t, x, u, 2)) : f === 2 && _(e, r, n, t, x, u) : k(g(e), r, n, t, x, u, 1);
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function Q(e) {
|
|
66
|
+
var r = e.prev, n = e, t = e.next;
|
|
67
|
+
if (Z(r, n, t) >= 0)
|
|
68
|
+
return !1;
|
|
69
|
+
for (var x = r.x, u = n.x, f = t.x, v = r.y, o = n.y, i = t.y, c = x < u ? x < f ? x : f : u < f ? u : f, s = v < o ? v < i ? v : i : o < i ? o : i, l = x > u ? x > f ? x : f : u > f ? u : f, w = v > o ? v > i ? v : i : o > i ? o : i, p = t.next; p !== r; ) {
|
|
70
|
+
if (p.x >= c && p.x <= l && p.y >= s && p.y <= w && F(x, v, u, o, f, i, p.x, p.y) && Z(p.prev, p, p.next) >= 0)
|
|
71
|
+
return !1;
|
|
72
|
+
p = p.next;
|
|
73
|
+
}
|
|
74
|
+
return !0;
|
|
75
|
+
}
|
|
76
|
+
function U(e, r, n, t) {
|
|
77
|
+
var x = e.prev, u = e, f = e.next;
|
|
78
|
+
if (Z(x, u, f) >= 0)
|
|
79
|
+
return !1;
|
|
80
|
+
for (var v = x.x, o = u.x, i = f.x, c = x.y, s = u.y, l = f.y, w = v < o ? v < i ? v : i : o < i ? o : i, p = c < s ? c < l ? c : l : s < l ? s : l, M = v > o ? v > i ? v : i : o > i ? o : i, L = c > s ? c > l ? c : l : s > l ? s : l, T = D(w, p, r, n, t), V = D(M, L, r, n, t), y = e.prevZ, h = e.nextZ; y && y.z >= T && h && h.z <= V; ) {
|
|
81
|
+
if (y.x >= w && y.x <= M && y.y >= p && y.y <= L && y !== x && y !== f && F(v, c, o, s, i, l, y.x, y.y) && Z(y.prev, y, y.next) >= 0 || (y = y.prevZ, h.x >= w && h.x <= M && h.y >= p && h.y <= L && h !== x && h !== f && F(v, c, o, s, i, l, h.x, h.y) && Z(h.prev, h, h.next) >= 0))
|
|
82
|
+
return !1;
|
|
83
|
+
h = h.nextZ;
|
|
84
|
+
}
|
|
85
|
+
for (; y && y.z >= T; ) {
|
|
86
|
+
if (y.x >= w && y.x <= M && y.y >= p && y.y <= L && y !== x && y !== f && F(v, c, o, s, i, l, y.x, y.y) && Z(y.prev, y, y.next) >= 0)
|
|
87
|
+
return !1;
|
|
88
|
+
y = y.prevZ;
|
|
89
|
+
}
|
|
90
|
+
for (; h && h.z <= V; ) {
|
|
91
|
+
if (h.x >= w && h.x <= M && h.y >= p && h.y <= L && h !== x && h !== f && F(v, c, o, s, i, l, h.x, h.y) && Z(h.prev, h, h.next) >= 0)
|
|
92
|
+
return !1;
|
|
93
|
+
h = h.nextZ;
|
|
94
|
+
}
|
|
95
|
+
return !0;
|
|
96
|
+
}
|
|
97
|
+
function W(e, r, n) {
|
|
98
|
+
var t = e;
|
|
99
|
+
do {
|
|
100
|
+
var x = t.prev, u = t.next.next;
|
|
101
|
+
!C(x, u) && J(x, t, t.next, u) && H(x, u) && H(u, x) && (r.push(x.i / n | 0), r.push(t.i / n | 0), r.push(u.i / n | 0), z(t), z(t.next), t = e = u), t = t.next;
|
|
102
|
+
} while (t !== e);
|
|
103
|
+
return g(t);
|
|
104
|
+
}
|
|
105
|
+
function _(e, r, n, t, x, u) {
|
|
106
|
+
var f = e;
|
|
107
|
+
do {
|
|
108
|
+
for (var v = f.next.next; v !== f.prev; ) {
|
|
109
|
+
if (f.i !== v.i && m(f, v)) {
|
|
110
|
+
var o = K(f, v);
|
|
111
|
+
f = g(f, f.next), o = g(o, o.next), k(f, r, n, t, x, u, 0), k(o, r, n, t, x, u, 0);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
v = v.next;
|
|
115
|
+
}
|
|
116
|
+
f = f.next;
|
|
117
|
+
} while (f !== e);
|
|
118
|
+
}
|
|
119
|
+
function I(e, r, n, t) {
|
|
120
|
+
var x = [], u, f, v, o, i;
|
|
121
|
+
for (u = 0, f = r.length; u < f; u++)
|
|
122
|
+
v = r[u] * t, o = u < f - 1 ? r[u + 1] * t : e.length, i = G(e, v, o, t, !1), i === i.next && (i.steiner = !0), x.push(b(i));
|
|
123
|
+
for (x.sort(S), u = 0; u < x.length; u++)
|
|
124
|
+
n = X(x[u], n);
|
|
125
|
+
return n;
|
|
126
|
+
}
|
|
127
|
+
function S(e, r) {
|
|
128
|
+
return e.x - r.x;
|
|
129
|
+
}
|
|
130
|
+
function X(e, r) {
|
|
131
|
+
var n = j(e, r);
|
|
132
|
+
if (!n)
|
|
133
|
+
return r;
|
|
134
|
+
var t = K(n, e);
|
|
135
|
+
return g(t, t.next), g(n, n.next);
|
|
136
|
+
}
|
|
137
|
+
function j(e, r) {
|
|
138
|
+
var n = r, t = e.x, x = e.y, u = -1 / 0, f;
|
|
139
|
+
do {
|
|
140
|
+
if (x <= n.y && x >= n.next.y && n.next.y !== n.y) {
|
|
141
|
+
var v = n.x + (x - n.y) * (n.next.x - n.x) / (n.next.y - n.y);
|
|
142
|
+
if (v <= t && v > u && (u = v, f = n.x < n.next.x ? n : n.next, v === t))
|
|
143
|
+
return f;
|
|
144
|
+
}
|
|
145
|
+
n = n.next;
|
|
146
|
+
} while (n !== r);
|
|
147
|
+
if (!f)
|
|
148
|
+
return null;
|
|
149
|
+
var o = f, i = f.x, c = f.y, s = 1 / 0, l;
|
|
150
|
+
n = f;
|
|
151
|
+
do
|
|
152
|
+
t >= n.x && n.x >= i && t !== n.x && F(x < c ? t : u, x, i, c, x < c ? u : t, x, n.x, n.y) && (l = Math.abs(x - n.y) / (t - n.x), H(n, e) && (l < s || l === s && (n.x > f.x || n.x === f.x && Y(f, n))) && (f = n, s = l)), n = n.next;
|
|
153
|
+
while (n !== o);
|
|
154
|
+
return f;
|
|
155
|
+
}
|
|
156
|
+
function Y(e, r) {
|
|
157
|
+
return Z(e.prev, e, r.prev) < 0 && Z(r.next, e, e.next) < 0;
|
|
158
|
+
}
|
|
159
|
+
function q(e, r, n, t) {
|
|
160
|
+
var x = e;
|
|
161
|
+
do
|
|
162
|
+
x.z === 0 && (x.z = D(x.x, x.y, r, n, t)), x.prevZ = x.prev, x.nextZ = x.next, x = x.next;
|
|
163
|
+
while (x !== e);
|
|
164
|
+
x.prevZ.nextZ = null, x.prevZ = null, a(x);
|
|
165
|
+
}
|
|
166
|
+
function a(e) {
|
|
167
|
+
var r, n, t, x, u, f, v, o, i = 1;
|
|
168
|
+
do {
|
|
169
|
+
for (n = e, e = null, u = null, f = 0; n; ) {
|
|
170
|
+
for (f++, t = n, v = 0, r = 0; r < i && (v++, t = t.nextZ, !!t); r++)
|
|
171
|
+
;
|
|
172
|
+
for (o = i; v > 0 || o > 0 && t; )
|
|
173
|
+
v !== 0 && (o === 0 || !t || n.z <= t.z) ? (x = n, n = n.nextZ, v--) : (x = t, t = t.nextZ, o--), u ? u.nextZ = x : e = x, x.prevZ = u, u = x;
|
|
174
|
+
n = t;
|
|
175
|
+
}
|
|
176
|
+
u.nextZ = null, i *= 2;
|
|
177
|
+
} while (f > 1);
|
|
178
|
+
return e;
|
|
179
|
+
}
|
|
180
|
+
function D(e, r, n, t, x) {
|
|
181
|
+
return e = (e - n) * x | 0, r = (r - t) * x | 0, e = (e | e << 8) & 16711935, e = (e | e << 4) & 252645135, e = (e | e << 2) & 858993459, e = (e | e << 1) & 1431655765, r = (r | r << 8) & 16711935, r = (r | r << 4) & 252645135, r = (r | r << 2) & 858993459, r = (r | r << 1) & 1431655765, e | r << 1;
|
|
182
|
+
}
|
|
183
|
+
function b(e) {
|
|
184
|
+
var r = e, n = e;
|
|
185
|
+
do
|
|
186
|
+
(r.x < n.x || r.x === n.x && r.y < n.y) && (n = r), r = r.next;
|
|
187
|
+
while (r !== e);
|
|
188
|
+
return n;
|
|
189
|
+
}
|
|
190
|
+
function F(e, r, n, t, x, u, f, v) {
|
|
191
|
+
return (x - f) * (r - v) >= (e - f) * (u - v) && (e - f) * (t - v) >= (n - f) * (r - v) && (n - f) * (u - v) >= (x - f) * (t - v);
|
|
192
|
+
}
|
|
193
|
+
function m(e, r) {
|
|
194
|
+
return e.next.i !== r.i && e.prev.i !== r.i && !d(e, r) && // dones't intersect other edges
|
|
195
|
+
(H(e, r) && H(r, e) && ee(e, r) && // locally visible
|
|
196
|
+
(Z(e.prev, e, r.prev) || Z(e, r.prev, r)) || // does not create opposite-facing sectors
|
|
197
|
+
C(e, r) && Z(e.prev, e, e.next) > 0 && Z(r.prev, r, r.next) > 0);
|
|
198
|
+
}
|
|
199
|
+
function Z(e, r, n) {
|
|
200
|
+
return (r.y - e.y) * (n.x - r.x) - (r.x - e.x) * (n.y - r.y);
|
|
201
|
+
}
|
|
202
|
+
function C(e, r) {
|
|
203
|
+
return e.x === r.x && e.y === r.y;
|
|
204
|
+
}
|
|
205
|
+
function J(e, r, n, t) {
|
|
206
|
+
var x = A(Z(e, r, n)), u = A(Z(e, r, t)), f = A(Z(n, t, e)), v = A(Z(n, t, r));
|
|
207
|
+
return !!(x !== u && f !== v || x === 0 && E(e, n, r) || u === 0 && E(e, t, r) || f === 0 && E(n, e, t) || v === 0 && E(n, r, t));
|
|
208
|
+
}
|
|
209
|
+
function E(e, r, n) {
|
|
210
|
+
return r.x <= Math.max(e.x, n.x) && r.x >= Math.min(e.x, n.x) && r.y <= Math.max(e.y, n.y) && r.y >= Math.min(e.y, n.y);
|
|
211
|
+
}
|
|
212
|
+
function A(e) {
|
|
213
|
+
return e > 0 ? 1 : e < 0 ? -1 : 0;
|
|
214
|
+
}
|
|
215
|
+
function d(e, r) {
|
|
216
|
+
var n = e;
|
|
217
|
+
do {
|
|
218
|
+
if (n.i !== e.i && n.next.i !== e.i && n.i !== r.i && n.next.i !== r.i && J(n, n.next, e, r))
|
|
219
|
+
return !0;
|
|
220
|
+
n = n.next;
|
|
221
|
+
} while (n !== e);
|
|
222
|
+
return !1;
|
|
223
|
+
}
|
|
224
|
+
function H(e, r) {
|
|
225
|
+
return Z(e.prev, e, e.next) < 0 ? Z(e, r, e.next) >= 0 && Z(e, e.prev, r) >= 0 : Z(e, r, e.prev) < 0 || Z(e, e.next, r) < 0;
|
|
226
|
+
}
|
|
227
|
+
function ee(e, r) {
|
|
228
|
+
var n = e, t = !1, x = (e.x + r.x) / 2, u = (e.y + r.y) / 2;
|
|
229
|
+
do
|
|
230
|
+
n.y > u != n.next.y > u && n.next.y !== n.y && x < (n.next.x - n.x) * (u - n.y) / (n.next.y - n.y) + n.x && (t = !t), n = n.next;
|
|
231
|
+
while (n !== e);
|
|
232
|
+
return t;
|
|
233
|
+
}
|
|
234
|
+
function K(e, r) {
|
|
235
|
+
var n = new O(e.i, e.x, e.y), t = new O(r.i, r.x, r.y), x = e.next, u = r.prev;
|
|
236
|
+
return e.next = r, r.prev = e, n.next = x, x.prev = n, t.next = n, n.prev = t, u.next = t, t.prev = u, t;
|
|
237
|
+
}
|
|
238
|
+
function $(e, r, n, t) {
|
|
239
|
+
var x = new O(e, r, n);
|
|
240
|
+
return t ? (x.next = t.next, x.prev = t, t.next.prev = x, t.next = x) : (x.prev = x, x.next = x), x;
|
|
241
|
+
}
|
|
242
|
+
function z(e) {
|
|
243
|
+
e.next.prev = e.prev, e.prev.next = e.next, e.prevZ && (e.prevZ.nextZ = e.nextZ), e.nextZ && (e.nextZ.prevZ = e.prevZ);
|
|
244
|
+
}
|
|
245
|
+
function O(e, r, n) {
|
|
246
|
+
this.i = e, this.x = r, this.y = n, this.prev = null, this.next = null, this.z = 0, this.prevZ = null, this.nextZ = null, this.steiner = !1;
|
|
247
|
+
}
|
|
248
|
+
P.deviation = function(e, r, n, t) {
|
|
249
|
+
var x = r && r.length, u = x ? r[0] * n : e.length, f = Math.abs(R(e, 0, u, n));
|
|
250
|
+
if (x)
|
|
251
|
+
for (var v = 0, o = r.length; v < o; v++) {
|
|
252
|
+
var i = r[v] * n, c = v < o - 1 ? r[v + 1] * n : e.length;
|
|
253
|
+
f -= Math.abs(R(e, i, c, n));
|
|
254
|
+
}
|
|
255
|
+
var s = 0;
|
|
256
|
+
for (v = 0; v < t.length; v += 3) {
|
|
257
|
+
var l = t[v] * n, w = t[v + 1] * n, p = t[v + 2] * n;
|
|
258
|
+
s += Math.abs(
|
|
259
|
+
(e[l] - e[p]) * (e[w + 1] - e[l + 1]) - (e[l] - e[w]) * (e[p + 1] - e[l + 1])
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
return f === 0 && s === 0 ? 0 : Math.abs((s - f) / f);
|
|
263
|
+
};
|
|
264
|
+
function R(e, r, n, t) {
|
|
265
|
+
for (var x = 0, u = r, f = n - t; u < n; u += t)
|
|
266
|
+
x += (e[f] - e[u]) * (e[u + 1] + e[f + 1]), f = u;
|
|
267
|
+
return x;
|
|
268
|
+
}
|
|
269
|
+
P.flatten = function(e) {
|
|
270
|
+
for (var r = e[0][0].length, n = { vertices: [], holes: [], dimensions: r }, t = 0, x = 0; x < e.length; x++) {
|
|
271
|
+
for (var u = 0; u < e[x].length; u++)
|
|
272
|
+
for (var f = 0; f < r; f++)
|
|
273
|
+
n.vertices.push(e[x][u][f]);
|
|
274
|
+
x > 0 && (t += e[x - 1].length, n.holes.push(t));
|
|
275
|
+
}
|
|
276
|
+
return n;
|
|
277
|
+
};
|
|
278
|
+
export {
|
|
279
|
+
B as earcutExports
|
|
280
|
+
};
|