@idm-plugin/geo 1.5.4 → 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +252 -233
- package/dist/index.umd.cjs +2 -2
- package/dist/lane/src/index.d.ts +7 -0
- package/package.json +1 -1
package/dist/lane/src/index.d.ts
CHANGED
|
@@ -315,6 +315,12 @@ export declare class LaneHelper {
|
|
|
315
315
|
* @param waypoints 带时间的轨迹, 单位秒
|
|
316
316
|
*/
|
|
317
317
|
static nearestTSPointInWaypoints(ts: number, step: number, waypoints: Coordinate[]): Coordinate | undefined;
|
|
318
|
+
/**
|
|
319
|
+
* 翻转轨迹
|
|
320
|
+
* @param route
|
|
321
|
+
*/
|
|
322
|
+
static reverseRoute(route: number[][][]): number[][][];
|
|
323
|
+
static reverseCoordinates(coordinates: Coordinate[]): Coordinate[];
|
|
318
324
|
/**
|
|
319
325
|
* 计算AIRoute
|
|
320
326
|
* @param from
|
|
@@ -325,6 +331,7 @@ export declare class LaneHelper {
|
|
|
325
331
|
requestId?: string;
|
|
326
332
|
open?: string;
|
|
327
333
|
close?: string;
|
|
334
|
+
timeout?: number;
|
|
328
335
|
}): Promise<any>;
|
|
329
336
|
/**
|
|
330
337
|
* 重新加载AI路由数据
|