开发:更新api

This commit is contained in:
FishOrBear
2022-02-16 11:15:31 +08:00
parent 4388a1f7c8
commit 8477786c73
1180 changed files with 37656 additions and 13243 deletions

View File

@@ -8,19 +8,20 @@ interface IOffsetResult {
index: number;
curve: Curve;
sp?: Vector3;
preArc?: Curve;
ep?: Vector3;
nextArc?: Curve;
preCurve?: Curve;
nextCurve?: Curve;
paddingCurve?: Curve[];
}
declare class CurveTreeNode {
export declare class CurveTreeNode {
curve: Curve;
children: CurveTreeNode[];
children: this[];
box: Box3;
used: boolean;
Create(curve: Curve, box?: Box3): this;
constructor(curve: Curve, box?: Box3);
TrimBy(contour: Contour, box: Box3): void;
get Nodes(): CurveTreeNode[];
get Nodes(): this[];
}
export declare class OffsetPolyline {
_Polyline: Polyline;
@@ -45,16 +46,18 @@ export declare class OffsetPolyline {
InitSubCurves(): this;
protected GeneralCirclesAndVertexs(): void;
protected OffsetSubCurves(): void;
protected LinkSubCurves(): void;
LinkSubCurves(): void;
private IsSharpCorner;
protected GeneralTrimContours(): void;
protected TrimByContours(): void;
private FilterInvalidCurve;
private JoinCollinear;
private LinkResultPolyline;
private RepairResultPolylineClosemark;
CheckPointDir(pt: Vector3): boolean;
GetPointAtCurveDir(pt: Vector3): number;
protected CreateArc(center: Vector3, startP: Vector3, endP?: Vector3): Arc;
}
export declare function CurveIsFine(curve: Curve): boolean;
export {};
//# sourceMappingURL=OffsetPolyline.d.ts.map