与主干版本同步

This commit is contained in:
ChenX
2023-05-08 10:53:13 +08:00
parent 8e481e821c
commit ee08cb516b
1748 changed files with 15504 additions and 13758 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,7 +46,7 @@ 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;
@@ -57,5 +58,7 @@ export declare class OffsetPolyline {
GetPointAtCurveDir(pt: Vector3): number;
protected CreateArc(center: Vector3, startP: Vector3, endP?: Vector3): Arc;
}
export declare function EntityEncode2(c1: Curve, c2: Curve): number;
export declare function CurveIsFine(curve: Curve): boolean;
export {};
//# sourceMappingURL=OffsetPolyline.d.ts.map