初始化版本库,可用
This commit is contained in:
28
types/DatabaseServices/ShapeManager.d.ts
vendored
Normal file
28
types/DatabaseServices/ShapeManager.d.ts
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import { BoolOpeartionType } from '../GraphicsSystem/BoolOperateUtils';
|
||||
import { CADFiler } from './CADFiler';
|
||||
import { Shape } from './Shape';
|
||||
import { Matrix4 } from 'three';
|
||||
export declare class ShapeManager {
|
||||
private _ShapeList;
|
||||
get ShapeList(): Shape[];
|
||||
get ShapeCount(): number;
|
||||
get ShapeArea(): number;
|
||||
AppendShapeList(shapes: Shape | Shape[]): this;
|
||||
Clear(): void;
|
||||
BoolOper(otherMg: ShapeManager, booltype: BoolOpeartionType): boolean;
|
||||
IntersectionBoolOperation(target: ShapeManager): boolean;
|
||||
UnionBoolOperation(targetMg: ShapeManager): boolean;
|
||||
SubstactBoolOperation(target: ShapeManager): boolean;
|
||||
/**
|
||||
* 与region.ApplyMatrix不同的是,这个是直接操作内部对象.
|
||||
* 通常用来计算布尔运算时需要真实的移动这个位置.
|
||||
* 并且将不会刷新显示
|
||||
*
|
||||
* @param {Matrix4} mat4
|
||||
* @memberof ShapeManager
|
||||
*/
|
||||
ApplyMatrix(mat4: Matrix4): void;
|
||||
ReadFile(file: CADFiler): void;
|
||||
WriteFile(file: CADFiler): void;
|
||||
}
|
||||
//# sourceMappingURL=ShapeManager.d.ts.map
|
Reference in New Issue
Block a user