import type { Five } from '@realsee/five'; import { MeasureControllerV2 } from './Controller'; /** * 量尺插件 V2 —— 点位选择可视化(对应 PRD《量尺点位选择器优化》) * * 与 MeasurePlugin 的关系:V2 是试点 fork,完全继承 MeasurePlugin 的控制器, * 新吸附算法、放大镜叠加层和场景光标仅在 V2 中生效,原插件继续使用原选点器。 * * 使用方式(Console / 编辑器等接入方): * ```ts * import { MeasureV2 } from '@realsee/dnalogel' * const measure = MeasureV2.MeasurePluginV2(five, { unit: 'm' }) * ``` */ export { MeasureControllerV2 } from './Controller'; export type { MeasurePluginV2Config } from './Controller'; export { MeasureMagnifier } from './Magnifier'; export type { MeasureMagnifierOptions } from './Magnifier'; export { drawMeasureOverlay, getWorldNormal, OVERLAY_STYLE } from './PointOverlay'; export type { MagnifierViewport } from './PointOverlay'; export { collectNearbyEdges, EdgeSnapCache, DEFAULT_EDGE_SNAP_OPTIONS } from './edgeSnap'; export type { EdgeSnapOptions, ResolvedEdgeSnapOptions } from './edgeSnap'; export { validatePolygon } from '../MeasurePlugin'; export type { MeasureEndReason, MeasurePluginConfig, MeasurePluginEventMap } from '../MeasurePlugin'; export type MeasureControllerV2Interface = InstanceType; export type MeasurePluginV2ParamsInterface = ConstructorParameters[1]; export declare const MeasurePluginV2: (five: Five, config?: MeasurePluginV2ParamsInterface) => MeasureControllerV2; export default MeasurePluginV2;