实现板件倒角
This commit is contained in:
13
types/Geometry/SweepGeometry.d.ts
vendored
13
types/Geometry/SweepGeometry.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
import { Geometry } from "three";
|
||||
import { Geometry, Vector3 } from "three";
|
||||
import { Curve } from "../DatabaseServices/Entity/Curve";
|
||||
import { Polyline } from "../DatabaseServices/Entity/Polyline";
|
||||
/**
|
||||
@@ -12,4 +12,15 @@ export declare class SweepGeometry extends Geometry {
|
||||
private BuildSideFaces;
|
||||
private BuildLid;
|
||||
}
|
||||
/**
|
||||
* 将轮廓变换到`路径上某个点`.
|
||||
*
|
||||
* @param {Vector3[]} contourPts 原始的轮廓点(在世界坐标系)
|
||||
* @param {Vector3} normal 路径法向量
|
||||
* @param {Vector3} curP 路径上当前点
|
||||
* @param {Vector3} [preP] 路径的前一个点
|
||||
* @param {Vector3} [nextP] 路径下一个点
|
||||
* @returns 变换后的轮廓点表
|
||||
*/
|
||||
export declare function ProjectionToPlane(contourPts: Vector3[], normal: Vector3, curP: Vector3, preP?: Vector3, nextP?: Vector3): Vector3[];
|
||||
//# sourceMappingURL=SweepGeometry.d.ts.map
|
Reference in New Issue
Block a user