@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,1998 @@
1
+ <header id="page-title" class="page-title">
2
+
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">VisiblityAnalysis</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="VisiblityAnalysis">
26
+ <a class="href-link" href="#VisiblityAnalysis">#</a>
27
+
28
+ <span class="code-name" id="VisiblityAnalysis" style="font-size:30px">
29
+
30
+ new VisiblityAnalysis<span class="signature">(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>options</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
+ <tr class="deep-level-1">
102
+
103
+ <td class="name"><code>scene</code></td>
104
+
105
+
106
+ <td class="type">
107
+
108
+
109
+ <span class="param-type">
110
+
111
+ Scene
112
+
113
+ </span>
114
+
115
+
116
+
117
+
118
+ </td>
119
+
120
+
121
+ <td class="default">
122
+
123
+ </td>
124
+
125
+
126
+ <td class="description last"><p>Cesium 场景对象</p></td>
127
+ </tr>
128
+
129
+
130
+
131
+
132
+ <tr class="deep-level-1">
133
+
134
+ <td class="name"><code>visibleColor</code></td>
135
+
136
+
137
+ <td class="type">
138
+
139
+
140
+ <span class="param-type">
141
+
142
+ Cesium.Color
143
+
144
+ </span>
145
+
146
+
147
+
148
+
149
+ </td>
150
+
151
+
152
+ <td class="default">
153
+
154
+ new Cesium.Color(0, 1, 0, 0.5)
155
+
156
+ </td>
157
+
158
+
159
+ <td class="description last"><p>设置可视段颜色</p></td>
160
+ </tr>
161
+
162
+
163
+
164
+
165
+ <tr class="deep-level-1">
166
+
167
+ <td class="name"><code>unvisibleColor</code></td>
168
+
169
+
170
+ <td class="type">
171
+
172
+
173
+ <span class="param-type">
174
+
175
+ Cesium.Color
176
+
177
+ </span>
178
+
179
+
180
+
181
+
182
+ </td>
183
+
184
+
185
+ <td class="default">
186
+
187
+ new Cesium.Color(1, 0, 0, 0.5)
188
+
189
+ </td>
190
+
191
+
192
+ <td class="description last"><p>设置不可视段颜色</p></td>
193
+ </tr>
194
+
195
+
196
+
197
+
198
+ <tr class="deep-level-1">
199
+
200
+ <td class="name"><code>exHeight</code></td>
201
+
202
+
203
+ <td class="type">
204
+
205
+
206
+ <span class="param-type">
207
+
208
+ Number
209
+
210
+ </span>
211
+
212
+
213
+
214
+
215
+ </td>
216
+
217
+
218
+ <td class="default">
219
+
220
+ 0
221
+
222
+ </td>
223
+
224
+
225
+ <td class="description last"><p>设置视点附加高度</p></td>
226
+ </tr>
227
+
228
+
229
+
230
+
231
+ <tr class="deep-level-1">
232
+
233
+ <td class="name"><code>fanColor</code></td>
234
+
235
+
236
+ <td class="type">
237
+
238
+
239
+ <span class="param-type">
240
+
241
+ Cesium.Color
242
+
243
+ </span>
244
+
245
+
246
+
247
+
248
+ </td>
249
+
250
+
251
+ <td class="default">
252
+
253
+ new Cesium.Color(79 / 255, 238 / 255, 215 / 255, 0.2)
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>fanGridColor</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
+ Cesium.Cesium.Color.WHITE
287
+
288
+ </td>
289
+
290
+
291
+ <td class="description last"><p>环型通视分析视窗网格颜色</p></td>
292
+ </tr>
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+ </tbody>
301
+ </table>
302
+ </div>
303
+
304
+
305
+
306
+
307
+
308
+
309
+ <dl class="details">
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+ <dt class="tag-author">作者:</dt>
329
+ <dd class="tag-author">
330
+ <ul>
331
+ <li>韩彦生</li>
332
+ </ul>
333
+ </dd>
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+ </dl>
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+ <h5>示例</h5>
373
+
374
+
375
+ <pre class="prettyprint"><code>// 1. 给定观察点与目标点进行通视分析
376
+ var visiblity = new Cesium.VisiblityAnalysis({ scene: scene });
377
+ scene.visualAnalysisManager.add(visiblity);
378
+ visiblity.viewPosition = new Cesium.Cesium.Cartesian3(6378138.905101178, 22.20128910645181, 16.69161471354458);
379
+ visiblity.targetPosition = new Cesium.Cesium.Cartesian3(6378158.153515804, 47.68794749465568, 34.93181937554349);
380
+
381
+ // 2. 监听鼠标事件进行通视分析
382
+ var visiblityAction = true;
383
+ var visiblitying = false;
384
+ var handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas);
385
+ // 左键开始
386
+ handler.setInputAction(function (movement) {
387
+ if (visiblity !== undefined) {
388
+ if (visiblityAction) {
389
+ var cartesian = viewer.scene.pickPosition(movement.position);
390
+ var cartographic = Cesium.Cesium.Cartographic.fromCartesian(cartesian);
391
+ cartographic.height += 1.0; //避免埋入模型中
392
+ cartesian = Cesium.Cesium.Cartographic.toCartesian(cartographic);
393
+ if (cartesian !== undefined &amp;&amp; !visiblitying) {
394
+ visiblity.viewPosition = cartesian;
395
+ } else {
396
+ visiblity.targetPosition = cartesian;
397
+ visiblityAction = false;
398
+ }
399
+ visiblitying = true;
400
+ }
401
+ console.log(visiblity.viewPosition);
402
+ }
403
+ }, Cesium.ScreenSpaceEventType.LEFT_CLICK);
404
+ //鼠标右键结束
405
+ handler.setInputAction(function (movement) {
406
+ if (visiblitying) {
407
+ var cartesian = viewer.scene.pickPosition(movement.position);
408
+ if (cartesian !== undefined) {
409
+ visiblity.targetPosition = cartesian;
410
+ }
411
+ visiblityAction = false;
412
+ visiblitying = false;
413
+ }
414
+ }, Cesium.ScreenSpaceEventType.RIGHT_CLICK);
415
+ handler.setInputAction(function (movement) {
416
+ if (visiblitying) {
417
+ var cartesian = viewer.scene.pickPosition(movement.endPosition);
418
+ if (cartesian) {
419
+ visiblity.targetPosition = cartesian;
420
+ }
421
+ }
422
+ }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
423
+
424
+ // 3. 创建环形通视分析
425
+ var drawElement = new Cesium.DrawElement(viewer);
426
+ drawElement.startDrawingCircle({
427
+ color: new Cesium.Cesium.Color(0.2, 0.4, 0.3, 1.0),
428
+ callback: function (result) {
429
+ drawElement.stopDrawing();
430
+ visiblity.lookAroundAnalysis({
431
+ viewPosition: result.center,
432
+ radius: result.radius,
433
+ percentCallback: function (percent) {
434
+ console.log(percent);
435
+ }
436
+ });
437
+ }
438
+ });
439
+
440
+ // 4. 移除通视分析
441
+ scene.visualAnalysisManager.remove(visiblity);
442
+ visiblity.destroy();</code></pre>
443
+
444
+
445
+
446
+
447
+ </div>
448
+ </div>
449
+ </div>
450
+
451
+
452
+ </div>
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+ <div class='vertical-section'>
468
+ <h3 id='member'>成员变量</h3>
469
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
470
+ <div class="table-container">
471
+ <table class="params table">
472
+ <thead>
473
+ <tr>
474
+ <th>名称</th>
475
+ <th>类型</th>
476
+ <th>描述</th>
477
+ </tr>
478
+ </thead>
479
+ <tbody>
480
+
481
+ <tr class="deep-level-0">
482
+ <td class="name"><code><a href="#exHeight">exHeight</a></code></td>
483
+ <td class="name">
484
+ <code>
485
+
486
+ <span class="param-type">
487
+
488
+ Number
489
+
490
+ </span>
491
+
492
+
493
+
494
+ </code>
495
+ </td>
496
+ <td class="name"><code><p>设置视点附加高度,需要在分析前设置</p></code></td>
497
+ </tr>
498
+
499
+ <tr class="deep-level-0">
500
+ <td class="name"><code><a href="#fanColor">fanColor</a></code></td>
501
+ <td class="name">
502
+ <code>
503
+
504
+ <span class="param-type">
505
+
506
+ Cesium.Color
507
+
508
+ </span>
509
+
510
+
511
+
512
+ </code>
513
+ </td>
514
+ <td class="name"><code><p>设置环型通视分析视窗颜色</p></code></td>
515
+ </tr>
516
+
517
+ <tr class="deep-level-0">
518
+ <td class="name"><code><a href="#fanGridColor">fanGridColor</a></code></td>
519
+ <td class="name">
520
+ <code>
521
+
522
+ <span class="param-type">
523
+
524
+ Cesium.Color
525
+
526
+ </span>
527
+
528
+
529
+
530
+ </code>
531
+ </td>
532
+ <td class="name"><code><p>设置环型通视分析视窗网格颜色</p></code></td>
533
+ </tr>
534
+
535
+ <tr class="deep-level-0">
536
+ <td class="name"><code><a href="#isVisible">isVisible</a></code></td>
537
+ <td class="name">
538
+ <code>
539
+
540
+ <span class="param-type">
541
+
542
+ Boolean
543
+
544
+ </span>
545
+
546
+
547
+
548
+ </code>
549
+ </td>
550
+ <td class="name"><code><p>获取当前是否可见</p></code></td>
551
+ </tr>
552
+
553
+ <tr class="deep-level-0">
554
+ <td class="name"><code><a href="#targetPosition">targetPosition</a></code></td>
555
+ <td class="name">
556
+ <code>
557
+
558
+ <span class="param-type">
559
+
560
+ Cesium.Cartesian3
561
+
562
+ </span>
563
+
564
+
565
+
566
+ </code>
567
+ </td>
568
+ <td class="name"><code><p>目标点</p></code></td>
569
+ </tr>
570
+
571
+ <tr class="deep-level-0">
572
+ <td class="name"><code><a href="#unvisibleColor">unvisibleColor</a></code></td>
573
+ <td class="name">
574
+ <code>
575
+
576
+ <span class="param-type">
577
+
578
+ Cesium.Color
579
+
580
+ </span>
581
+
582
+
583
+
584
+ </code>
585
+ </td>
586
+ <td class="name"><code><p>设置不可视段颜色</p></code></td>
587
+ </tr>
588
+
589
+ <tr class="deep-level-0">
590
+ <td class="name"><code><a href="#unVisiblityPosition">unVisiblityPosition</a></code></td>
591
+ <td class="name">
592
+ <code>
593
+
594
+ <span class="param-type">
595
+
596
+ Cesium.Cartesian3
597
+
598
+ </span>
599
+
600
+
601
+
602
+ </code>
603
+ </td>
604
+ <td class="name"><code><p>遮挡点</p></code></td>
605
+ </tr>
606
+
607
+ <tr class="deep-level-0">
608
+ <td class="name"><code><a href="#viewPosition">viewPosition</a></code></td>
609
+ <td class="name">
610
+ <code>
611
+
612
+ <span class="param-type">
613
+
614
+ Cesium.Cartesian3
615
+
616
+ </span>
617
+
618
+
619
+
620
+ </code>
621
+ </td>
622
+ <td class="name"><code><p>观察点</p></code></td>
623
+ </tr>
624
+
625
+ <tr class="deep-level-0">
626
+ <td class="name"><code><a href="#visibleColor">visibleColor</a></code></td>
627
+ <td class="name">
628
+ <code>
629
+
630
+ <span class="param-type">
631
+
632
+ Cesium.Color
633
+
634
+ </span>
635
+
636
+
637
+
638
+ </code>
639
+ </td>
640
+ <td class="name"><code><p>设置可视段颜色</p></code></td>
641
+ </tr>
642
+
643
+ <tr class="deep-level-0">
644
+ <td class="name"><code><a href="#width">width</a></code></td>
645
+ <td class="name">
646
+ <code>
647
+
648
+ <span class="param-type">
649
+
650
+ Number
651
+
652
+ </span>
653
+
654
+
655
+
656
+ </code>
657
+ </td>
658
+ <td class="name"><code><p>通视线的宽度</p></code></td>
659
+ </tr>
660
+
661
+ </tbody>
662
+ </table>
663
+ </div>
664
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
665
+ <div class="members">
666
+
667
+ <div class="member">
668
+
669
+ <span class="method-parameter is-pulled-right">
670
+ <label>类型:</label>
671
+
672
+ <span class="param-type">
673
+
674
+ Number
675
+
676
+ </span>
677
+
678
+
679
+
680
+ </span>
681
+
682
+ <h4 class="name" id="exHeight">
683
+ <a class="href-link" href="#exHeight">#</a>
684
+
685
+ <span class="code-name">
686
+ exHeight
687
+ </span>
688
+
689
+ </h4>
690
+
691
+
692
+
693
+
694
+ <div class="description">
695
+ <p>设置视点附加高度,需要在分析前设置</p>
696
+ </div>
697
+
698
+
699
+
700
+
701
+
702
+ <dl class="details">
703
+
704
+
705
+
706
+
707
+
708
+
709
+
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+ </dl>
735
+
736
+
737
+
738
+
739
+
740
+ </div>
741
+
742
+ <div class="member">
743
+
744
+ <span class="method-parameter is-pulled-right">
745
+ <label>类型:</label>
746
+
747
+ <span class="param-type">
748
+
749
+ Cesium.Color
750
+
751
+ </span>
752
+
753
+
754
+
755
+ </span>
756
+
757
+ <h4 class="name" id="fanColor">
758
+ <a class="href-link" href="#fanColor">#</a>
759
+
760
+ <span class="code-name">
761
+ fanColor
762
+ </span>
763
+
764
+ </h4>
765
+
766
+
767
+
768
+
769
+ <div class="description">
770
+ <p>设置环型通视分析视窗颜色</p>
771
+ </div>
772
+
773
+
774
+
775
+
776
+
777
+ <dl class="details">
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+ </dl>
810
+
811
+
812
+
813
+
814
+
815
+ </div>
816
+
817
+ <div class="member">
818
+
819
+ <span class="method-parameter is-pulled-right">
820
+ <label>类型:</label>
821
+
822
+ <span class="param-type">
823
+
824
+ Cesium.Color
825
+
826
+ </span>
827
+
828
+
829
+
830
+ </span>
831
+
832
+ <h4 class="name" id="fanGridColor">
833
+ <a class="href-link" href="#fanGridColor">#</a>
834
+
835
+ <span class="code-name">
836
+ fanGridColor
837
+ </span>
838
+
839
+ </h4>
840
+
841
+
842
+
843
+
844
+ <div class="description">
845
+ <p>设置环型通视分析视窗网格颜色</p>
846
+ </div>
847
+
848
+
849
+
850
+
851
+
852
+ <dl class="details">
853
+
854
+
855
+
856
+
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+
875
+
876
+
877
+
878
+
879
+
880
+
881
+
882
+
883
+
884
+ </dl>
885
+
886
+
887
+
888
+
889
+
890
+ </div>
891
+
892
+ <div class="member">
893
+
894
+ <span class="method-parameter is-pulled-right">
895
+ <label>类型:</label>
896
+
897
+ <span class="param-type">
898
+
899
+ Boolean
900
+
901
+ </span>
902
+
903
+
904
+
905
+ </span>
906
+
907
+ <h4 class="name" id="isVisible">
908
+ <a class="href-link" href="#isVisible">#</a>
909
+
910
+ <span class="code-name">
911
+ isVisible
912
+ </span>
913
+
914
+ </h4>
915
+
916
+
917
+
918
+
919
+ <div class="description">
920
+ <p>获取当前是否可见</p>
921
+ </div>
922
+
923
+
924
+
925
+
926
+
927
+ <dl class="details">
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+
939
+
940
+
941
+
942
+
943
+
944
+
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+ </dl>
960
+
961
+
962
+
963
+
964
+
965
+ </div>
966
+
967
+ <div class="member">
968
+
969
+ <span class="method-parameter is-pulled-right">
970
+ <label>类型:</label>
971
+
972
+ <span class="param-type">
973
+
974
+ Cesium.Cartesian3
975
+
976
+ </span>
977
+
978
+
979
+
980
+ </span>
981
+
982
+ <h4 class="name" id="targetPosition">
983
+ <a class="href-link" href="#targetPosition">#</a>
984
+
985
+ <span class="code-name">
986
+ targetPosition
987
+ </span>
988
+
989
+ </h4>
990
+
991
+
992
+
993
+
994
+ <div class="description">
995
+ <p>目标点</p>
996
+ </div>
997
+
998
+
999
+
1000
+
1001
+
1002
+ <dl class="details">
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+ </dl>
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+ </div>
1041
+
1042
+ <div class="member">
1043
+
1044
+ <span class="method-parameter is-pulled-right">
1045
+ <label>类型:</label>
1046
+
1047
+ <span class="param-type">
1048
+
1049
+ Cesium.Color
1050
+
1051
+ </span>
1052
+
1053
+
1054
+
1055
+ </span>
1056
+
1057
+ <h4 class="name" id="unvisibleColor">
1058
+ <a class="href-link" href="#unvisibleColor">#</a>
1059
+
1060
+ <span class="code-name">
1061
+ unvisibleColor
1062
+ </span>
1063
+
1064
+ </h4>
1065
+
1066
+
1067
+
1068
+
1069
+ <div class="description">
1070
+ <p>设置不可视段颜色</p>
1071
+ </div>
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+ <dl class="details">
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+ </dl>
1110
+
1111
+
1112
+
1113
+
1114
+
1115
+ </div>
1116
+
1117
+ <div class="member">
1118
+
1119
+ <span class="method-parameter is-pulled-right">
1120
+ <label>类型:</label>
1121
+
1122
+ <span class="param-type">
1123
+
1124
+ Cesium.Cartesian3
1125
+
1126
+ </span>
1127
+
1128
+
1129
+
1130
+ </span>
1131
+
1132
+ <h4 class="name" id="unVisiblityPosition">
1133
+ <a class="href-link" href="#unVisiblityPosition">#</a>
1134
+
1135
+ <span class="code-name">
1136
+ unVisiblityPosition
1137
+ </span>
1138
+
1139
+ </h4>
1140
+
1141
+
1142
+
1143
+
1144
+ <div class="description">
1145
+ <p>遮挡点</p>
1146
+ </div>
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+ <dl class="details">
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+ </dl>
1185
+
1186
+
1187
+
1188
+
1189
+
1190
+ </div>
1191
+
1192
+ <div class="member">
1193
+
1194
+ <span class="method-parameter is-pulled-right">
1195
+ <label>类型:</label>
1196
+
1197
+ <span class="param-type">
1198
+
1199
+ Cesium.Cartesian3
1200
+
1201
+ </span>
1202
+
1203
+
1204
+
1205
+ </span>
1206
+
1207
+ <h4 class="name" id="viewPosition">
1208
+ <a class="href-link" href="#viewPosition">#</a>
1209
+
1210
+ <span class="code-name">
1211
+ viewPosition
1212
+ </span>
1213
+
1214
+ </h4>
1215
+
1216
+
1217
+
1218
+
1219
+ <div class="description">
1220
+ <p>观察点</p>
1221
+ </div>
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+ <dl class="details">
1228
+
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+
1259
+ </dl>
1260
+
1261
+
1262
+
1263
+
1264
+
1265
+ </div>
1266
+
1267
+ <div class="member">
1268
+
1269
+ <span class="method-parameter is-pulled-right">
1270
+ <label>类型:</label>
1271
+
1272
+ <span class="param-type">
1273
+
1274
+ Cesium.Color
1275
+
1276
+ </span>
1277
+
1278
+
1279
+
1280
+ </span>
1281
+
1282
+ <h4 class="name" id="visibleColor">
1283
+ <a class="href-link" href="#visibleColor">#</a>
1284
+
1285
+ <span class="code-name">
1286
+ visibleColor
1287
+ </span>
1288
+
1289
+ </h4>
1290
+
1291
+
1292
+
1293
+
1294
+ <div class="description">
1295
+ <p>设置可视段颜色</p>
1296
+ </div>
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+ <dl class="details">
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+
1325
+
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+ </dl>
1335
+
1336
+
1337
+
1338
+
1339
+
1340
+ </div>
1341
+
1342
+ <div class="member">
1343
+
1344
+ <span class="method-parameter is-pulled-right">
1345
+ <label>类型:</label>
1346
+
1347
+ <span class="param-type">
1348
+
1349
+ Number
1350
+
1351
+ </span>
1352
+
1353
+
1354
+
1355
+ </span>
1356
+
1357
+ <h4 class="name" id="width">
1358
+ <a class="href-link" href="#width">#</a>
1359
+
1360
+ <span class="code-name">
1361
+ width
1362
+ </span>
1363
+
1364
+ </h4>
1365
+
1366
+
1367
+
1368
+
1369
+ <div class="description">
1370
+ <p>通视线的宽度</p>
1371
+ </div>
1372
+
1373
+
1374
+
1375
+
1376
+
1377
+ <dl class="details">
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+
1404
+
1405
+
1406
+
1407
+
1408
+
1409
+ </dl>
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+ </div>
1416
+
1417
+ </div>
1418
+ </div>
1419
+
1420
+
1421
+
1422
+ <div class='vertical-section'>
1423
+ <h3 id='function'>方法</h3>
1424
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
1425
+ <div class="members">
1426
+ <div class="table-container">
1427
+ <table class="params table">
1428
+ <thead>
1429
+ <tr>
1430
+ <th>名称</th>
1431
+ <th>返回值类型</th>
1432
+ <th>描述</th>
1433
+ </tr>
1434
+ </thead>
1435
+ <tbody>
1436
+
1437
+ <tr class="deep-level-0">
1438
+ <td class="name"><code><a href="#getVisibilityResult">getVisibilityResult</a></code></td>
1439
+ <td class="name">
1440
+ <code>
1441
+
1442
+
1443
+ <span class="param-type">
1444
+
1445
+ Boolean
1446
+
1447
+ </span>
1448
+
1449
+
1450
+
1451
+
1452
+ </code>
1453
+ </td>
1454
+ <td class="name"><code><p>根据两点坐标判断两点之间是否可视,返回结果</p></code></td>
1455
+ </tr>
1456
+
1457
+ <tr class="deep-level-0">
1458
+ <td class="name"><code><a href="#lookAroundAnalysis">lookAroundAnalysis</a></code></td>
1459
+ <td class="name">
1460
+ <code>
1461
+
1462
+ </code>
1463
+ </td>
1464
+ <td class="name"><code><p>环形通视分析</p></code></td>
1465
+ </tr>
1466
+
1467
+ </tbody>
1468
+ </table>
1469
+ </div>
1470
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
1471
+
1472
+ <div class="member">
1473
+
1474
+
1475
+
1476
+ <h4 class="name" id="getVisibilityResult">
1477
+ <a class="href-link" href="#getVisibilityResult">#</a>
1478
+
1479
+ <span class="code-name" id="getVisibilityResult" style="font-size:30px">
1480
+
1481
+ getVisibilityResult<span class="signature">(viewPosition, targetPosition)</span>
1482
+
1483
+ </span>
1484
+ </h4>
1485
+
1486
+
1487
+
1488
+ <div class="description">
1489
+ <p>根据两点坐标判断两点之间是否可视,返回结果</p>
1490
+ </div>
1491
+
1492
+
1493
+
1494
+
1495
+
1496
+
1497
+
1498
+
1499
+
1500
+
1501
+ <h4>参数</h4>
1502
+
1503
+ <div class="table-container">
1504
+ <table class="params table">
1505
+ <thead>
1506
+ <tr>
1507
+
1508
+ <th>名称</th>
1509
+
1510
+
1511
+ <th>类型</th>
1512
+
1513
+
1514
+
1515
+ <th class="last">描述</th>
1516
+ </tr>
1517
+ </thead>
1518
+
1519
+ <tbody>
1520
+
1521
+
1522
+
1523
+ <tr class="deep-level-0">
1524
+
1525
+ <td class="name"><code>viewPosition</code></td>
1526
+
1527
+
1528
+ <td class="type">
1529
+
1530
+
1531
+ <span class="param-type">
1532
+
1533
+ Cesium.Cartesian3
1534
+
1535
+ </span>
1536
+
1537
+
1538
+
1539
+
1540
+ </td>
1541
+
1542
+
1543
+
1544
+ <td class="description last"><p>视点</p></td>
1545
+ </tr>
1546
+
1547
+
1548
+
1549
+
1550
+
1551
+
1552
+ <tr class="deep-level-0">
1553
+
1554
+ <td class="name"><code>targetPosition</code></td>
1555
+
1556
+
1557
+ <td class="type">
1558
+
1559
+
1560
+ <span class="param-type">
1561
+
1562
+ Cesium.Cartesian3
1563
+
1564
+ </span>
1565
+
1566
+
1567
+
1568
+
1569
+ </td>
1570
+
1571
+
1572
+
1573
+ <td class="description last"><p>目标点</p></td>
1574
+ </tr>
1575
+
1576
+
1577
+
1578
+
1579
+ </tbody>
1580
+ </table>
1581
+ </div>
1582
+
1583
+
1584
+
1585
+
1586
+
1587
+
1588
+ <dl class="details">
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+
1603
+
1604
+
1605
+
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+ </dl>
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+
1637
+
1638
+
1639
+ <div class='columns method-parameter'>
1640
+ <div class="column is-2"><label>返回值</label></div>
1641
+ <div class="column is-10">
1642
+
1643
+
1644
+
1645
+ <div class="columns">
1646
+
1647
+ <div class='param-desc column is-7'><p>visible 两点之间是否可视</p></div>
1648
+
1649
+
1650
+ <div class='column is-5 has-text-left'>
1651
+ <label>类型: </label>
1652
+
1653
+ <span class="param-type">
1654
+
1655
+ Boolean
1656
+
1657
+ </span>
1658
+
1659
+
1660
+
1661
+ </div>
1662
+
1663
+ </div>
1664
+
1665
+
1666
+ </div>
1667
+ </div>
1668
+
1669
+
1670
+
1671
+
1672
+
1673
+
1674
+ </div>
1675
+
1676
+ <div class="member">
1677
+
1678
+
1679
+
1680
+ <h4 class="name" id="lookAroundAnalysis">
1681
+ <a class="href-link" href="#lookAroundAnalysis">#</a>
1682
+
1683
+ <span class="code-name" id="lookAroundAnalysis" style="font-size:30px">
1684
+
1685
+ lookAroundAnalysis<span class="signature">(options)</span>
1686
+
1687
+ </span>
1688
+ </h4>
1689
+
1690
+
1691
+
1692
+ <div class="description">
1693
+ <p>环形通视分析</p>
1694
+ </div>
1695
+
1696
+
1697
+
1698
+
1699
+
1700
+
1701
+
1702
+
1703
+
1704
+
1705
+ <h4>参数</h4>
1706
+
1707
+ <div class="table-container">
1708
+ <table class="params table">
1709
+ <thead>
1710
+ <tr>
1711
+
1712
+ <th>名称</th>
1713
+
1714
+
1715
+ <th>类型</th>
1716
+
1717
+
1718
+ <th style="min-width: 100px;">默认值</th>
1719
+
1720
+
1721
+ <th class="last">描述</th>
1722
+ </tr>
1723
+ </thead>
1724
+
1725
+ <tbody>
1726
+
1727
+
1728
+
1729
+ <tr class="deep-level-0">
1730
+
1731
+ <td class="name"><code>options</code></td>
1732
+
1733
+
1734
+ <td class="type">
1735
+
1736
+
1737
+ <span class="param-type">
1738
+
1739
+ Object
1740
+
1741
+ </span>
1742
+
1743
+
1744
+
1745
+
1746
+ </td>
1747
+
1748
+
1749
+ <td class="default">
1750
+
1751
+ </td>
1752
+
1753
+
1754
+ <td class="description last"></td>
1755
+ </tr>
1756
+
1757
+
1758
+
1759
+
1760
+ <tr class="deep-level-1">
1761
+
1762
+ <td class="name"><code>viewPosition</code></td>
1763
+
1764
+
1765
+ <td class="type">
1766
+
1767
+
1768
+ <span class="param-type">
1769
+
1770
+ Cesium.Cartesian3
1771
+
1772
+ </span>
1773
+
1774
+
1775
+
1776
+
1777
+ </td>
1778
+
1779
+
1780
+ <td class="default">
1781
+
1782
+ </td>
1783
+
1784
+
1785
+ <td class="description last"><p>视点</p></td>
1786
+ </tr>
1787
+
1788
+
1789
+
1790
+
1791
+ <tr class="deep-level-1">
1792
+
1793
+ <td class="name"><code>radius</code></td>
1794
+
1795
+
1796
+ <td class="type">
1797
+
1798
+
1799
+ <span class="param-type">
1800
+
1801
+ Number
1802
+
1803
+ </span>
1804
+
1805
+
1806
+
1807
+
1808
+ </td>
1809
+
1810
+
1811
+ <td class="default">
1812
+
1813
+ </td>
1814
+
1815
+
1816
+ <td class="description last"><p>环形通视分析半径</p></td>
1817
+ </tr>
1818
+
1819
+
1820
+
1821
+
1822
+ <tr class="deep-level-1">
1823
+
1824
+ <td class="name"><code>verticalAngle</code></td>
1825
+
1826
+
1827
+ <td class="type">
1828
+
1829
+
1830
+ <span class="param-type">
1831
+
1832
+ Number
1833
+
1834
+ </span>
1835
+
1836
+
1837
+
1838
+
1839
+ </td>
1840
+
1841
+
1842
+ <td class="default">
1843
+
1844
+ 60
1845
+
1846
+ </td>
1847
+
1848
+
1849
+ <td class="description last"><p>垂直视角,默认为60°</p></td>
1850
+ </tr>
1851
+
1852
+
1853
+
1854
+
1855
+ <tr class="deep-level-1">
1856
+
1857
+ <td class="name"><code>divideAngle</code></td>
1858
+
1859
+
1860
+ <td class="type">
1861
+
1862
+
1863
+ <span class="param-type">
1864
+
1865
+ Number
1866
+
1867
+ </span>
1868
+
1869
+
1870
+
1871
+
1872
+ </td>
1873
+
1874
+
1875
+ <td class="default">
1876
+
1877
+ 10
1878
+
1879
+ </td>
1880
+
1881
+
1882
+ <td class="description last"><p>等分角度,默认为10°</p></td>
1883
+ </tr>
1884
+
1885
+
1886
+
1887
+
1888
+ <tr class="deep-level-1">
1889
+
1890
+ <td class="name"><code>percentCallback</code></td>
1891
+
1892
+
1893
+ <td class="type">
1894
+
1895
+
1896
+ <span class="param-type">
1897
+
1898
+ function
1899
+
1900
+ </span>
1901
+
1902
+
1903
+
1904
+
1905
+ </td>
1906
+
1907
+
1908
+ <td class="default">
1909
+
1910
+ </td>
1911
+
1912
+
1913
+ <td class="description last"><p>计算进度回调</p></td>
1914
+ </tr>
1915
+
1916
+
1917
+
1918
+
1919
+
1920
+
1921
+
1922
+ </tbody>
1923
+ </table>
1924
+ </div>
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+ <dl class="details">
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+
1939
+
1940
+
1941
+
1942
+
1943
+
1944
+
1945
+
1946
+
1947
+
1948
+
1949
+
1950
+
1951
+
1952
+
1953
+
1954
+
1955
+
1956
+
1957
+
1958
+
1959
+
1960
+
1961
+
1962
+
1963
+ </dl>
1964
+
1965
+
1966
+
1967
+
1968
+
1969
+
1970
+
1971
+
1972
+
1973
+
1974
+
1975
+
1976
+
1977
+
1978
+
1979
+
1980
+
1981
+
1982
+
1983
+
1984
+
1985
+
1986
+
1987
+ </div>
1988
+
1989
+ </div>
1990
+ </div>
1991
+
1992
+
1993
+
1994
+
1995
+
1996
+ </article>
1997
+
1998
+ </section>