@mapgis/webclient-cesium-plugin 17.2.2 → 17.2.4

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.
Files changed (39) hide show
  1. package/README.md +17 -0
  2. package/dist/es5/webclient-cesium-plugin.min.js +3 -3
  3. package/dist/es5/webclient-common.min.js +3 -3
  4. package/dist/webclient-cesium-plugin-es6.min.js +3 -3
  5. package/documention/AlgorithmLib.html +7009 -0
  6. package/documention/AngulationTool.html +1068 -0
  7. package/documention/ArcGISMapServerImageryProvider.html +46 -3
  8. package/documention/ArcGISTileServerImageryProvider.html +43 -3
  9. package/documention/ArcGISVectorTileImageryProvider.html +6 -1
  10. package/documention/CesiumTerrainProvider.html +139 -0
  11. package/documention/CuttingTool.html +2910 -0
  12. package/documention/Deferred.html +139 -0
  13. package/documention/DrawElement.html +1643 -0
  14. package/documention/DrawTool.html +1275 -0
  15. package/documention/EditTool.html +1839 -0
  16. package/documention/FloodAnalysisReflection.html +1282 -0
  17. package/documention/Graphic.html +4789 -0
  18. package/documention/GraphicsLayer.html +5071 -0
  19. package/documention/MapGISTerrainProvider.html +16 -2
  20. package/documention/MapGISTileServerImageryProvider.html +39 -2
  21. package/documention/MeasureAreaTool.html +1182 -0
  22. package/documention/MeasureLengthTool.html +2306 -0
  23. package/documention/MeasureSlopeTool.html +1141 -0
  24. package/documention/ModelEditor.html +356 -0
  25. package/documention/PostProcessStageLibrary.html +1329 -0
  26. package/documention/Promise.html +980 -0
  27. package/documention/RiverGeometry.html +2659 -0
  28. package/documention/S3MTileset.html +34 -1
  29. package/documention/SelectTool.html +784 -0
  30. package/documention/ShadowRateAnalysis.html +1827 -0
  31. package/documention/ShadowRateDrawCommand.html +917 -0
  32. package/documention/Style.html +14203 -0
  33. package/documention/Tooltip.html +877 -0
  34. package/documention/TriangulationTool.html +1721 -0
  35. package/documention/VisiblityAnalysis.html +1998 -0
  36. package/documention/WaterReflection.html +1476 -0
  37. package/documention/WebMapServiceImageryProvider.html +45 -3
  38. package/documention/WebMapTileServiceImageryProvider.html +45 -3
  39. package/package.json +1 -1
