与主干版本同步

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

3
types/Nest/Common/Area.d.ts vendored Normal file
View File

@@ -0,0 +1,3 @@
import { Point } from "./Point";
export declare function Area(pts: Point[]): number;
//# sourceMappingURL=Area.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Area.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/Area.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,wBAAgB,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,MAAM,CAYzC"}

View File

@@ -1 +1 @@
{"version":3,"file":"ClipperCpp.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/ClipperCpp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AAEpD,eAAO,IAAI,UAAU,EAAE;IAAE,GAAG,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC;CAAO,CAAC;AACpE,wBAAgB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAiB9C"}
{"version":3,"file":"ClipperCpp.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/ClipperCpp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AAEpD,eAAO,IAAI,UAAU,EAAE;IAAE,GAAG,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC;CAAO,CAAC;AACpE,wBAAgB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAmB9C"}

View File

@@ -2,7 +2,7 @@ interface Vec2 {
x: number;
y: number;
}
export declare type CompareVectorFn = (v1: Vec2, v2: Vec2) => number;
export type CompareVectorFn = (v1: Vec2, v2: Vec2) => number;
/**
* 构建返回一个用来排序的函数.根据key创建排序规则.
*

View File

@@ -1 +1 @@
{"version":3,"file":"ComparePoint.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/ComparePoint.ts"],"names":[],"mappings":"AAAA,UAAU,IAAI;IAAG,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;CAAE;AAExC,oBAAY,eAAe,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,KAAK,MAAM,CAAC;AAO7D;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAiC7D"}
{"version":3,"file":"ComparePoint.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/ComparePoint.ts"],"names":[],"mappings":"AAAA,UAAU,IAAI;IAAG,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;CAAE;AAExC,MAAM,MAAM,eAAe,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,KAAK,MAAM,CAAC;AAO7D;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAiC7D"}

View File

@@ -1,7 +1,7 @@
export declare function equaln(v1: number, v2: number, fuzz?: number): boolean;
export declare function FixIndex(index: number, arr: Array<any> | number): number;
/**
* @param compart 如果t2大于t1那么返回t2
* @param compart true => t2 , false => t1
* @returns 索引
*/
export declare function Max<T>(arr: T[], compart: (t1: T, t2: T) => boolean): number;