webcad-ue4-api/types/Geometry/EdgeGeometry.d.ts

20 lines
851 B
TypeScript
Raw Normal View History

2021-01-28 10:17:21 +08:00
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