webcad-ue4-api/types/Geometry/CurveIntersection.d.ts

33 lines
1.7 KiB
TypeScript
Raw Normal View History

2021-01-28 10:17:21 +08:00
import { Box3, Vector3 } from "three";
import { Curve } from "../DatabaseServices/Entity/Curve";
import { IntersectOption } from "../GraphicsSystem/IntersectWith";
/**
* 线, (33.2 线 p599)
*/
export declare class CurveIntersection {
protected fuzz: number;
protected boxMap: Map<Curve, Box3>;
/**
* ,key 线 value (线Map)
*/
intersect: Map<Curve, Map<Curve, Vector3[]>>;
2022-05-26 11:06:27 +08:00
intersect2: Map<Curve, [number, Vector3][]>;
intersect3: [Curve, Curve, Vector3[]][];
2021-01-28 10:17:21 +08:00
/**
* @param {Curve[]} cus ,,
* @memberof CurveIntersection
*/
2022-05-26 11:06:27 +08:00
constructor(cus: Curve[], parseIntersectionParam?: boolean, intType?: IntersectOption, fuzz?: number, parseRecord?: boolean);
2021-01-28 10:17:21 +08:00
protected IntersectWith2(c1: Curve, c2: Curve, intType: IntersectOption): import("../GraphicsSystem/IntersectWith").IntersectResult[];
2022-05-26 11:06:27 +08:00
protected AppendIntersectionParams(curve: Curve, params: [number, Vector3][]): void;
2021-01-28 10:17:21 +08:00
protected GenBox(cus: Curve[]): void;
protected SortCurve(cus: Curve[]): void;
GetIntersect(cu: Curve): Map<Curve, Vector3[]>;
}
export declare class CurveIntersection2 extends CurveIntersection {
/**
* Curve2Polyline使用这个时,线,
*/
protected IntersectWith2(c1: Curve, c2: Curve, intType: IntersectOption): import("../GraphicsSystem/IntersectWith").IntersectResult[];
}
//# sourceMappingURL=CurveIntersection.d.ts.map