@aibee/crc-bmap 0.14.19 → 0.14.22

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/lib/meta.json CHANGED
@@ -386,7 +386,7 @@
386
386
  "format": "esm"
387
387
  },
388
388
  "../lib/src/utils/road2.js": {
389
- "bytes": 55766,
389
+ "bytes": 56334,
390
390
  "imports": [
391
391
  {
392
392
  "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
@@ -477,7 +477,7 @@
477
477
  "format": "esm"
478
478
  },
479
479
  "../lib/src/factory/unique-key.js": {
480
- "bytes": 933,
480
+ "bytes": 999,
481
481
  "imports": [
482
482
  {
483
483
  "path": "core-js/modules/es.set.difference.v2.js",
@@ -1062,7 +1062,7 @@
1062
1062
  "format": "esm"
1063
1063
  },
1064
1064
  "../lib/src/factory/text-texture.js": {
1065
- "bytes": 28925,
1065
+ "bytes": 28929,
1066
1066
  "imports": [
1067
1067
  {
1068
1068
  "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
@@ -2176,7 +2176,7 @@
2176
2176
  "format": "esm"
2177
2177
  },
2178
2178
  "../src/utils/road2.ts": {
2179
- "bytes": 54042,
2179
+ "bytes": 54590,
2180
2180
  "imports": [
2181
2181
  {
2182
2182
  "path": "../../../node_modules/.pnpm/node-dijkstra@2.5.0/node_modules/node-dijkstra/libs/Graph.js",
@@ -2212,7 +2212,7 @@
2212
2212
  "format": "esm"
2213
2213
  },
2214
2214
  "../src/factory/unique-key.ts": {
2215
- "bytes": 486,
2215
+ "bytes": 556,
2216
2216
  "imports": [
2217
2217
  {
2218
2218
  "path": "<runtime>",
@@ -2596,7 +2596,7 @@
2596
2596
  "format": "esm"
2597
2597
  },
2598
2598
  "../src/factory/text-texture.ts": {
2599
- "bytes": 25837,
2599
+ "bytes": 25841,
2600
2600
  "imports": [
2601
2601
  {
2602
2602
  "path": "three",
@@ -3167,7 +3167,7 @@
3167
3167
  "format": "esm"
3168
3168
  },
3169
3169
  "../lib/src/elements/base-svg.js": {
3170
- "bytes": 1807,
3170
+ "bytes": 2455,
3171
3171
  "imports": [
3172
3172
  {
3173
3173
  "path": "three",
@@ -3183,7 +3183,7 @@
3183
3183
  "format": "esm"
3184
3184
  },
3185
3185
  "../lib/src/elements/svg-line.js": {
3186
- "bytes": 4321,
3186
+ "bytes": 4339,
3187
3187
  "imports": [
3188
3188
  {
3189
3189
  "path": "core-js/modules/es.array.push.js",
@@ -3209,7 +3209,7 @@
3209
3209
  "format": "esm"
3210
3210
  },
3211
3211
  "../lib/src/elements/svg-polygon.js": {
3212
- "bytes": 5848,
3212
+ "bytes": 5866,
3213
3213
  "imports": [
3214
3214
  {
3215
3215
  "path": "core-js/modules/es.array.push.js",
@@ -5494,7 +5494,7 @@
5494
5494
  "format": "esm"
5495
5495
  },
5496
5496
  "../lib/src/plugins/nav-path/nav-path.js": {
5497
- "bytes": 3784,
5497
+ "bytes": 3921,
5498
5498
  "imports": [
5499
5499
  {
5500
5500
  "path": "three",
@@ -6084,7 +6084,7 @@
6084
6084
  "format": "esm"
6085
6085
  },
6086
6086
  "../lib/src/plugins/car-inertial-position/utils.js": {
6087
- "bytes": 6835,
6087
+ "bytes": 7596,
6088
6088
  "imports": [
6089
6089
  {
6090
6090
  "path": "core-js/modules/web.dom-collections.iterator.js",
@@ -6115,7 +6115,7 @@
6115
6115
  "format": "esm"
6116
6116
  },
6117
6117
  "../lib/src/plugins/car-inertial-position/car-inertial-position.js": {
6118
- "bytes": 13937,
6118
+ "bytes": 17854,
6119
6119
  "imports": [
6120
6120
  {
6121
6121
  "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
@@ -6123,17 +6123,17 @@
6123
6123
  "original": "@swc/helpers/_/_extends"
6124
6124
  },
6125
6125
  {
6126
- "path": "core-js/modules/es.array.find-last-index.js",
6126
+ "path": "core-js/modules/es.array.push.js",
6127
6127
  "kind": "import-statement",
6128
6128
  "external": true
6129
6129
  },
6130
6130
  {
6131
- "path": "core-js/modules/es.array.find-last.js",
6131
+ "path": "core-js/modules/es.array.find-last-index.js",
6132
6132
  "kind": "import-statement",
6133
6133
  "external": true
6134
6134
  },
6135
6135
  {
6136
- "path": "core-js/modules/es.array.push.js",
6136
+ "path": "core-js/modules/es.array.find-last.js",
6137
6137
  "kind": "import-statement",
6138
6138
  "external": true
6139
6139
  },
@@ -6186,8 +6186,29 @@
6186
6186
  "imports": [],
6187
6187
  "format": "esm"
6188
6188
  },
6189
+ "../lib/src/plugins/recommend-parking-space/recommend-core.js": {
6190
+ "bytes": 11349,
6191
+ "imports": [
6192
+ {
6193
+ "path": "core-js/modules/es.array.push.js",
6194
+ "kind": "import-statement",
6195
+ "external": true
6196
+ },
6197
+ {
6198
+ "path": "../lib/src/utils/road2.js",
6199
+ "kind": "import-statement",
6200
+ "original": "../../utils/road2"
6201
+ },
6202
+ {
6203
+ "path": "<runtime>",
6204
+ "kind": "import-statement",
6205
+ "external": true
6206
+ }
6207
+ ],
6208
+ "format": "esm"
6209
+ },
6189
6210
  "../lib/src/plugins/recommend-parking-space/recommand-parking-space.js": {
6190
- "bytes": 1523,
6211
+ "bytes": 2467,
6191
6212
  "imports": [
6192
6213
  {
6193
6214
  "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
@@ -6209,6 +6230,11 @@
6209
6230
  "kind": "import-statement",
6210
6231
  "original": "../../utils"
6211
6232
  },
6233
+ {
6234
+ "path": "../lib/src/plugins/recommend-parking-space/recommend-core.js",
6235
+ "kind": "import-statement",
6236
+ "original": "./recommend-core"
6237
+ },
6212
6238
  {
6213
6239
  "path": "<runtime>",
6214
6240
  "kind": "import-statement",
@@ -6498,8 +6524,137 @@
6498
6524
  ],
6499
6525
  "format": "esm"
6500
6526
  },
6527
+ "../lib/src/plugins/graphic-draw/svg-drawer.js": {
6528
+ "bytes": 7303,
6529
+ "imports": [
6530
+ {
6531
+ "path": "core-js/modules/es.array.push.js",
6532
+ "kind": "import-statement",
6533
+ "external": true
6534
+ },
6535
+ {
6536
+ "path": "../lib/src/elements/base-svg.js",
6537
+ "kind": "import-statement",
6538
+ "original": "../../elements/base-svg"
6539
+ },
6540
+ {
6541
+ "path": "../lib/src/utils/svg.js",
6542
+ "kind": "import-statement",
6543
+ "original": "../../utils/svg"
6544
+ }
6545
+ ],
6546
+ "format": "esm"
6547
+ },
6548
+ "../lib/src/plugins/graphic-draw/transform-box.js": {
6549
+ "bytes": 11494,
6550
+ "imports": [
6551
+ {
6552
+ "path": "core-js/modules/es.array.push.js",
6553
+ "kind": "import-statement",
6554
+ "external": true
6555
+ },
6556
+ {
6557
+ "path": "../lib/src/elements/base-svg.js",
6558
+ "kind": "import-statement",
6559
+ "original": "../../elements/base-svg"
6560
+ },
6561
+ {
6562
+ "path": "../lib/src/utils/svg.js",
6563
+ "kind": "import-statement",
6564
+ "original": "../../utils/svg"
6565
+ },
6566
+ {
6567
+ "path": "three",
6568
+ "kind": "import-statement",
6569
+ "external": true
6570
+ }
6571
+ ],
6572
+ "format": "esm"
6573
+ },
6574
+ "../lib/src/plugins/graphic-draw/types.js": {
6575
+ "bytes": 325,
6576
+ "imports": [],
6577
+ "format": "esm"
6578
+ },
6579
+ "../lib/src/plugins/graphic-draw/graphic-draw.js": {
6580
+ "bytes": 27821,
6581
+ "imports": [
6582
+ {
6583
+ "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
6584
+ "kind": "import-statement",
6585
+ "original": "@swc/helpers/_/_extends"
6586
+ },
6587
+ {
6588
+ "path": "core-js/modules/es.array.push.js",
6589
+ "kind": "import-statement",
6590
+ "external": true
6591
+ },
6592
+ {
6593
+ "path": "core-js/modules/web.dom-collections.iterator.js",
6594
+ "kind": "import-statement",
6595
+ "external": true
6596
+ },
6597
+ {
6598
+ "path": "core-js/modules/es.array.reverse.js",
6599
+ "kind": "import-statement",
6600
+ "external": true
6601
+ },
6602
+ {
6603
+ "path": "three",
6604
+ "kind": "import-statement",
6605
+ "external": true
6606
+ },
6607
+ {
6608
+ "path": "../lib/src/plugins/base.js",
6609
+ "kind": "import-statement",
6610
+ "original": "../base"
6611
+ },
6612
+ {
6613
+ "path": "../lib/src/elements/graphic.js",
6614
+ "kind": "import-statement",
6615
+ "original": "../../elements/graphic"
6616
+ },
6617
+ {
6618
+ "path": "../lib/src/plugins/graphic-draw/svg-drawer.js",
6619
+ "kind": "import-statement",
6620
+ "original": "./svg-drawer"
6621
+ },
6622
+ {
6623
+ "path": "../lib/src/plugins/graphic-draw/transform-box.js",
6624
+ "kind": "import-statement",
6625
+ "original": "./transform-box"
6626
+ },
6627
+ {
6628
+ "path": "../lib/src/plugins/graphic-draw/types.js",
6629
+ "kind": "import-statement",
6630
+ "original": "./types"
6631
+ },
6632
+ {
6633
+ "path": "../lib/src/factory/unique-key.js",
6634
+ "kind": "import-statement",
6635
+ "original": "../../factory/unique-key"
6636
+ }
6637
+ ],
6638
+ "format": "esm"
6639
+ },
6640
+ "../lib/src/plugins/graphic-draw/index.js": {
6641
+ "bytes": 99,
6642
+ "imports": [
6643
+ {
6644
+ "path": "../lib/src/plugins/graphic-draw/graphic-draw.js",
6645
+ "kind": "import-statement",
6646
+ "original": "./graphic-draw"
6647
+ },
6648
+ {
6649
+ "path": "../lib/src/plugins/graphic-draw/types.js",
6650
+ "kind": "import-statement",
6651
+ "original": "./types"
6652
+ }
6653
+ ],
6654
+ "format": "esm"
6655
+ },
6501
6656
  "../lib/src/plugins/index.js": {
6502
- "bytes": 559,
6657
+ "bytes": 591,
6503
6658
  "imports": [
6504
6659
  {
6505
6660
  "path": "../lib/src/plugins/equipment/index.js",
@@ -6585,6 +6740,11 @@
6585
6740
  "path": "../lib/src/plugins/heatmap/index.js",
6586
6741
  "kind": "import-statement",
6587
6742
  "original": "./heatmap"
6743
+ },
6744
+ {
6745
+ "path": "../lib/src/plugins/graphic-draw/index.js",
6746
+ "kind": "import-statement",
6747
+ "original": "./graphic-draw"
6588
6748
  }
6589
6749
  ],
6590
6750
  "format": "esm"
@@ -9045,17 +9205,17 @@
9045
9205
  "external": true
9046
9206
  },
9047
9207
  {
9048
- "path": "core-js/modules/es.array.find-last-index.js",
9208
+ "path": "core-js/modules/es.array.push.js",
9049
9209
  "kind": "import-statement",
9050
9210
  "external": true
9051
9211
  },
9052
9212
  {
9053
- "path": "core-js/modules/es.array.find-last.js",
9213
+ "path": "core-js/modules/es.array.find-last-index.js",
9054
9214
  "kind": "import-statement",
9055
9215
  "external": true
9056
9216
  },
9057
9217
  {
9058
- "path": "core-js/modules/es.array.push.js",
9218
+ "path": "core-js/modules/es.array.find-last.js",
9059
9219
  "kind": "import-statement",
9060
9220
  "external": true
9061
9221
  },
@@ -9094,6 +9254,11 @@
9094
9254
  "kind": "import-statement",
9095
9255
  "external": true
9096
9256
  },
9257
+ {
9258
+ "path": "core-js/modules/es.array.push.js",
9259
+ "kind": "import-statement",
9260
+ "external": true
9261
+ },
9097
9262
  {
9098
9263
  "path": "core-js/modules/es.json.stringify.js",
9099
9264
  "kind": "import-statement",
@@ -9164,6 +9329,41 @@
9164
9329
  "kind": "import-statement",
9165
9330
  "external": true
9166
9331
  },
9332
+ {
9333
+ "path": "three",
9334
+ "kind": "import-statement",
9335
+ "external": true
9336
+ },
9337
+ {
9338
+ "path": "core-js/modules/es.array.push.js",
9339
+ "kind": "import-statement",
9340
+ "external": true
9341
+ },
9342
+ {
9343
+ "path": "core-js/modules/web.dom-collections.iterator.js",
9344
+ "kind": "import-statement",
9345
+ "external": true
9346
+ },
9347
+ {
9348
+ "path": "core-js/modules/es.array.reverse.js",
9349
+ "kind": "import-statement",
9350
+ "external": true
9351
+ },
9352
+ {
9353
+ "path": "three",
9354
+ "kind": "import-statement",
9355
+ "external": true
9356
+ },
9357
+ {
9358
+ "path": "core-js/modules/es.array.push.js",
9359
+ "kind": "import-statement",
9360
+ "external": true
9361
+ },
9362
+ {
9363
+ "path": "core-js/modules/es.array.push.js",
9364
+ "kind": "import-statement",
9365
+ "external": true
9366
+ },
9167
9367
  {
9168
9368
  "path": "three",
9169
9369
  "kind": "import-statement",
@@ -9190,6 +9390,7 @@
9190
9390
  "Floor",
9191
9391
  "GlbModel",
9192
9392
  "Graphic",
9393
+ "GraphicDraw",
9193
9394
  "GraphicLayer",
9194
9395
  "GroundTexture",
9195
9396
  "Heatmap",
@@ -9270,6 +9471,7 @@
9270
9471
  "createThreeLine",
9271
9472
  "darkenColor",
9272
9473
  "defaultConfig",
9474
+ "defaultGraphicDrawOptions",
9273
9475
  "defaultGraphicOptions",
9274
9476
  "defaultOptions",
9275
9477
  "defaultTextTextureOptions",
@@ -9303,6 +9505,7 @@
9303
9505
  "isMac",
9304
9506
  "isPointInPolygon",
9305
9507
  "isRectangle",
9508
+ "linearFitForSpeed",
9306
9509
  "loadBuildingGround",
9307
9510
  "loadExternalStreet",
9308
9511
  "loadGraphics",
@@ -9360,7 +9563,7 @@
9360
9563
  "bytesInOutput": 208
9361
9564
  },
9362
9565
  "../lib/src/bmap.js": {
9363
- "bytesInOutput": 11140
9566
+ "bytesInOutput": 11141
9364
9567
  },
9365
9568
  "../lib/src/context/context.js": {
9366
9569
  "bytesInOutput": 9423
@@ -9387,7 +9590,7 @@
9387
9590
  "bytesInOutput": 212
9388
9591
  },
9389
9592
  "../lib/src/utils/svg.js": {
9390
- "bytesInOutput": 870
9593
+ "bytesInOutput": 869
9391
9594
  },
9392
9595
  "../lib/src/utils/sleep.js": {
9393
9596
  "bytesInOutput": 255
@@ -9420,10 +9623,10 @@
9420
9623
  "bytesInOutput": 5426
9421
9624
  },
9422
9625
  "../lib/src/utils/road2.js": {
9423
- "bytesInOutput": 17294
9626
+ "bytesInOutput": 17440
9424
9627
  },
9425
9628
  "../lib/src/factory/unique-key.js": {
9426
- "bytesInOutput": 733
9629
+ "bytesInOutput": 774
9427
9630
  },
9428
9631
  "../lib/src/utils/string.js": {
9429
9632
  "bytesInOutput": 423
@@ -9465,13 +9668,13 @@
9465
9668
  "bytesInOutput": 3434
9466
9669
  },
9467
9670
  "../lib/src/elements/graphic.js": {
9468
- "bytesInOutput": 7605
9671
+ "bytesInOutput": 7606
9469
9672
  },
9470
9673
  "../lib/src/factory/material.js": {
9471
9674
  "bytesInOutput": 14209
9472
9675
  },
9473
9676
  "../lib/src/factory/text-texture.js": {
9474
- "bytesInOutput": 11005
9677
+ "bytesInOutput": 11009
9475
9678
  },
9476
9679
  "../lib/src/factory/worker/text-texture.worker.js": {
9477
9680
  "bytesInOutput": 101
@@ -9483,7 +9686,7 @@
9483
9686
  "bytesInOutput": 1669
9484
9687
  },
9485
9688
  "../lib/src/factory/img-texture.js": {
9486
- "bytesInOutput": 1574
9689
+ "bytesInOutput": 1581
9487
9690
  },
9488
9691
  "../lib/src/factory/model.js": {
9489
9692
  "bytesInOutput": 826
@@ -9567,7 +9770,7 @@
9567
9770
  "bytesInOutput": 14209
9568
9771
  },
9569
9772
  "../src/factory/unique-key.ts": {
9570
- "bytesInOutput": 327
9773
+ "bytesInOutput": 368
9571
9774
  },
9572
9775
  "../src/utils/webworker.ts": {
9573
9776
  "bytesInOutput": 277
@@ -9588,28 +9791,28 @@
9588
9791
  "bytesInOutput": 1595
9589
9792
  },
9590
9793
  "../lib/src/elements/poi2.js": {
9591
- "bytesInOutput": 8928
9794
+ "bytesInOutput": 8930
9592
9795
  },
9593
9796
  "../lib/src/elements/heatmap.js": {
9594
9797
  "bytesInOutput": 2123
9595
9798
  },
9596
9799
  "../lib/src/elements/svg-line.js": {
9597
- "bytesInOutput": 2240
9800
+ "bytesInOutput": 2255
9598
9801
  },
9599
9802
  "../lib/src/elements/base-svg.js": {
9600
- "bytesInOutput": 1026
9803
+ "bytesInOutput": 1283
9601
9804
  },
9602
9805
  "../lib/src/elements/svg-polygon.js": {
9603
- "bytesInOutput": 2568
9806
+ "bytesInOutput": 2583
9604
9807
  },
9605
9808
  "../lib/src/elements/select-box.js": {
9606
- "bytesInOutput": 1494
9809
+ "bytesInOutput": 1488
9607
9810
  },
9608
9811
  "../lib/src/elements/wall.js": {
9609
9812
  "bytesInOutput": 3779
9610
9813
  },
9611
9814
  "../lib/src/elements/ground-texture.js": {
9612
- "bytesInOutput": 1602
9815
+ "bytesInOutput": 1603
9613
9816
  },
9614
9817
  "../lib/src/elements/glb-model.js": {
9615
9818
  "bytesInOutput": 1176
@@ -9636,7 +9839,7 @@
9636
9839
  "bytesInOutput": 905
9637
9840
  },
9638
9841
  "../lib/src/elements/merge-attribute-ground-texture.js": {
9639
- "bytesInOutput": 1794
9842
+ "bytesInOutput": 1795
9640
9843
  },
9641
9844
  "../lib/src/elements/merge-attribute-lane.js": {
9642
9845
  "bytesInOutput": 2027
@@ -9654,7 +9857,7 @@
9654
9857
  "bytesInOutput": 806
9655
9858
  },
9656
9859
  "../lib/src/operations/selection/box-selection.js": {
9657
- "bytesInOutput": 2648
9860
+ "bytesInOutput": 2645
9658
9861
  },
9659
9862
  "../lib/src/operations/hover/hover-helper.js": {
9660
9863
  "bytesInOutput": 2929
@@ -9735,7 +9938,7 @@
9735
9938
  "bytesInOutput": 2266
9736
9939
  },
9737
9940
  "../lib/src/plugins/nav-path/nav-path.js": {
9738
- "bytesInOutput": 1752
9941
+ "bytesInOutput": 1860
9739
9942
  },
9740
9943
  "../lib/src/plugins/nav-path/path.worker.js": {
9741
9944
  "bytesInOutput": 93
@@ -9750,7 +9953,7 @@
9750
9953
  "bytesInOutput": 3905
9751
9954
  },
9752
9955
  "../lib/src/plugins/select/box-selection.js": {
9753
- "bytesInOutput": 2648
9956
+ "bytesInOutput": 2645
9754
9957
  },
9755
9958
  "../lib/src/plugins/pdr-position/sensor.js": {
9756
9959
  "bytesInOutput": 2925
@@ -9789,17 +9992,20 @@
9789
9992
  "bytesInOutput": 1040
9790
9993
  },
9791
9994
  "../lib/src/plugins/car-inertial-position/car-inertial-position.js": {
9792
- "bytesInOutput": 5753
9995
+ "bytesInOutput": 6611
9793
9996
  },
9794
9997
  "../lib/src/plugins/car-inertial-position/utils.js": {
9795
- "bytesInOutput": 1631
9998
+ "bytesInOutput": 1820
9796
9999
  },
9797
10000
  "../lib/src/plugins/recommend-parking-space/recommand-parking-space.js": {
9798
- "bytesInOutput": 732
10001
+ "bytesInOutput": 1192
9799
10002
  },
9800
10003
  "../lib/src/plugins/recommend-parking-space/recommend.worker.js": {
9801
10004
  "bytesInOutput": 98
9802
10005
  },
10006
+ "../lib/src/plugins/recommend-parking-space/recommend-core.js": {
10007
+ "bytesInOutput": 4004
10008
+ },
9803
10009
  "../lib/src/plugins/position/position.js": {
9804
10010
  "bytesInOutput": 11423
9805
10011
  },
@@ -9823,9 +10029,24 @@
9823
10029
  },
9824
10030
  "../lib/src/plugins/heatmap/heatmap.js": {
9825
10031
  "bytesInOutput": 575
10032
+ },
10033
+ "../lib/src/plugins/graphic-draw/graphic-draw.js": {
10034
+ "bytesInOutput": 13630
10035
+ },
10036
+ "../lib/src/plugins/graphic-draw/svg-drawer.js": {
10037
+ "bytesInOutput": 4523
10038
+ },
10039
+ "../lib/src/plugins/graphic-draw/transform-box.js": {
10040
+ "bytesInOutput": 5879
10041
+ },
10042
+ "../lib/src/plugins/graphic-draw/types.js": {
10043
+ "bytesInOutput": 213
10044
+ },
10045
+ "../lib/src/plugins/graphic-draw/index.js": {
10046
+ "bytesInOutput": 0
9826
10047
  }
9827
10048
  },
9828
- "bytes": 408016
10049
+ "bytes": 438472
9829
10050
  }
9830
10051
  }
9831
10052
  }
@@ -2,7 +2,6 @@ import { Context } from "../context/context";
2
2
  import { EventDispatcher, Vector3 } from "three";
3
3
  export declare class BaseSvg<T extends {} = {}> extends EventDispatcher<T> {
4
4
  context: Context;
5
- protected points: Vector3[];
6
5
  protected svg: SVGElement;
7
6
  protected enable: boolean;
8
7
  constructor(context: Context);
@@ -15,5 +14,6 @@ export declare class BaseSvg<T extends {} = {}> extends EventDispatcher<T> {
15
14
  x: number;
16
15
  y: number;
17
16
  };
17
+ getWorldToDeviceDistance(worldDistance: number): number;
18
18
  dispose(): void;
19
19
  }
@@ -8,6 +8,7 @@ interface SvgLineEventMap {
8
8
  }
9
9
  export declare class SvgLine extends BaseSvg<SvgLineEventMap> {
10
10
  context: Context;
11
+ protected points: Vector3[];
11
12
  circles: SVGElement[];
12
13
  line: SVGElement;
13
14
  constructor(context: Context);
@@ -7,6 +7,7 @@ interface SvgPolygonEventMap {
7
7
  };
8
8
  }
9
9
  export declare class SvgPolygon extends BaseSvg<SvgPolygonEventMap> {
10
+ protected points: Vector3[];
10
11
  circles: SVGElement[];
11
12
  lines: SVGElement[];
12
13
  isClose: boolean;
@@ -2,6 +2,7 @@ export declare class UniqueKeyFactory {
2
2
  static keySet: Set<string>;
3
3
  static createKey(): string;
4
4
  static genUniqueKey(): string;
5
+ static registerKey(key: string): void;
5
6
  static removeKey(key: string): void;
6
7
  static dispose(): void;
7
8
  }
@@ -36,9 +36,10 @@ export declare class CarInertialPosition extends EventDispatcher<CarInertialPosi
36
36
  angleExcessesCount: number;
37
37
  pathAngle: number;
38
38
  lastExternalPositionTime: number;
39
+ private _lastSpeedUpdateTime;
39
40
  constructor();
40
41
  setPathAngle(angle: number): void;
41
- changeSpeed(): void;
42
+ changeSpeed(): number | undefined;
42
43
  changeAngle(histories?: CarPosition[]): void;
43
44
  setAngle(angle: number, dispatch?: boolean): void;
44
45
  /**
@@ -1,4 +1,8 @@
1
1
  import { CarPosition } from "./car-inertial-position";
2
+ export declare function linearFitForSpeed(points: [number, number][]): {
3
+ m: number;
4
+ b: number;
5
+ };
2
6
  /**
3
7
  * 计算一组点位的斜率和方向 拟合成一条直线 然后选择一个起点终点
4
8
  * @param points