提供拆单获取走刀接口

This commit is contained in:
Zoe
2021-02-22 14:13:27 +08:00
parent bd028ffe36
commit 979b280044
264 changed files with 2924 additions and 830 deletions

View File

@@ -51,7 +51,7 @@ export declare class Shape {
static pairHoleAndOutline(contours: Contour[]): Shape[];
/**
* 合并洞,本质是使用(并集算法)将可以并集的洞合并在一起,减少洞的数量.
* canSidewipe 用于走刀,擦边的是否合并
* canSidewipe 用于走刀,擦边的,包含的,是否合并
*/
static mergeContours(holes: Contour[], canSidewipe?: boolean): Contour[];
/**