与主干版本同步
This commit is contained in:
3
types/Nest/Common/Area.d.ts
vendored
Normal file
3
types/Nest/Common/Area.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import { Point } from "./Point";
|
||||
export declare function Area(pts: Point[]): number;
|
||||
//# sourceMappingURL=Area.d.ts.map
|
1
types/Nest/Common/Area.d.ts.map
Normal file
1
types/Nest/Common/Area.d.ts.map
Normal 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"}
|
@@ -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"}
|
2
types/Nest/Common/ComparePoint.d.ts
vendored
2
types/Nest/Common/ComparePoint.d.ts
vendored
@@ -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创建排序规则.
|
||||
*
|
||||
|
@@ -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"}
|
2
types/Nest/Common/Util.d.ts
vendored
2
types/Nest/Common/Util.d.ts
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user