更新:同步代码变更,修复iaop问题

This commit is contained in:
FishOrBear
2021-04-25 10:38:47 +08:00
parent 91bae565fd
commit e19f64a55d
139 changed files with 572 additions and 418 deletions

View File

@@ -12,5 +12,12 @@ export declare function SplineConver2Polyline(spl: Spline, tolerance?: number):
*/
export declare function PointsSimplify2PolylineAndParseArc(pts: Vector2[], buls?: number[], tolerance?: number, parseArc?: boolean, lineLengthSq?: number): Polyline;
export declare function SmartPointsSimply2Polyline(pts: Vector2[], buls?: number[], tolerance?: number, lineLengthSq?: number): Polyline;
export declare function SmartPolylineSimply2Polyline(pl: Polyline, tolerance?: number, lineLengthSq?: number): Polyline;
/**
* 简化多段线,返回结果比较好的多段线
* @param pl
* @param [tolerance=0.1]
* @param [lineLengthSq=2000]
* @returns 返回undefined时,简化失败
*/
export declare function SmartPolylineSimply2Polyline(pl: Polyline, tolerance?: number, lineLengthSq?: number): Polyline | undefined;
//# sourceMappingURL=SplineConver2Polyline.d.ts.map