@@ -0,0 +1,1721 @@
1
+ <header id="page-title" class="page-title">
2
+
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">TriangulationTool</span>
5
+
6
+ </header>
7
+
8
+
9
+
10
+
11
+
12
+ <section>
13
+
14
+ <article>
15
+ <div class="container-overview">
16
+
17
+
18
+ <div class='vertical-section'>
19
+ <div class="members">
20
+ <div class="member">
21
+
22
+
23
+
24
+
25
+ <h4 class="name" id="TriangulationTool">
26
+ <a class="href-link" href="#TriangulationTool">#</a>
27
+
28
+ <span class="code-name" id="TriangulationTool" style="font-size:30px">
29
+
30
+ new TriangulationTool<span class="signature">(viewer, options)</span>
31
+
32
+ </span>
33
+ </h4>
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <h4>参数</h4>
47
+
48
+ <div class="table-container">
49
+ <table class="params table">
50
+ <thead>
51
+ <tr>
52
+
53
+ <th>名称</th>
54
+
55
+
56
+ <th>类型</th>
57
+
58
+
59
+ <th style="min-width: 100px;">默认值</th>
60
+
61
+
62
+ <th class="last">描述</th>
63
+ </tr>
64
+ </thead>
65
+
66
+ <tbody>
67
+
68
+
69
+
70
+ <tr class="deep-level-0">
71
+
72
+ <td class="name"><code>viewer</code></td>
73
+
74
+
75
+ <td class="type">
76
+
77
+
78
+ <span class="param-type">
79
+
80
+ Object
81
+
82
+ </span>
83
+
84
+
85
+
86
+
87
+ </td>
88
+
89
+
90
+ <td class="default">
91
+
92
+ </td>
93
+
94
+
95
+ <td class="description last"><p>视图</p></td>
96
+ </tr>
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <tr class="deep-level-0">
104
+
105
+ <td class="name"><code>options</code></td>
106
+
107
+
108
+ <td class="type">
109
+
110
+
111
+ <span class="param-type">
112
+
113
+ Object
114
+
115
+ </span>
116
+
117
+
118
+
119
+
120
+ </td>
121
+
122
+
123
+ <td class="default">
124
+
125
+ </td>
126
+
127
+
128
+ <td class="description last"><p>包含以下属性的对象</p></td>
129
+ </tr>
130
+
131
+
132
+
133
+
134
+ <tr class="deep-level-1">
135
+
136
+ <td class="name"><code>callBack</code></td>
137
+
138
+
139
+ <td class="type">
140
+
141
+
142
+ <span class="param-type">
143
+
144
+ Boolean
145
+
146
+ </span>
147
+
148
+
149
+
150
+
151
+ </td>
152
+
153
+
154
+ <td class="default">
155
+
156
+ function(result, positions){}
157
+
158
+ </td>
159
+
160
+
161
+ <td class="description last"><p>回调函数</p></td>
162
+ </tr>
163
+
164
+
165
+
166
+
167
+ <tr class="deep-level-1">
168
+
169
+ <td class="name"><code>labelCallBack</code></td>
170
+
171
+
172
+ <td class="type">
173
+
174
+
175
+ <span class="param-type">
176
+
177
+ Boolean
178
+
179
+ </span>
180
+
181
+
182
+
183
+
184
+ </td>
185
+
186
+
187
+ <td class="default">
188
+
189
+ function(result, label){}
190
+
191
+ </td>
192
+
193
+
194
+ <td class="description last"><p>测量完毕后提示框的回调函数,可以覆盖提示内容</p></td>
195
+ </tr>
196
+
197
+
198
+
199
+
200
+ <tr class="deep-level-1">
201
+
202
+ <td class="name"><code>disableDepthTestDistance</code></td>
203
+
204
+
205
+ <td class="type">
206
+
207
+
208
+ <span class="param-type">
209
+
210
+ Number
211
+
212
+ </span>
213
+
214
+
215
+
216
+
217
+ </td>
218
+
219
+
220
+ <td class="default">
221
+
222
+ Number.POSITIVE_INFINITY
223
+
224
+ </td>
225
+
226
+
227
+ <td class="description last"><p>只要小于这个距离深度检测就会失效,就会一直显示在最前面 不会被遮挡</p></td>
228
+ </tr>
229
+
230
+
231
+
232
+
233
+ <tr class="deep-level-1">
234
+
235
+ <td class="name"><code>lineColor</code></td>
236
+
237
+
238
+ <td class="type">
239
+
240
+
241
+ <span class="param-type">
242
+
243
+ Cesium.Color
244
+
245
+ </span>
246
+
247
+
248
+
249
+
250
+ </td>
251
+
252
+
253
+ <td class="default">
254
+
255
+ </td>
256
+
257
+
258
+ <td class="description last"><p>线颜色</p></td>
259
+ </tr>
260
+
261
+
262
+
263
+
264
+ <tr class="deep-level-1">
265
+
266
+ <td class="name"><code>pointColor</code></td>
267
+
268
+
269
+ <td class="type">
270
+
271
+
272
+ <span class="param-type">
273
+
274
+ Cesium.Color
275
+
276
+ </span>
277
+
278
+
279
+
280
+
281
+ </td>
282
+
283
+
284
+ <td class="default">
285
+
286
+ </td>
287
+
288
+
289
+ <td class="description last"><p>点颜色</p></td>
290
+ </tr>
291
+
292
+
293
+
294
+
295
+ <tr class="deep-level-1">
296
+
297
+ <td class="name"><code>lineMaterial</code></td>
298
+
299
+
300
+ <td class="type">
301
+
302
+
303
+ <span class="param-type">
304
+
305
+ Material
306
+
307
+ </span>
308
+
309
+
310
+
311
+
312
+ </td>
313
+
314
+
315
+ <td class="default">
316
+
317
+ </td>
318
+
319
+
320
+ <td class="description last"><p>线材质</p></td>
321
+ </tr>
322
+
323
+
324
+
325
+
326
+ <tr class="deep-level-1">
327
+
328
+ <td class="name"><code>style</code></td>
329
+
330
+
331
+ <td class="type">
332
+
333
+
334
+ <span class="param-type">
335
+
336
+ Cesium.LabelStyle
337
+
338
+ </span>
339
+
340
+
341
+
342
+
343
+ </td>
344
+
345
+
346
+ <td class="default">
347
+
348
+ Cesium.LabelStyle.FILL
349
+
350
+ </td>
351
+
352
+
353
+ <td class="description last"><p>label 文字的样式,支持填充、线框。填充和线框, FILL, OUTLINE, FILL_AND_OUTLINE</p></td>
354
+ </tr>
355
+
356
+
357
+
358
+
359
+ <tr class="deep-level-1">
360
+
361
+ <td class="name"><code>font</code></td>
362
+
363
+
364
+ <td class="type">
365
+
366
+
367
+ <span class="param-type">
368
+
369
+ String
370
+
371
+ </span>
372
+
373
+
374
+
375
+
376
+ </td>
377
+
378
+
379
+ <td class="default">
380
+
381
+ '12pt 楷体'
382
+
383
+ </td>
384
+
385
+
386
+ <td class="description last"><p>label 的字体以及大小 @see <a class="mapgis-link-name" title="https://html.spec.whatwg.org/multipage/canvas.html#text-styles" https://html.spec.whatwg.org/multipage/canvas.html#text-styles>https://html.spec.whatwg.org/multipage/canvas.html#text-styles</a></p></td>
387
+ </tr>
388
+
389
+
390
+
391
+
392
+ <tr class="deep-level-1">
393
+
394
+ <td class="name"><code>fillColor</code></td>
395
+
396
+
397
+ <td class="type">
398
+
399
+
400
+ <span class="param-type">
401
+
402
+ Cesium.Color
403
+
404
+ </span>
405
+
406
+
407
+
408
+
409
+ </td>
410
+
411
+
412
+ <td class="default">
413
+
414
+ Cesium.Color.WHITE
415
+
416
+ </td>
417
+
418
+
419
+ <td class="description last"><p>label 的字体颜色</p></td>
420
+ </tr>
421
+
422
+
423
+
424
+
425
+ <tr class="deep-level-1">
426
+
427
+ <td class="name"><code>outlineColor</code></td>
428
+
429
+
430
+ <td class="type">
431
+
432
+
433
+ <span class="param-type">
434
+
435
+ Cesium.Color
436
+
437
+ </span>
438
+
439
+
440
+
441
+
442
+ </td>
443
+
444
+
445
+ <td class="default">
446
+
447
+ Cesium.Color.WHITE
448
+
449
+ </td>
450
+
451
+
452
+ <td class="description last"><p>label 文字线框的颜色</p></td>
453
+ </tr>
454
+
455
+
456
+
457
+
458
+ <tr class="deep-level-1">
459
+
460
+ <td class="name"><code>outlineWidth</code></td>
461
+
462
+
463
+ <td class="type">
464
+
465
+
466
+ <span class="param-type">
467
+
468
+ Number
469
+
470
+ </span>
471
+
472
+
473
+
474
+
475
+ </td>
476
+
477
+
478
+ <td class="default">
479
+
480
+ 4.0
481
+
482
+ </td>
483
+
484
+
485
+ <td class="description last"><p>label 的外轮廓边线</p></td>
486
+ </tr>
487
+
488
+
489
+
490
+
491
+ <tr class="deep-level-1">
492
+
493
+ <td class="name"><code>verticalOrigin</code></td>
494
+
495
+
496
+ <td class="type">
497
+
498
+
499
+ <span class="param-type">
500
+
501
+ Cesium.VerticalOrigin
502
+
503
+ </span>
504
+
505
+
506
+
507
+
508
+ </td>
509
+
510
+
511
+ <td class="default">
512
+
513
+ Cesium.VerticalOrigin.BOTTOM
514
+
515
+ </td>
516
+
517
+
518
+ <td class="description last"><p>label 的摆放位置</p></td>
519
+ </tr>
520
+
521
+
522
+
523
+
524
+ <tr class="deep-level-1">
525
+
526
+ <td class="name"><code>showBackground</code></td>
527
+
528
+
529
+ <td class="type">
530
+
531
+
532
+ <span class="param-type">
533
+
534
+ Boolean
535
+
536
+ </span>
537
+
538
+
539
+
540
+
541
+ </td>
542
+
543
+
544
+ <td class="default">
545
+
546
+ true
547
+
548
+ </td>
549
+
550
+
551
+ <td class="description last"><p>是否显示 label 的背景</p></td>
552
+ </tr>
553
+
554
+
555
+
556
+
557
+ <tr class="deep-level-1">
558
+
559
+ <td class="name"><code>backgroundColor</code></td>
560
+
561
+
562
+ <td class="type">
563
+
564
+
565
+ <span class="param-type">
566
+
567
+ Cesium.Color
568
+
569
+ </span>
570
+
571
+
572
+
573
+
574
+ </td>
575
+
576
+
577
+ <td class="default">
578
+
579
+ new Cesium.Color(0, 0, 0, 0.4)
580
+
581
+ </td>
582
+
583
+
584
+ <td class="description last"><p>lable 背景的颜色</p></td>
585
+ </tr>
586
+
587
+
588
+
589
+
590
+ <tr class="deep-level-1">
591
+
592
+ <td class="name"><code>pixelOffset</code></td>
593
+
594
+
595
+ <td class="type">
596
+
597
+
598
+ <span class="param-type">
599
+
600
+ Cesium.Cartesian2
601
+
602
+ </span>
603
+
604
+
605
+
606
+
607
+ </td>
608
+
609
+
610
+ <td class="default">
611
+
612
+ new Cesium.Cartesian2(0, -4)
613
+
614
+ </td>
615
+
616
+
617
+ <td class="description last"><p>label 相对于设定点的偏移位置</p></td>
618
+ </tr>
619
+
620
+
621
+
622
+
623
+ <tr class="deep-level-1">
624
+
625
+ <td class="name"><code>showMoreInfo</code></td>
626
+
627
+
628
+ <td class="type">
629
+
630
+
631
+ <span class="param-type">
632
+
633
+ Boolean
634
+
635
+ </span>
636
+
637
+
638
+
639
+
640
+ </td>
641
+
642
+
643
+ <td class="default">
644
+
645
+ true
646
+
647
+ </td>
648
+
649
+
650
+ <td class="description last"><p>是否显示详细信息。默认显示。</p></td>
651
+ </tr>
652
+
653
+
654
+
655
+
656
+ <tr class="deep-level-1">
657
+
658
+ <td class="name"><code>enableABS</code></td>
659
+
660
+
661
+ <td class="type">
662
+
663
+
664
+ <span class="param-type">
665
+
666
+ Boolean
667
+
668
+ </span>
669
+
670
+
671
+
672
+
673
+ </td>
674
+
675
+
676
+ <td class="default">
677
+
678
+ false
679
+
680
+ </td>
681
+
682
+
683
+ <td class="description last"><p>展示信息时是否使用绝对值。默认不使用。</p></td>
684
+ </tr>
685
+
686
+
687
+
688
+
689
+ <tr class="deep-level-1">
690
+
691
+ <td class="name"><code>enableScaleByDistance</code></td>
692
+
693
+
694
+ <td class="type">
695
+
696
+
697
+ <span class="param-type">
698
+
699
+ Number
700
+
701
+ </span>
702
+
703
+
704
+
705
+
706
+ </td>
707
+
708
+
709
+ <td class="default">
710
+
711
+ true
712
+
713
+ </td>
714
+
715
+
716
+ <td class="description last"><p>是否启用标签随视角高度缩放功能</p></td>
717
+ </tr>
718
+
719
+
720
+
721
+
722
+ <tr class="deep-level-1">
723
+
724
+ <td class="name"><code>scaleByDistance</code></td>
725
+
726
+
727
+ <td class="type">
728
+
729
+
730
+ <span class="param-type">
731
+
732
+ NearFarScalar
733
+
734
+ </span>
735
+
736
+
737
+
738
+
739
+ </td>
740
+
741
+
742
+ <td class="default">
743
+
744
+ null
745
+
746
+ </td>
747
+
748
+
749
+ <td class="description last"><p>标签大小随视角高度缩放函数,用户可自定义,不传则使用默认函数,会传入一个当前的相机视角高度,返回一个NearFarScale函数对象,详见下方示例</p></td>
750
+ </tr>
751
+
752
+
753
+
754
+
755
+
756
+
757
+
758
+ </tbody>
759
+ </table>
760
+ </div>
761
+
762
+
763
+
764
+
765
+
766
+
767
+ <dl class="details">
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+ <dt class="tag-author">作者:</dt>
787
+ <dd class="tag-author">
788
+ <ul>
789
+ <li>韩彦生</li>
790
+ </ul>
791
+ </dd>
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+
806
+ </dl>
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+
830
+ <h5>示例</h5>
831
+
832
+
833
+ <pre class="prettyprint"><code>function callBack(arg){
834
+ }
835
+ var triangulationTool = new Cesium.TriangulationTool(viewer,{
836
+ callBack:callBack,
837
+ scaleByDistance: function(height) {
838
+ if (height &lt; 30) {
839
+ return new NearFarScalar(30, 3, 180, 0);
840
+ } else if (height &lt; 60) {
841
+ return new NearFarScalar(60, 3, 360, 0);
842
+ } else if (height &lt; 120) {
843
+ return new NearFarScalar(120, 3, 720, 0);
844
+ } else if (height &lt; 240) {
845
+ return new NearFarScalar(240, 2, 1200, 0);
846
+ } else if (height &lt; 480) {
847
+ return new NearFarScalar(480, 2, 2400, 0);
848
+ } else if (height &lt; 960) {
849
+ return new NearFarScalar(960, 2, 4800, 0);
850
+ } else if (height &lt; 1920) {
851
+ return new NearFarScalar(1920, 2, 9600, 0);
852
+ } else if (height &lt; 3840) {
853
+ return new NearFarScalar(3840, 2, 19200, 0);
854
+ } else if (height &lt; 7680) {
855
+ return new NearFarScalar(7680, 2, 38400, 0);
856
+ } else if (height &lt; 15360) {
857
+ return new NearFarScalar(15360, 2, 76800, 0);
858
+ } else if (height &lt; 30720) {
859
+ return new NearFarScalar(30720, 2, 153600, 0);
860
+ } else if (height &lt; 61440) {
861
+ return new NearFarScalar(61440, 2, 307200, 0);
862
+ } else if (height &lt; 122880) {
863
+ return new NearFarScalar(122880, 2, 614400, 0);
864
+ } else if (height &lt; 245760) {
865
+ return new NearFarScalar(245760, 2, 1228800, 0);
866
+ } else if (height &lt; 491520) {
867
+ return new NearFarScalar(491520, 2, 2457600, 0);
868
+ } else if (height &lt; 983040) {
869
+ return new NearFarScalar(983040, 2, 4915200, 0);
870
+ } else if (height &lt; 1966080) {
871
+ return new NearFarScalar(1966080, 2, 9830400, 0);
872
+ } else if (height &lt; 3932160) {
873
+ return new NearFarScalar(3932160, 1, 19660800, 0);
874
+ } else if (height &lt; 7864320) {
875
+ return new NearFarScalar(7864320, 1, 39321600, 0);
876
+ } else if (height &lt; 15728640) {
877
+ return new NearFarScalar(15728640, 1, 78643200, 0);
878
+ }
879
+ return new NearFarScalar(15728640, 1, 78643200, 0);
880
+ }
881
+ });
882
+ triangulationTool.startTool(); //开始测量
883
+ //triangulationTool.stopTool(); //结束测量
884
+ scene.camera.enableTerrainAdjustmentWhenLoading = false;</code></pre>
885
+
886
+
887
+
888
+
889
+ </div>
890
+ </div>
891
+ </div>
892
+
893
+
894
+ </div>
895
+
896
+
897
+
898
+
899
+
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+ <div class='vertical-section'>
910
+ <h3 id='member'>成员变量</h3>
911
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
912
+ <div class="table-container">
913
+ <table class="params table">
914
+ <thead>
915
+ <tr>
916
+ <th>名称</th>
917
+ <th>类型</th>
918
+ <th>描述</th>
919
+ </tr>
920
+ </thead>
921
+ <tbody>
922
+
923
+ <tr class="deep-level-0">
924
+ <td class="name"><code><a href="#horizontalDiatance">horizontalDiatance</a></code></td>
925
+ <td class="name">
926
+ <code>
927
+
928
+ <span class="param-type">
929
+
930
+ Number
931
+
932
+ </span>
933
+
934
+
935
+
936
+ </code>
937
+ </td>
938
+ <td class="name"><code><p>水平距离</p></code></td>
939
+ </tr>
940
+
941
+ <tr class="deep-level-0">
942
+ <td class="name"><code><a href="#rightClickReBegin">rightClickReBegin</a></code></td>
943
+ <td class="name">
944
+ <code>
945
+
946
+ <span class="param-type">
947
+
948
+ Boolean
949
+
950
+ </span>
951
+
952
+
953
+
954
+ </code>
955
+ </td>
956
+ <td class="name"><code><p>右键是否继续重新</p></code></td>
957
+ </tr>
958
+
959
+ <tr class="deep-level-0">
960
+ <td class="name"><code><a href="#slantDiatance">slantDiatance</a></code></td>
961
+ <td class="name">
962
+ <code>
963
+
964
+ <span class="param-type">
965
+
966
+ Number
967
+
968
+ </span>
969
+
970
+
971
+
972
+ </code>
973
+ </td>
974
+ <td class="name"><code><p>直线距离</p></code></td>
975
+ </tr>
976
+
977
+ <tr class="deep-level-0">
978
+ <td class="name"><code><a href="#verticalDiatance">verticalDiatance</a></code></td>
979
+ <td class="name">
980
+ <code>
981
+
982
+ <span class="param-type">
983
+
984
+ Number
985
+
986
+ </span>
987
+
988
+
989
+
990
+ </code>
991
+ </td>
992
+ <td class="name"><code><p>高差</p></code></td>
993
+ </tr>
994
+
995
+ </tbody>
996
+ </table>
997
+ </div>
998
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
999
+ <div class="members">
1000
+
1001
+ <div class="member">
1002
+
1003
+ <span class="method-parameter is-pulled-right">
1004
+ <label>类型:</label>
1005
+
1006
+ <span class="param-type">
1007
+
1008
+ Number
1009
+
1010
+ </span>
1011
+
1012
+
1013
+
1014
+ </span>
1015
+
1016
+ <h4 class="name" id="horizontalDiatance">
1017
+ <a class="href-link" href="#horizontalDiatance">#</a>
1018
+
1019
+ <span class="code-name">
1020
+ horizontalDiatance
1021
+ </span>
1022
+
1023
+ </h4>
1024
+
1025
+
1026
+
1027
+
1028
+ <div class="description">
1029
+ <p>水平距离</p>
1030
+ </div>
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+ <dl class="details">
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+
1048
+
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+ </dl>
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+ </div>
1075
+
1076
+ <div class="member">
1077
+
1078
+ <span class="method-parameter is-pulled-right">
1079
+ <label>类型:</label>
1080
+
1081
+ <span class="param-type">
1082
+
1083
+ Boolean
1084
+
1085
+ </span>
1086
+
1087
+
1088
+
1089
+ </span>
1090
+
1091
+ <h4 class="name" id="rightClickReBegin">
1092
+ <a class="href-link" href="#rightClickReBegin">#</a>
1093
+
1094
+ <span class="code-name">
1095
+ rightClickReBegin
1096
+ </span>
1097
+
1098
+ </h4>
1099
+
1100
+
1101
+
1102
+
1103
+ <div class="description">
1104
+ <p>右键是否继续重新</p>
1105
+ </div>
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+ <dl class="details">
1112
+
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+
1143
+ </dl>
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+ </div>
1150
+
1151
+ <div class="member">
1152
+
1153
+ <span class="method-parameter is-pulled-right">
1154
+ <label>类型:</label>
1155
+
1156
+ <span class="param-type">
1157
+
1158
+ Number
1159
+
1160
+ </span>
1161
+
1162
+
1163
+
1164
+ </span>
1165
+
1166
+ <h4 class="name" id="slantDiatance">
1167
+ <a class="href-link" href="#slantDiatance">#</a>
1168
+
1169
+ <span class="code-name">
1170
+ slantDiatance
1171
+ </span>
1172
+
1173
+ </h4>
1174
+
1175
+
1176
+
1177
+
1178
+ <div class="description">
1179
+ <p>直线距离</p>
1180
+ </div>
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+ <dl class="details">
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+
1207
+
1208
+
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+
1216
+
1217
+
1218
+ </dl>
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+ </div>
1225
+
1226
+ <div class="member">
1227
+
1228
+ <span class="method-parameter is-pulled-right">
1229
+ <label>类型:</label>
1230
+
1231
+ <span class="param-type">
1232
+
1233
+ Number
1234
+
1235
+ </span>
1236
+
1237
+
1238
+
1239
+ </span>
1240
+
1241
+ <h4 class="name" id="verticalDiatance">
1242
+ <a class="href-link" href="#verticalDiatance">#</a>
1243
+
1244
+ <span class="code-name">
1245
+ verticalDiatance
1246
+ </span>
1247
+
1248
+ </h4>
1249
+
1250
+
1251
+
1252
+
1253
+ <div class="description">
1254
+ <p>高差</p>
1255
+ </div>
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+ <dl class="details">
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+
1269
+
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+ </dl>
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+ </div>
1300
+
1301
+ </div>
1302
+ </div>
1303
+
1304
+
1305
+
1306
+ <div class='vertical-section'>
1307
+ <h3 id='function'>方法</h3>
1308
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
1309
+ <div class="members">
1310
+ <div class="table-container">
1311
+ <table class="params table">
1312
+ <thead>
1313
+ <tr>
1314
+ <th>名称</th>
1315
+ <th>返回值类型</th>
1316
+ <th>描述</th>
1317
+ </tr>
1318
+ </thead>
1319
+ <tbody>
1320
+
1321
+ <tr class="deep-level-0">
1322
+ <td class="name"><code><a href="#calculateByTwoPoints">calculateByTwoPoints</a></code></td>
1323
+ <td class="name">
1324
+ <code>
1325
+
1326
+ </code>
1327
+ </td>
1328
+ <td class="name"><code><p>计算两点之间的高程差</p></code></td>
1329
+ </tr>
1330
+
1331
+ <tr class="deep-level-0">
1332
+ <td class="name"><code><a href="#startTool">startTool</a></code></td>
1333
+ <td class="name">
1334
+ <code>
1335
+
1336
+ </code>
1337
+ </td>
1338
+ <td class="name"><code><p>开始测量</p></code></td>
1339
+ </tr>
1340
+
1341
+ <tr class="deep-level-0">
1342
+ <td class="name"><code><a href="#stopTool">stopTool</a></code></td>
1343
+ <td class="name">
1344
+ <code>
1345
+
1346
+ </code>
1347
+ </td>
1348
+ <td class="name"><code><p>结束测量</p></code></td>
1349
+ </tr>
1350
+
1351
+ </tbody>
1352
+ </table>
1353
+ </div>
1354
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
1355
+
1356
+ <div class="member">
1357
+
1358
+
1359
+
1360
+ <h4 class="name" id="calculateByTwoPoints">
1361
+ <a class="href-link" href="#calculateByTwoPoints">#</a>
1362
+
1363
+ <span class="code-name" id="calculateByTwoPoints" style="font-size:30px">
1364
+
1365
+ calculateByTwoPoints<span class="signature">(startPoint, endPoint)</span>
1366
+
1367
+ </span>
1368
+ </h4>
1369
+
1370
+
1371
+
1372
+ <div class="description">
1373
+ <p>计算两点之间的高程差</p>
1374
+ </div>
1375
+
1376
+
1377
+
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+ <h4>参数</h4>
1386
+
1387
+ <div class="table-container">
1388
+ <table class="params table">
1389
+ <thead>
1390
+ <tr>
1391
+
1392
+ <th>名称</th>
1393
+
1394
+
1395
+ <th>类型</th>
1396
+
1397
+
1398
+
1399
+ <th class="last">描述</th>
1400
+ </tr>
1401
+ </thead>
1402
+
1403
+ <tbody>
1404
+
1405
+
1406
+
1407
+ <tr class="deep-level-0">
1408
+
1409
+ <td class="name"><code>startPoint</code></td>
1410
+
1411
+
1412
+ <td class="type">
1413
+
1414
+
1415
+ <span class="param-type">
1416
+
1417
+ Object
1418
+
1419
+ </span>
1420
+
1421
+
1422
+
1423
+
1424
+ </td>
1425
+
1426
+
1427
+
1428
+ <td class="description last"><p>起始点</p></td>
1429
+ </tr>
1430
+
1431
+
1432
+
1433
+
1434
+
1435
+
1436
+ <tr class="deep-level-0">
1437
+
1438
+ <td class="name"><code>endPoint</code></td>
1439
+
1440
+
1441
+ <td class="type">
1442
+
1443
+
1444
+ <span class="param-type">
1445
+
1446
+ Object
1447
+
1448
+ </span>
1449
+
1450
+
1451
+
1452
+
1453
+ </td>
1454
+
1455
+
1456
+
1457
+ <td class="description last"><p>终止点</p></td>
1458
+ </tr>
1459
+
1460
+
1461
+
1462
+
1463
+ </tbody>
1464
+ </table>
1465
+ </div>
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+ <dl class="details">
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+
1489
+
1490
+
1491
+
1492
+
1493
+
1494
+
1495
+
1496
+
1497
+
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+ </dl>
1505
+
1506
+
1507
+
1508
+
1509
+
1510
+
1511
+
1512
+
1513
+
1514
+
1515
+
1516
+
1517
+
1518
+
1519
+
1520
+
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+ </div>
1529
+
1530
+ <div class="member">
1531
+
1532
+
1533
+
1534
+ <h4 class="name" id="startTool">
1535
+ <a class="href-link" href="#startTool">#</a>
1536
+
1537
+ <span class="code-name" id="startTool" style="font-size:30px">
1538
+
1539
+ startTool<span class="signature">()</span>
1540
+
1541
+ </span>
1542
+ </h4>
1543
+
1544
+
1545
+
1546
+ <div class="description">
1547
+ <p>开始测量</p>
1548
+ </div>
1549
+
1550
+
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+
1557
+
1558
+
1559
+
1560
+
1561
+
1562
+
1563
+ <dl class="details">
1564
+
1565
+
1566
+
1567
+
1568
+
1569
+
1570
+
1571
+
1572
+
1573
+
1574
+
1575
+
1576
+
1577
+
1578
+
1579
+
1580
+
1581
+
1582
+
1583
+
1584
+
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+ </dl>
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+
1603
+
1604
+
1605
+
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+ </div>
1620
+
1621
+ <div class="member">
1622
+
1623
+
1624
+
1625
+ <h4 class="name" id="stopTool">
1626
+ <a class="href-link" href="#stopTool">#</a>
1627
+
1628
+ <span class="code-name" id="stopTool" style="font-size:30px">
1629
+
1630
+ stopTool<span class="signature">()</span>
1631
+
1632
+ </span>
1633
+ </h4>
1634
+
1635
+
1636
+
1637
+ <div class="description">
1638
+ <p>结束测量</p>
1639
+ </div>
1640
+
1641
+
1642
+
1643
+
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+
1653
+
1654
+ <dl class="details">
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+
1661
+
1662
+
1663
+
1664
+
1665
+
1666
+
1667
+
1668
+
1669
+
1670
+
1671
+
1672
+
1673
+
1674
+
1675
+
1676
+
1677
+
1678
+
1679
+
1680
+
1681
+
1682
+
1683
+
1684
+
1685
+
1686
+ </dl>
1687
+
1688
+
1689
+
1690
+
1691
+
1692
+
1693
+
1694
+
1695
+
1696
+
1697
+
1698
+
1699
+
1700
+
1701
+
1702
+
1703
+
1704
+
1705
+
1706
+
1707
+
1708
+
1709
+
1710
+ </div>
1711
+
1712
+ </div>
1713
+ </div>
1714
+
1715
+
1716
+
1717
+
1718
+
1719
+ </article>
1720
+
1721
+ </section>