webcad-ue4-api/types/Geometry/EdgeGeometry.d.ts
2021-01-28 10:17:21 +08:00

20 lines
851 B
TypeScript

import { BufferGeometry } from "three";
import { CSG } from "../csg/core/CSG";
import { Polygon } from "../csg/core/math/Polygon3";
import { LineGeometry } from "three/examples/jsm/lines/LineGeometry";
export declare class EdgesGeometry extends BufferGeometry {
/**
* 在使用Extrude实体的时候,有可能导致面无限分裂,并且有可能造成丢线问题,使用FromCSG方法可解.
*/
FromGeometry(geometry: any, thresholdAngle?: number): this;
/**
* 解决原来算法性能低下并且结果不理想的问题
*/
FromCSG(csg: CSG): this;
PolygonsOutline(polygons: Polygon[], coords: number[]): void;
}
export declare class CLineGeometry extends LineGeometry {
FromCSG(csg: CSG): this;
PolygonsOutline(polygons: Polygon[], coords: number[]): void;
}
//# sourceMappingURL=EdgeGeometry.d.ts.map