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

28 lines
1.2 KiB
TypeScript
Raw Normal View History

2023-07-06 10:23:55 +08:00
import { Geometry, Vector3 } from "three";
2021-01-28 10:17:21 +08:00
import { Curve } from "../DatabaseServices/Entity/Curve";
import { Polyline } from "../DatabaseServices/Entity/Polyline";
/**
* 使,线线.
* ,.
*/
export declare class SweepGeometry extends Geometry {
edgePts: number[];
2023-07-21 15:56:48 +08:00
ShapeMaterialSlotData: number[];
constructor(contour: Polyline, path: Curve[] | Curve, ShapeMaterialSlotData?: number[]);
2021-01-28 10:17:21 +08:00
AddShape(contour: Polyline, path: Curve): void;
2023-07-21 15:56:48 +08:00
AddShape2(contour: Polyline, paths: Curve[]): void;
2021-01-28 10:17:21 +08:00
private BuildSideFaces;
private BuildLid;
}
2023-07-06 10:23:55 +08:00
/**
* `路径上某个点`.
*
* @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[];
2021-01-28 10:17:21 +08:00
//# sourceMappingURL=SweepGeometry.d.ts.map