UNPKG

@xtor/cga.js

Version:

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

18 lines (17 loc) 332 B
import { Vec3 } from "../../math/Vec3"; /** * */ export declare class Box { min: Vec3; max: Vec3; _center: Vec3; constructor(points: any); get center(): Vec3; /** * * @param {Array<Vec3>} points */ setFromPoints(points: any): void; expand(...points: any[]): void; }