@idm-plugin/geo 2.0.9 → 2.1.1
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 +348 -332
- package/dist/index.umd.cjs +6 -5
- package/dist/lane/src/index.d.ts +9 -1
- package/package.json +1 -1
package/dist/lane/src/index.d.ts
CHANGED
|
@@ -353,7 +353,7 @@ export declare class LaneHelper {
|
|
|
353
353
|
*/
|
|
354
354
|
static xmlEscape(s: any): string;
|
|
355
355
|
/**
|
|
356
|
-
* 路径转RTZ
|
|
356
|
+
* 路径转RTZ 1.2
|
|
357
357
|
* @param name 路径名称
|
|
358
358
|
* @param waypoints 途径点
|
|
359
359
|
* @see https://cirm.org/rtz-xml-schemas
|
|
@@ -361,6 +361,14 @@ export declare class LaneHelper {
|
|
|
361
361
|
*
|
|
362
362
|
*/
|
|
363
363
|
static waypoints2RTZ(name: string, waypoints: Coordinate[]): string;
|
|
364
|
+
/**
|
|
365
|
+
* 路径转RTZ 1.0
|
|
366
|
+
* @param name 路径名称
|
|
367
|
+
* @param waypoints 途径点
|
|
368
|
+
* @see https://cirm.org/rtz-xml-schemas
|
|
369
|
+
*/
|
|
370
|
+
static waypoints2RTZ10(name: string, waypoints: Coordinate[]): string;
|
|
371
|
+
static toRTZWaypoints(waypoints: Coordinate[], precision?: number): string[];
|
|
364
372
|
/**
|
|
365
373
|
* 路径转CSV (JRC ECDIS ROUTE SHEET格式)
|
|
366
374
|
* @param name 路径名称
|