import * as THREE from 'three'; export type RaycasterStartPointMode = 'observer' | 'horizontal'; /** * @description 计算碰撞检测射线的起点 * @param observerPosition 观察点位置(全景态)或相机位置(模型态),含真实高度 * @param checkPoint 检测点(标签中心点或角点) * @param mode * - `observer`:直接使用观察点位置,射线是斜的,可能从矮柜/栏杆上方越过 * - `horizontal`:与检测点保持水平,y 取检测点高度、x/z 取观察点的值, * 用于判定「当前点位与检测点的水平连线是否被模型挡住」 */ export declare function getRaycasterStartPosition(observerPosition: THREE.Vector3, checkPoint: THREE.Vector3, mode?: RaycasterStartPointMode): THREE.Vector3;