初始化版本库,可用
This commit is contained in:
20
types/Geometry/EdgeGeometry.d.ts
vendored
Normal file
20
types/Geometry/EdgeGeometry.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
Reference in New Issue
Block a user