@idm-plugin/geo 1.6.8 → 1.7.0
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/ais/src/index.d.ts +1 -19
- package/dist/index.js +334 -316
- 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
|
@@ -17,6 +17,7 @@ export interface Coordinate {
|
|
|
17
17
|
velocity?: number;
|
|
18
18
|
pilot?: boolean;
|
|
19
19
|
positionTime?: number;
|
|
20
|
+
utc?: string;
|
|
20
21
|
}
|
|
21
22
|
export declare class LaneHelper {
|
|
22
23
|
/**
|
|
@@ -321,6 +322,12 @@ export declare class LaneHelper {
|
|
|
321
322
|
* @param positions 带时间(positionTime)的轨迹
|
|
322
323
|
*/
|
|
323
324
|
static deadReckoning(ts: number, positions: Coordinate[]): any;
|
|
325
|
+
/**
|
|
326
|
+
* 推测船位时间
|
|
327
|
+
* @param coordinate
|
|
328
|
+
* @param positions
|
|
329
|
+
*/
|
|
330
|
+
static deadReckoningTime(coordinate: Coordinate, positions: Coordinate[]): Coordinate | undefined;
|
|
324
331
|
/**
|
|
325
332
|
* 翻转轨迹
|
|
326
333
|
* @param route
|