import { Box2 } from "three";
export interface Vec2 {
    x: number;
    y: number;
}
/**
 * 盒子相交测试,快速判断盒子和直线或者圆是否有相交
 */
export declare class BoxCheckIntersect {
    p1: Vec2;
    p2: Vec2;
    p3: Vec2;
    p4: Vec2;
    box: Box2;
    constructor(box: Box2);
    IsIntersectLine(p1: Vec2, p2: Vec2): boolean;
    IsIntersectCircle(cen: Vec2, radius: number): boolean;
}
//# sourceMappingURL=CheckIntersect.d.ts.map