xtorcga
Version:
Xtor Compute Geometry Algorithm Libary 计算几何算法库
23 lines (22 loc) • 567 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BSP = void 0;
var node_1 = require("./node");
var BSP = /** @class */ (function () {
function BSP(faces) {
this.tree = new node_1.Node(faces);
}
//差
BSP.prototype.sub = function (other) {
var a = this.tree.clone();
var b = this.tree.clone();
};
//和
BSP.prototype.union = function (other) {
};
//交
BSP.prototype.intersect = function (other) {
};
return BSP;
}());
exports.BSP = BSP;