UNPKG

xtorcga

Version:

Xtor Compute Geometry Algorithm Libary 计算几何算法库

10 lines (9 loc) 246 B
import { Node } from "./node"; import { Polygon } from "./polygon"; export declare class BSP { tree: Node; constructor(faces: Polygon[]); sub(other: BSP): void; union(other: BSP): void; intersect(other: BSP): void; }