@mapgis/webclient-cesium-plugin 17.2.3 → 17.2.5

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 (44) hide show
  1. package/README.md +16 -0
  2. package/dist/es5/webclient-cesium-plugin.min.js +7 -5
  3. package/dist/es5/webclient-common.min.js +2 -2
  4. package/dist/webclient-cesium-plugin-es6.min.js +7 -5
  5. package/documention/AlgorithmLib.html +7009 -0
  6. package/documention/AngulationTool.html +1068 -0
  7. package/documention/AnimationTool.html +5966 -0
  8. package/documention/CesiumHeatmap.html +3701 -0
  9. package/documention/CesiumTerrainProvider.html +139 -0
  10. package/documention/CircleWaveMaterialProperty.html +313 -0
  11. package/documention/CuttingTool.html +2930 -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 +1 -1
  17. package/documention/Graphic.html +4789 -0
  18. package/documention/GraphicsLayer.html +5071 -0
  19. package/documention/HeightLimited.html +811 -0
  20. package/documention/KeyboardCameraController.html +1313 -0
  21. package/documention/MeasureAreaTool.html +1215 -0
  22. package/documention/MeasureLengthTool.html +2339 -0
  23. package/documention/MeasureSlopeTool.html +1141 -0
  24. package/documention/ModelEditor.html +356 -0
  25. package/documention/ModelFilterTool.html +1053 -0
  26. package/documention/ModelTransformTool.html +3277 -0
  27. package/documention/PolylineTrailLinkMaterialProperty.html +369 -0
  28. package/documention/PostProcessStageLibrary.html +3 -3
  29. package/documention/Promise.html +980 -0
  30. package/documention/RadarMaterialProperty.html +255 -0
  31. package/documention/ReImg.html +370 -0
  32. package/documention/RiverGeometry.html +2659 -0
  33. package/documention/S3MTileset.html +5 -5
  34. package/documention/SelectTool.html +784 -0
  35. package/documention/ShadowRateAnalysis.html +1827 -0
  36. package/documention/ShadowRateDrawCommand.html +917 -0
  37. package/documention/Style.html +14203 -0
  38. package/documention/TerrainAnalyse.html +2966 -0
  39. package/documention/TerrainProfile.html +1053 -0
  40. package/documention/Tooltip.html +877 -0
  41. package/documention/TriangulationTool.html +1721 -0
  42. package/documention/VisiblityAnalysis.html +1998 -0
  43. package/documention/WaterReflection.html +1 -1
  44. package/package.json +1 -1
@@ -0,0 +1,2966 @@
1
+ <header id="page-title" class="page-title">
2
+
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">TerrainAnalyse</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="TerrainAnalyse">
26
+ <a class="href-link" href="#TerrainAnalyse">#</a>
27
+
28
+ <span class="code-name" id="TerrainAnalyse" style="font-size:30px">
29
+
30
+ new TerrainAnalyse<span class="signature">(viewer, options<span class="signature-attributes">opt</span>)</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
+ Viewer
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>contourColor</code></td>
137
+
138
+
139
+ <td class="type">
140
+
141
+
142
+ <span class="param-type">
143
+
144
+ Cesium.Color
145
+
146
+ </span>
147
+
148
+
149
+
150
+
151
+ </td>
152
+
153
+
154
+ <td class="default">
155
+
156
+ Cesium.Color.RED.clone()
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>contourWidth</code></td>
170
+
171
+
172
+ <td class="type">
173
+
174
+
175
+ <span class="param-type">
176
+
177
+ Number
178
+
179
+ </span>
180
+
181
+
182
+
183
+
184
+ </td>
185
+
186
+
187
+ <td class="default">
188
+
189
+ 2.0
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>contourSpacing</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
+ 150.0
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>enableContour</code></td>
236
+
237
+
238
+ <td class="type">
239
+
240
+
241
+ <span class="param-type">
242
+
243
+ Boolean
244
+
245
+ </span>
246
+
247
+
248
+
249
+
250
+ </td>
251
+
252
+
253
+ <td class="default">
254
+
255
+ false
256
+
257
+ </td>
258
+
259
+
260
+ <td class="description last"><p>等高线是否开启</p></td>
261
+ </tr>
262
+
263
+
264
+
265
+
266
+ <tr class="deep-level-1">
267
+
268
+ <td class="name"><code>minHeight</code></td>
269
+
270
+
271
+ <td class="type">
272
+
273
+
274
+ <span class="param-type">
275
+
276
+ Number
277
+
278
+ </span>
279
+
280
+
281
+
282
+
283
+ </td>
284
+
285
+
286
+ <td class="default">
287
+
288
+ 0
289
+
290
+ </td>
291
+
292
+
293
+ <td class="description last"><p>高程最小值</p></td>
294
+ </tr>
295
+
296
+
297
+
298
+
299
+ <tr class="deep-level-1">
300
+
301
+ <td class="name"><code>maxHeight</code></td>
302
+
303
+
304
+ <td class="type">
305
+
306
+
307
+ <span class="param-type">
308
+
309
+ Number
310
+
311
+ </span>
312
+
313
+
314
+
315
+
316
+ </td>
317
+
318
+
319
+ <td class="default">
320
+
321
+ 1000
322
+
323
+ </td>
324
+
325
+
326
+ <td class="description last"><p>高程最大值</p></td>
327
+ </tr>
328
+
329
+
330
+
331
+
332
+ <tr class="deep-level-1">
333
+
334
+ <td class="name"><code>gradual</code></td>
335
+
336
+
337
+ <td class="type">
338
+
339
+
340
+ <span class="param-type">
341
+
342
+ array
343
+
344
+ </span>
345
+
346
+
347
+
348
+
349
+ </td>
350
+
351
+
352
+ <td class="default">
353
+
354
+ true
355
+
356
+ </td>
357
+
358
+
359
+ <td class="description last"><p>颜色是否有渐变效果</p></td>
360
+ </tr>
361
+
362
+
363
+
364
+
365
+ <tr class="deep-level-1">
366
+
367
+ <td class="name"><code>elevationRampColor</code></td>
368
+
369
+
370
+ <td class="type">
371
+
372
+
373
+ <span class="param-type">
374
+
375
+ array
376
+
377
+ </span>
378
+
379
+
380
+
381
+
382
+ </td>
383
+
384
+
385
+ <td class="default">
386
+
387
+ </td>
388
+
389
+
390
+ <td class="description last"><p>高程色表</p></td>
391
+ </tr>
392
+
393
+
394
+
395
+
396
+ <tr class="deep-level-1">
397
+
398
+ <td class="name"><code>slopeRampColor</code></td>
399
+
400
+
401
+ <td class="type">
402
+
403
+
404
+ <span class="param-type">
405
+
406
+ array
407
+
408
+ </span>
409
+
410
+
411
+
412
+
413
+ </td>
414
+
415
+
416
+ <td class="default">
417
+
418
+ </td>
419
+
420
+
421
+ <td class="description last"><p>坡度色表</p></td>
422
+ </tr>
423
+
424
+
425
+
426
+
427
+ <tr class="deep-level-1">
428
+
429
+ <td class="name"><code>aspectRampColor</code></td>
430
+
431
+
432
+ <td class="type">
433
+
434
+
435
+ <span class="param-type">
436
+
437
+ array
438
+
439
+ </span>
440
+
441
+
442
+
443
+
444
+ </td>
445
+
446
+
447
+ <td class="default">
448
+
449
+ </td>
450
+
451
+
452
+ <td class="description last"><p>坡向色表</p></td>
453
+ </tr>
454
+
455
+
456
+
457
+
458
+ <tr class="deep-level-1">
459
+
460
+ <td class="name"><code>bandPositionsColorsArray</code></td>
461
+
462
+
463
+ <td class="type">
464
+
465
+
466
+ <span class="param-type">
467
+
468
+ array
469
+
470
+ </span>
471
+
472
+
473
+
474
+
475
+ </td>
476
+
477
+
478
+ <td class="default">
479
+
480
+ </td>
481
+
482
+
483
+ <td class="description last"><p>等值面高度和颜色数组</p></td>
484
+ </tr>
485
+
486
+
487
+
488
+
489
+ <tr class="deep-level-1">
490
+
491
+ <td class="name"><code>selectedShading</code></td>
492
+
493
+
494
+ <td class="type">
495
+
496
+
497
+ <span class="param-type">
498
+
499
+ String
500
+
501
+ </span>
502
+
503
+
504
+
505
+
506
+ </td>
507
+
508
+
509
+ <td class="default">
510
+
511
+ </td>
512
+
513
+
514
+ <td class="description last"><p>//地形分析渲染类型包括高程赋色'elevation'、坡度分析'slope'、坡向分析'aspect',坡向箭头+坡度颜色分析'arrowAspectSlope',等值面分析'elevationBand'。</p></td>
515
+ </tr>
516
+
517
+
518
+
519
+
520
+
521
+
522
+
523
+ </tbody>
524
+ </table>
525
+ </div>
526
+
527
+
528
+
529
+
530
+
531
+
532
+ <dl class="details">
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+ </dl>
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+ <h5>示例</h5>
589
+
590
+
591
+ <pre class="prettyprint"><code>var drawElement = new Cesium.DrawElement(viewer);
592
+ var terrainAnalyse = new Cesium.TerrainAnalyse(viewer);
593
+ // 1. 坡度分析
594
+ drawElement.startDrawingPolygon({
595
+ callback: function (reslut) {
596
+ terrainAnalyse.changeAnalyseArea(reslut.positions);
597
+ terrainAnalyse.selectedShading = 'slope';
598
+ }
599
+ });
600
+ // 2. 坡向分析
601
+ drawElement.startDrawingPolygon({
602
+ callback: function (result) {
603
+ terrainAnalyse.changeAnalyseArea(result.positions);
604
+ terrainAnalyse.selectedShading = 'aspectArrow';
605
+ }
606
+ });
607
+ // 3. 坡度坡向分析
608
+ drawElement.startDrawingPolygon({
609
+ callback: function (result) {
610
+ terrainAnalyse.changeAnalyseArea(result.positions);
611
+ terrainAnalyse.selectedShading = 'arrowAspectSlope';
612
+ }
613
+ });
614
+ // 4. 结束分析
615
+ terrainAnalyse.destroy();</code></pre>
616
+
617
+
618
+
619
+
620
+ </div>
621
+ </div>
622
+ </div>
623
+
624
+
625
+ </div>
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+
641
+
642
+ <div class='vertical-section'>
643
+ <h3 id='function'>方法</h3>
644
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
645
+ <div class="members">
646
+ <div class="table-container">
647
+ <table class="params table">
648
+ <thead>
649
+ <tr>
650
+ <th>名称</th>
651
+ <th>返回值类型</th>
652
+ <th>描述</th>
653
+ </tr>
654
+ </thead>
655
+ <tbody>
656
+
657
+ <tr class="deep-level-0">
658
+ <td class="name"><code><a href="#calculateSlopeAndAspect">calculateSlopeAndAspect</a></code></td>
659
+ <td class="name">
660
+ <code>
661
+
662
+
663
+ <span class="param-type">
664
+
665
+ Object
666
+
667
+ </span>
668
+
669
+
670
+
671
+
672
+ </code>
673
+ </td>
674
+ <td class="name"><code><p>根据输入屏幕坐标查询坡度坡向值</p></code></td>
675
+ </tr>
676
+
677
+ <tr class="deep-level-0">
678
+ <td class="name"><code><a href="#changeAnalyseArea">changeAnalyseArea</a></code></td>
679
+ <td class="name">
680
+ <code>
681
+
682
+ </code>
683
+ </td>
684
+ <td class="name"><code><p>更新分析区域</p></code></td>
685
+ </tr>
686
+
687
+ <tr class="deep-level-0">
688
+ <td class="name"><code><a href="#changeArrowAspectRepeat">changeArrowAspectRepeat</a></code></td>
689
+ <td class="name">
690
+ <code>
691
+
692
+ </code>
693
+ </td>
694
+ <td class="name"><code><p>修改坡向箭头密度</p></code></td>
695
+ </tr>
696
+
697
+ <tr class="deep-level-0">
698
+ <td class="name"><code><a href="#changeColorTable">changeColorTable</a></code></td>
699
+ <td class="name">
700
+ <code>
701
+
702
+ </code>
703
+ </td>
704
+ <td class="name"><code><p>更新色表</p></code></td>
705
+ </tr>
706
+
707
+ <tr class="deep-level-0">
708
+ <td class="name"><code><a href="#changeColorTableDis">changeColorTableDis</a></code></td>
709
+ <td class="name">
710
+ <code>
711
+
712
+ </code>
713
+ </td>
714
+ <td class="name"><code><p>更新色表间距值</p></code></td>
715
+ </tr>
716
+
717
+ <tr class="deep-level-0">
718
+ <td class="name"><code><a href="#changeContours">changeContours</a></code></td>
719
+ <td class="name">
720
+ <code>
721
+
722
+ </code>
723
+ </td>
724
+ <td class="name"><code><p>修改等高线宽度,间距和颜色</p></code></td>
725
+ </tr>
726
+
727
+ <tr class="deep-level-0">
728
+ <td class="name"><code><a href="#destroy">destroy</a></code></td>
729
+ <td class="name">
730
+ <code>
731
+
732
+ </code>
733
+ </td>
734
+ <td class="name"><code><p>移除坡度坡向,等值面,等高线等分析结果</p></code></td>
735
+ </tr>
736
+
737
+ <tr class="deep-level-0">
738
+ <td class="name"><code><a href="#queryInfo">queryInfo</a></code></td>
739
+ <td class="name">
740
+ <code>
741
+
742
+ </code>
743
+ </td>
744
+ <td class="name"><code><p>右键点击查询坡度坡向值</p></code></td>
745
+ </tr>
746
+
747
+ <tr class="deep-level-0">
748
+ <td class="name"><code><a href="#removeQueryInfo">removeQueryInfo</a></code></td>
749
+ <td class="name">
750
+ <code>
751
+
752
+ </code>
753
+ </td>
754
+ <td class="name"><code><p>移除点击查询坡度坡向值事件</p></code></td>
755
+ </tr>
756
+
757
+ <tr class="deep-level-0">
758
+ <td class="name"><code><a href="#removeTerrainFlatten">removeTerrainFlatten</a></code></td>
759
+ <td class="name">
760
+ <code>
761
+
762
+ </code>
763
+ </td>
764
+ <td class="name"><code><p>移除地形压平</p></code></td>
765
+ </tr>
766
+
767
+ <tr class="deep-level-0">
768
+ <td class="name"><code><a href="#terrainFlatten">terrainFlatten</a></code></td>
769
+ <td class="name">
770
+ <code>
771
+
772
+
773
+ <span class="param-type">
774
+
775
+ Boolean
776
+
777
+ </span>
778
+
779
+
780
+
781
+
782
+ </code>
783
+ </td>
784
+ <td class="name"><code><p>地形压平</p></code></td>
785
+ </tr>
786
+
787
+ <tr class="deep-level-0">
788
+ <td class="name"><code><a href="#updateElevationBandMaterial">updateElevationBandMaterial</a></code></td>
789
+ <td class="name">
790
+ <code>
791
+
792
+ </code>
793
+ </td>
794
+ <td class="name"><code><p>开启地形等值面分析</p></code></td>
795
+ </tr>
796
+
797
+ <tr class="deep-level-0">
798
+ <td class="name"><code><a href="#updateMaterial">updateMaterial</a></code></td>
799
+ <td class="name">
800
+ <code>
801
+
802
+ </code>
803
+ </td>
804
+ <td class="name"><code><p>开启地形分析,坡度,坡向和等值线</p></code></td>
805
+ </tr>
806
+
807
+ </tbody>
808
+ </table>
809
+ </div>
810
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
811
+
812
+ <div class="member">
813
+
814
+
815
+
816
+ <h4 class="name" id="calculateSlopeAndAspect">
817
+ <a class="href-link" href="#calculateSlopeAndAspect">#</a>
818
+
819
+ <span class="code-name" id="calculateSlopeAndAspect" style="font-size:30px">
820
+
821
+ calculateSlopeAndAspect<span class="signature">(screenPoint)</span>
822
+
823
+ </span>
824
+ </h4>
825
+
826
+
827
+
828
+ <div class="description">
829
+ <p>根据输入屏幕坐标查询坡度坡向值</p>
830
+ </div>
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+ <h4>参数</h4>
842
+
843
+ <div class="table-container">
844
+ <table class="params table">
845
+ <thead>
846
+ <tr>
847
+
848
+ <th>名称</th>
849
+
850
+
851
+ <th>类型</th>
852
+
853
+
854
+
855
+ <th class="last">描述</th>
856
+ </tr>
857
+ </thead>
858
+
859
+ <tbody>
860
+
861
+
862
+
863
+ <tr class="deep-level-0">
864
+
865
+ <td class="name"><code>screenPoint</code></td>
866
+
867
+
868
+ <td class="type">
869
+
870
+
871
+ <span class="param-type">
872
+
873
+ Cesium.Cartesian2
874
+
875
+ </span>
876
+
877
+
878
+
879
+
880
+ </td>
881
+
882
+
883
+
884
+ <td class="description last"><p>查询坡度坡向值的屏幕坐标</p></td>
885
+ </tr>
886
+
887
+
888
+
889
+
890
+ </tbody>
891
+ </table>
892
+ </div>
893
+
894
+
895
+
896
+
897
+
898
+
899
+ <dl class="details">
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+ </dl>
932
+
933
+
934
+
935
+
936
+
937
+
938
+
939
+
940
+
941
+
942
+
943
+
944
+
945
+
946
+
947
+
948
+
949
+
950
+ <div class='columns method-parameter'>
951
+ <div class="column is-2"><label>返回值</label></div>
952
+ <div class="column is-10">
953
+
954
+
955
+
956
+ <div class="columns">
957
+
958
+ <div class='param-desc column is-7'><p>result 返回查询结果</p></div>
959
+
960
+
961
+ <div class='column is-5 has-text-left'>
962
+ <label>类型: </label>
963
+
964
+ <span class="param-type">
965
+
966
+ Object
967
+
968
+ </span>
969
+
970
+
971
+
972
+ </div>
973
+
974
+ </div>
975
+
976
+
977
+ </div>
978
+ </div>
979
+
980
+
981
+
982
+
983
+
984
+
985
+ <h5>示例</h5>
986
+
987
+
988
+ <pre class="prettyprint"><code>var terrainAnalyse = new Cesium.TerrainAnalyse(viewer, {});
989
+ result = terrainAnalyse.calculateSlopeAndAspect(screenPoint);
990
+ // 坡度值,单位度,范围0-90°
991
+ slopeAngle = result.slope
992
+ // 坡向值,单位度,范围0-360°
993
+ aspectAngle = result.aspect
994
+ // 坡向的8方位描述。可能的取值为N、NE、E、SE、S、SW、W、NW
995
+ aspectDescription = result.aspectDescription</code></pre>
996
+
997
+
998
+
999
+ </div>
1000
+
1001
+ <div class="member">
1002
+
1003
+
1004
+
1005
+ <h4 class="name" id="changeAnalyseArea">
1006
+ <a class="href-link" href="#changeAnalyseArea">#</a>
1007
+
1008
+ <span class="code-name" id="changeAnalyseArea" style="font-size:30px">
1009
+
1010
+ changeAnalyseArea<span class="signature">(positions)</span>
1011
+
1012
+ </span>
1013
+ </h4>
1014
+
1015
+
1016
+
1017
+ <div class="description">
1018
+ <p>更新分析区域</p>
1019
+ </div>
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+ <h4>参数</h4>
1031
+
1032
+ <div class="table-container">
1033
+ <table class="params table">
1034
+ <thead>
1035
+ <tr>
1036
+
1037
+ <th>名称</th>
1038
+
1039
+
1040
+ <th>类型</th>
1041
+
1042
+
1043
+
1044
+ <th class="last">描述</th>
1045
+ </tr>
1046
+ </thead>
1047
+
1048
+ <tbody>
1049
+
1050
+
1051
+
1052
+ <tr class="deep-level-0">
1053
+
1054
+ <td class="name"><code>positions</code></td>
1055
+
1056
+
1057
+ <td class="type">
1058
+
1059
+
1060
+ <span class="param-type">
1061
+
1062
+ Array
1063
+
1064
+ </span>
1065
+
1066
+
1067
+
1068
+
1069
+ </td>
1070
+
1071
+
1072
+
1073
+ <td class="description last"><p>分析范围(世界坐标)</p></td>
1074
+ </tr>
1075
+
1076
+
1077
+
1078
+
1079
+ </tbody>
1080
+ </table>
1081
+ </div>
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+ <dl class="details">
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+ </dl>
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+
1143
+
1144
+ <h5>示例</h5>
1145
+
1146
+
1147
+ <pre class="prettyprint"><code>terrainAnalyse.changeAnalyseArea(positions);</code></pre>
1148
+
1149
+
1150
+
1151
+ </div>
1152
+
1153
+ <div class="member">
1154
+
1155
+
1156
+
1157
+ <h4 class="name" id="changeArrowAspectRepeat">
1158
+ <a class="href-link" href="#changeArrowAspectRepeat">#</a>
1159
+
1160
+ <span class="code-name" id="changeArrowAspectRepeat" style="font-size:30px">
1161
+
1162
+ changeArrowAspectRepeat<span class="signature">(cartesian2)</span>
1163
+
1164
+ </span>
1165
+ </h4>
1166
+
1167
+
1168
+
1169
+ <div class="description">
1170
+ <p>修改坡向箭头密度</p>
1171
+ </div>
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+ <h4>参数</h4>
1183
+
1184
+ <div class="table-container">
1185
+ <table class="params table">
1186
+ <thead>
1187
+ <tr>
1188
+
1189
+ <th>名称</th>
1190
+
1191
+
1192
+ <th>类型</th>
1193
+
1194
+
1195
+
1196
+ <th class="last">描述</th>
1197
+ </tr>
1198
+ </thead>
1199
+
1200
+ <tbody>
1201
+
1202
+
1203
+
1204
+ <tr class="deep-level-0">
1205
+
1206
+ <td class="name"><code>cartesian2</code></td>
1207
+
1208
+
1209
+ <td class="type">
1210
+
1211
+
1212
+ <span class="param-type">
1213
+
1214
+ Cesium.Cartesian2
1215
+
1216
+ </span>
1217
+
1218
+
1219
+
1220
+
1221
+ </td>
1222
+
1223
+
1224
+
1225
+ <td class="description last"><p>x,y方向上的重复次数</p></td>
1226
+ </tr>
1227
+
1228
+
1229
+
1230
+
1231
+ </tbody>
1232
+ </table>
1233
+ </div>
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+
1240
+ <dl class="details">
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+
1269
+
1270
+
1271
+
1272
+ </dl>
1273
+
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+ <h5>示例</h5>
1297
+
1298
+
1299
+ <pre class="prettyprint"><code>var cartesian2= new Cesium.Cartesian2(3.0,3.0);
1300
+ changeArrowAspectRepeat(cartesian2);</code></pre>
1301
+
1302
+
1303
+
1304
+ </div>
1305
+
1306
+ <div class="member">
1307
+
1308
+
1309
+
1310
+ <h4 class="name" id="changeColorTable">
1311
+ <a class="href-link" href="#changeColorTable">#</a>
1312
+
1313
+ <span class="code-name" id="changeColorTable" style="font-size:30px">
1314
+
1315
+ changeColorTable<span class="signature">(colorTable, ShadingType)</span>
1316
+
1317
+ </span>
1318
+ </h4>
1319
+
1320
+
1321
+
1322
+ <div class="description">
1323
+ <p>更新色表</p>
1324
+ </div>
1325
+
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+ <h4>参数</h4>
1336
+
1337
+ <div class="table-container">
1338
+ <table class="params table">
1339
+ <thead>
1340
+ <tr>
1341
+
1342
+ <th>名称</th>
1343
+
1344
+
1345
+ <th>类型</th>
1346
+
1347
+
1348
+
1349
+ <th class="last">描述</th>
1350
+ </tr>
1351
+ </thead>
1352
+
1353
+ <tbody>
1354
+
1355
+
1356
+
1357
+ <tr class="deep-level-0">
1358
+
1359
+ <td class="name"><code>colorTable</code></td>
1360
+
1361
+
1362
+ <td class="type">
1363
+
1364
+
1365
+ <span class="param-type">
1366
+
1367
+ Array
1368
+
1369
+ </span>
1370
+
1371
+
1372
+
1373
+
1374
+ </td>
1375
+
1376
+
1377
+
1378
+ <td class="description last"><p>色表</p></td>
1379
+ </tr>
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+ <tr class="deep-level-0">
1387
+
1388
+ <td class="name"><code>ShadingType</code></td>
1389
+
1390
+
1391
+ <td class="type">
1392
+
1393
+
1394
+ <span class="param-type">
1395
+
1396
+ String
1397
+
1398
+ </span>
1399
+
1400
+
1401
+
1402
+
1403
+ </td>
1404
+
1405
+
1406
+
1407
+ <td class="description last"><p>渲染类型,高程赋色'elevation'、坡度分析'slope'、坡向分析'aspect'。</p></td>
1408
+ </tr>
1409
+
1410
+
1411
+
1412
+
1413
+ </tbody>
1414
+ </table>
1415
+ </div>
1416
+
1417
+
1418
+
1419
+
1420
+
1421
+
1422
+ <dl class="details">
1423
+
1424
+
1425
+
1426
+
1427
+
1428
+
1429
+
1430
+
1431
+
1432
+
1433
+
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+
1454
+ </dl>
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+ <h5>示例</h5>
1479
+
1480
+
1481
+ <pre class="prettyprint"><code>var defaultColor = ['#000000', '#2747E0', '#D33B7D', '#D33038', '#FF9742', '#ffd700', '#FFFFFF'];
1482
+ terrainAnalyse.changeColorTable(defaultColor,'elevation');</code></pre>
1483
+
1484
+
1485
+
1486
+ </div>
1487
+
1488
+ <div class="member">
1489
+
1490
+
1491
+
1492
+ <h4 class="name" id="changeColorTableDis">
1493
+ <a class="href-link" href="#changeColorTableDis">#</a>
1494
+
1495
+ <span class="code-name" id="changeColorTableDis" style="font-size:30px">
1496
+
1497
+ changeColorTableDis<span class="signature">(colorTableDis, ShadingType)</span>
1498
+
1499
+ </span>
1500
+ </h4>
1501
+
1502
+
1503
+
1504
+ <div class="description">
1505
+ <p>更新色表间距值</p>
1506
+ </div>
1507
+
1508
+
1509
+
1510
+
1511
+
1512
+
1513
+
1514
+
1515
+
1516
+
1517
+ <h4>参数</h4>
1518
+
1519
+ <div class="table-container">
1520
+ <table class="params table">
1521
+ <thead>
1522
+ <tr>
1523
+
1524
+ <th>名称</th>
1525
+
1526
+
1527
+ <th>类型</th>
1528
+
1529
+
1530
+
1531
+ <th class="last">描述</th>
1532
+ </tr>
1533
+ </thead>
1534
+
1535
+ <tbody>
1536
+
1537
+
1538
+
1539
+ <tr class="deep-level-0">
1540
+
1541
+ <td class="name"><code>colorTableDis</code></td>
1542
+
1543
+
1544
+ <td class="type">
1545
+
1546
+
1547
+ <span class="param-type">
1548
+
1549
+ Array
1550
+
1551
+ </span>
1552
+
1553
+
1554
+
1555
+
1556
+ </td>
1557
+
1558
+
1559
+
1560
+ <td class="description last"><p>色表间距值</p></td>
1561
+ </tr>
1562
+
1563
+
1564
+
1565
+
1566
+
1567
+
1568
+ <tr class="deep-level-0">
1569
+
1570
+ <td class="name"><code>ShadingType</code></td>
1571
+
1572
+
1573
+ <td class="type">
1574
+
1575
+
1576
+ <span class="param-type">
1577
+
1578
+ String
1579
+
1580
+ </span>
1581
+
1582
+
1583
+
1584
+
1585
+ </td>
1586
+
1587
+
1588
+
1589
+ <td class="description last"><p>渲染类型,高程赋色'elevation'、坡度分析'slope'、坡向分析'aspect'。</p></td>
1590
+ </tr>
1591
+
1592
+
1593
+
1594
+
1595
+ </tbody>
1596
+ </table>
1597
+ </div>
1598
+
1599
+
1600
+
1601
+
1602
+
1603
+
1604
+ <dl class="details">
1605
+
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+ </dl>
1637
+
1638
+
1639
+
1640
+
1641
+
1642
+
1643
+
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+
1653
+
1654
+
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+ <h5>示例</h5>
1661
+
1662
+
1663
+ <pre class="prettyprint"><code>var defaultColor = [0, 0.2, 0.3,0.4, 0.5, 0.6, 1];
1664
+ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
1665
+
1666
+
1667
+
1668
+ </div>
1669
+
1670
+ <div class="member">
1671
+
1672
+
1673
+
1674
+ <h4 class="name" id="changeContours">
1675
+ <a class="href-link" href="#changeContours">#</a>
1676
+
1677
+ <span class="code-name" id="changeContours" style="font-size:30px">
1678
+
1679
+ changeContours<span class="signature">(ContourSpacing, ContourWidth, ContourColor)</span>
1680
+
1681
+ </span>
1682
+ </h4>
1683
+
1684
+
1685
+
1686
+ <div class="description">
1687
+ <p>修改等高线宽度,间距和颜色</p>
1688
+ </div>
1689
+
1690
+
1691
+
1692
+
1693
+
1694
+
1695
+
1696
+
1697
+
1698
+
1699
+ <h4>参数</h4>
1700
+
1701
+ <div class="table-container">
1702
+ <table class="params table">
1703
+ <thead>
1704
+ <tr>
1705
+
1706
+ <th>名称</th>
1707
+
1708
+
1709
+ <th>类型</th>
1710
+
1711
+
1712
+
1713
+ <th class="last">描述</th>
1714
+ </tr>
1715
+ </thead>
1716
+
1717
+ <tbody>
1718
+
1719
+
1720
+
1721
+ <tr class="deep-level-0">
1722
+
1723
+ <td class="name"><code>ContourSpacing</code></td>
1724
+
1725
+
1726
+ <td class="type">
1727
+
1728
+
1729
+ <span class="param-type">
1730
+
1731
+ Number
1732
+
1733
+ </span>
1734
+
1735
+
1736
+
1737
+
1738
+ </td>
1739
+
1740
+
1741
+
1742
+ <td class="description last"><p>修改等间距</p></td>
1743
+ </tr>
1744
+
1745
+
1746
+
1747
+
1748
+
1749
+
1750
+ <tr class="deep-level-0">
1751
+
1752
+ <td class="name"><code>ContourWidth</code></td>
1753
+
1754
+
1755
+ <td class="type">
1756
+
1757
+
1758
+ <span class="param-type">
1759
+
1760
+ Number
1761
+
1762
+ </span>
1763
+
1764
+
1765
+
1766
+
1767
+ </td>
1768
+
1769
+
1770
+
1771
+ <td class="description last"><p>修改等高线宽度</p></td>
1772
+ </tr>
1773
+
1774
+
1775
+
1776
+
1777
+
1778
+
1779
+ <tr class="deep-level-0">
1780
+
1781
+ <td class="name"><code>ContourColor</code></td>
1782
+
1783
+
1784
+ <td class="type">
1785
+
1786
+
1787
+ <span class="param-type">
1788
+
1789
+ Cesium.Color
1790
+
1791
+ </span>
1792
+
1793
+
1794
+
1795
+
1796
+ </td>
1797
+
1798
+
1799
+
1800
+ <td class="description last"><p>修改等高线颜色</p></td>
1801
+ </tr>
1802
+
1803
+
1804
+
1805
+
1806
+ </tbody>
1807
+ </table>
1808
+ </div>
1809
+
1810
+
1811
+
1812
+
1813
+
1814
+
1815
+ <dl class="details">
1816
+
1817
+
1818
+
1819
+
1820
+
1821
+
1822
+
1823
+
1824
+
1825
+
1826
+
1827
+
1828
+
1829
+
1830
+
1831
+
1832
+
1833
+
1834
+
1835
+
1836
+
1837
+
1838
+
1839
+
1840
+
1841
+
1842
+
1843
+
1844
+
1845
+
1846
+
1847
+ </dl>
1848
+
1849
+
1850
+
1851
+
1852
+
1853
+
1854
+
1855
+
1856
+
1857
+
1858
+
1859
+
1860
+
1861
+
1862
+
1863
+
1864
+
1865
+
1866
+
1867
+
1868
+
1869
+
1870
+
1871
+ </div>
1872
+
1873
+ <div class="member">
1874
+
1875
+
1876
+
1877
+ <h4 class="name" id="destroy">
1878
+ <a class="href-link" href="#destroy">#</a>
1879
+
1880
+ <span class="code-name" id="destroy" style="font-size:30px">
1881
+
1882
+ destroy<span class="signature">()</span>
1883
+
1884
+ </span>
1885
+ </h4>
1886
+
1887
+
1888
+
1889
+ <div class="description">
1890
+ <p>移除坡度坡向,等值面,等高线等分析结果</p>
1891
+ </div>
1892
+
1893
+
1894
+
1895
+
1896
+
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+
1903
+
1904
+
1905
+
1906
+ <dl class="details">
1907
+
1908
+
1909
+
1910
+
1911
+
1912
+
1913
+
1914
+
1915
+
1916
+
1917
+
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+ </dl>
1939
+
1940
+
1941
+
1942
+
1943
+
1944
+
1945
+
1946
+
1947
+
1948
+
1949
+
1950
+
1951
+
1952
+
1953
+
1954
+
1955
+
1956
+
1957
+
1958
+
1959
+
1960
+
1961
+
1962
+ </div>
1963
+
1964
+ <div class="member">
1965
+
1966
+
1967
+
1968
+ <h4 class="name" id="queryInfo">
1969
+ <a class="href-link" href="#queryInfo">#</a>
1970
+
1971
+ <span class="code-name" id="queryInfo" style="font-size:30px">
1972
+
1973
+ queryInfo<span class="signature">(getResult)</span>
1974
+
1975
+ </span>
1976
+ </h4>
1977
+
1978
+
1979
+
1980
+ <div class="description">
1981
+ <p>右键点击查询坡度坡向值</p>
1982
+ </div>
1983
+
1984
+
1985
+
1986
+
1987
+
1988
+
1989
+
1990
+
1991
+
1992
+
1993
+ <h4>参数</h4>
1994
+
1995
+ <div class="table-container">
1996
+ <table class="params table">
1997
+ <thead>
1998
+ <tr>
1999
+
2000
+ <th>名称</th>
2001
+
2002
+
2003
+ <th>类型</th>
2004
+
2005
+
2006
+
2007
+ <th class="last">描述</th>
2008
+ </tr>
2009
+ </thead>
2010
+
2011
+ <tbody>
2012
+
2013
+
2014
+
2015
+ <tr class="deep-level-0">
2016
+
2017
+ <td class="name"><code>getResult</code></td>
2018
+
2019
+
2020
+ <td class="type">
2021
+
2022
+
2023
+ <span class="param-type">
2024
+
2025
+ function
2026
+
2027
+ </span>
2028
+
2029
+
2030
+
2031
+
2032
+ </td>
2033
+
2034
+
2035
+
2036
+ <td class="description last"><p>回调返回结果</p></td>
2037
+ </tr>
2038
+
2039
+
2040
+
2041
+
2042
+ </tbody>
2043
+ </table>
2044
+ </div>
2045
+
2046
+
2047
+
2048
+
2049
+
2050
+
2051
+ <dl class="details">
2052
+
2053
+
2054
+
2055
+
2056
+
2057
+
2058
+
2059
+
2060
+
2061
+
2062
+
2063
+
2064
+
2065
+
2066
+
2067
+
2068
+
2069
+
2070
+
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+
2079
+
2080
+
2081
+
2082
+
2083
+ </dl>
2084
+
2085
+
2086
+
2087
+
2088
+
2089
+
2090
+
2091
+
2092
+
2093
+
2094
+
2095
+
2096
+
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+
2103
+
2104
+
2105
+
2106
+
2107
+ <h5>示例</h5>
2108
+
2109
+
2110
+ <pre class="prettyprint"><code>var getResult = function(e){console.log(e)};
2111
+ var terrainAnalyse = new Cesium.TerrainAnalyse(viewer, {});
2112
+ terrainAnalyse.queryInfo(getResult);</code></pre>
2113
+
2114
+
2115
+
2116
+ </div>
2117
+
2118
+ <div class="member">
2119
+
2120
+
2121
+
2122
+ <h4 class="name" id="removeQueryInfo">
2123
+ <a class="href-link" href="#removeQueryInfo">#</a>
2124
+
2125
+ <span class="code-name" id="removeQueryInfo" style="font-size:30px">
2126
+
2127
+ removeQueryInfo<span class="signature">()</span>
2128
+
2129
+ </span>
2130
+ </h4>
2131
+
2132
+
2133
+
2134
+ <div class="description">
2135
+ <p>移除点击查询坡度坡向值事件</p>
2136
+ </div>
2137
+
2138
+
2139
+
2140
+
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+
2149
+
2150
+
2151
+ <dl class="details">
2152
+
2153
+
2154
+
2155
+
2156
+
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+
2163
+
2164
+
2165
+
2166
+
2167
+
2168
+
2169
+
2170
+
2171
+
2172
+
2173
+
2174
+
2175
+
2176
+
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+
2183
+ </dl>
2184
+
2185
+
2186
+
2187
+
2188
+
2189
+
2190
+
2191
+
2192
+
2193
+
2194
+
2195
+
2196
+
2197
+
2198
+
2199
+
2200
+
2201
+
2202
+
2203
+
2204
+
2205
+
2206
+
2207
+ </div>
2208
+
2209
+ <div class="member">
2210
+
2211
+
2212
+
2213
+ <h4 class="name" id="removeTerrainFlatten">
2214
+ <a class="href-link" href="#removeTerrainFlatten">#</a>
2215
+
2216
+ <span class="code-name" id="removeTerrainFlatten" style="font-size:30px">
2217
+
2218
+ removeTerrainFlatten<span class="signature">()</span>
2219
+
2220
+ </span>
2221
+ </h4>
2222
+
2223
+
2224
+
2225
+ <div class="description">
2226
+ <p>移除地形压平</p>
2227
+ </div>
2228
+
2229
+
2230
+
2231
+
2232
+
2233
+
2234
+
2235
+
2236
+
2237
+
2238
+
2239
+
2240
+
2241
+
2242
+ <dl class="details">
2243
+
2244
+
2245
+
2246
+
2247
+
2248
+
2249
+
2250
+
2251
+
2252
+
2253
+
2254
+
2255
+
2256
+
2257
+
2258
+
2259
+
2260
+
2261
+
2262
+
2263
+
2264
+
2265
+
2266
+
2267
+
2268
+
2269
+
2270
+
2271
+
2272
+
2273
+
2274
+ </dl>
2275
+
2276
+
2277
+
2278
+
2279
+
2280
+
2281
+
2282
+
2283
+
2284
+
2285
+
2286
+
2287
+
2288
+
2289
+
2290
+
2291
+
2292
+
2293
+
2294
+
2295
+
2296
+
2297
+
2298
+ </div>
2299
+
2300
+ <div class="member">
2301
+
2302
+
2303
+
2304
+ <h4 class="name" id="terrainFlatten">
2305
+ <a class="href-link" href="#terrainFlatten">#</a>
2306
+
2307
+ <span class="code-name" id="terrainFlatten" style="font-size:30px">
2308
+
2309
+ terrainFlatten<span class="signature">(positions, flattenHeight)</span>
2310
+
2311
+ </span>
2312
+ </h4>
2313
+
2314
+
2315
+
2316
+ <div class="description">
2317
+ <p>地形压平</p>
2318
+ </div>
2319
+
2320
+
2321
+
2322
+
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+
2329
+ <h4>参数</h4>
2330
+
2331
+ <div class="table-container">
2332
+ <table class="params table">
2333
+ <thead>
2334
+ <tr>
2335
+
2336
+ <th>名称</th>
2337
+
2338
+
2339
+ <th>类型</th>
2340
+
2341
+
2342
+
2343
+ <th class="last">描述</th>
2344
+ </tr>
2345
+ </thead>
2346
+
2347
+ <tbody>
2348
+
2349
+
2350
+
2351
+ <tr class="deep-level-0">
2352
+
2353
+ <td class="name"><code>positions</code></td>
2354
+
2355
+
2356
+ <td class="type">
2357
+
2358
+
2359
+ <span class="param-type">
2360
+
2361
+ Array
2362
+
2363
+ </span>
2364
+
2365
+
2366
+
2367
+
2368
+ </td>
2369
+
2370
+
2371
+
2372
+ <td class="description last"><p>多边形顶点坐标数组</p></td>
2373
+ </tr>
2374
+
2375
+
2376
+
2377
+
2378
+
2379
+
2380
+ <tr class="deep-level-0">
2381
+
2382
+ <td class="name"><code>flattenHeight</code></td>
2383
+
2384
+
2385
+ <td class="type">
2386
+
2387
+
2388
+ <span class="param-type">
2389
+
2390
+ Number
2391
+
2392
+ </span>
2393
+
2394
+
2395
+
2396
+
2397
+ </td>
2398
+
2399
+
2400
+
2401
+ <td class="description last"><p>压平到指定高度</p></td>
2402
+ </tr>
2403
+
2404
+
2405
+
2406
+
2407
+ </tbody>
2408
+ </table>
2409
+ </div>
2410
+
2411
+
2412
+
2413
+
2414
+
2415
+
2416
+ <dl class="details">
2417
+
2418
+
2419
+
2420
+
2421
+
2422
+
2423
+
2424
+
2425
+
2426
+
2427
+
2428
+
2429
+
2430
+
2431
+
2432
+
2433
+
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+
2440
+
2441
+
2442
+
2443
+
2444
+
2445
+
2446
+
2447
+
2448
+ </dl>
2449
+
2450
+
2451
+
2452
+
2453
+
2454
+
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+
2461
+
2462
+
2463
+
2464
+
2465
+
2466
+
2467
+ <div class='columns method-parameter'>
2468
+ <div class="column is-2"><label>返回值</label></div>
2469
+ <div class="column is-10">
2470
+
2471
+
2472
+
2473
+ <div class="columns">
2474
+
2475
+ <div class='param-desc column is-7'><p>返回是否成功执行</p></div>
2476
+
2477
+
2478
+ <div class='column is-5 has-text-left'>
2479
+ <label>类型: </label>
2480
+
2481
+ <span class="param-type">
2482
+
2483
+ Boolean
2484
+
2485
+ </span>
2486
+
2487
+
2488
+
2489
+ </div>
2490
+
2491
+ </div>
2492
+
2493
+
2494
+ </div>
2495
+ </div>
2496
+
2497
+
2498
+
2499
+
2500
+
2501
+
2502
+ </div>
2503
+
2504
+ <div class="member">
2505
+
2506
+
2507
+
2508
+ <h4 class="name" id="updateElevationBandMaterial">
2509
+ <a class="href-link" href="#updateElevationBandMaterial">#</a>
2510
+
2511
+ <span class="code-name" id="updateElevationBandMaterial" style="font-size:30px">
2512
+
2513
+ updateElevationBandMaterial<span class="signature">(bandPositions, gradient, bandThickness, bandTransparency, backgroundTransparency, colorsArray)</span>
2514
+
2515
+ </span>
2516
+ </h4>
2517
+
2518
+
2519
+
2520
+ <div class="description">
2521
+ <p>开启地形等值面分析</p>
2522
+ </div>
2523
+
2524
+
2525
+
2526
+
2527
+
2528
+
2529
+
2530
+
2531
+
2532
+
2533
+ <h4>参数</h4>
2534
+
2535
+ <div class="table-container">
2536
+ <table class="params table">
2537
+ <thead>
2538
+ <tr>
2539
+
2540
+ <th>名称</th>
2541
+
2542
+
2543
+ <th>类型</th>
2544
+
2545
+
2546
+
2547
+ <th class="last">描述</th>
2548
+ </tr>
2549
+ </thead>
2550
+
2551
+ <tbody>
2552
+
2553
+
2554
+
2555
+ <tr class="deep-level-0">
2556
+
2557
+ <td class="name"><code>bandPositions</code></td>
2558
+
2559
+
2560
+ <td class="type">
2561
+
2562
+
2563
+ <span class="param-type">
2564
+
2565
+ Array
2566
+
2567
+ </span>
2568
+
2569
+
2570
+
2571
+
2572
+ </td>
2573
+
2574
+
2575
+
2576
+ <td class="description last"><p>等值面数组,高度,单位米</p></td>
2577
+ </tr>
2578
+
2579
+
2580
+
2581
+
2582
+
2583
+
2584
+ <tr class="deep-level-0">
2585
+
2586
+ <td class="name"><code>gradient</code></td>
2587
+
2588
+
2589
+ <td class="type">
2590
+
2591
+
2592
+ <span class="param-type">
2593
+
2594
+ Boolean
2595
+
2596
+ </span>
2597
+
2598
+
2599
+
2600
+
2601
+ </td>
2602
+
2603
+
2604
+
2605
+ <td class="description last"><p>是否渐变</p></td>
2606
+ </tr>
2607
+
2608
+
2609
+
2610
+
2611
+
2612
+
2613
+ <tr class="deep-level-0">
2614
+
2615
+ <td class="name"><code>bandThickness</code></td>
2616
+
2617
+
2618
+ <td class="type">
2619
+
2620
+
2621
+ <span class="param-type">
2622
+
2623
+ Number
2624
+
2625
+ </span>
2626
+
2627
+
2628
+
2629
+
2630
+ </td>
2631
+
2632
+
2633
+
2634
+ <td class="description last"><p>等值面宽度</p></td>
2635
+ </tr>
2636
+
2637
+
2638
+
2639
+
2640
+
2641
+
2642
+ <tr class="deep-level-0">
2643
+
2644
+ <td class="name"><code>bandTransparency</code></td>
2645
+
2646
+
2647
+ <td class="type">
2648
+
2649
+
2650
+ <span class="param-type">
2651
+
2652
+ Number
2653
+
2654
+ </span>
2655
+
2656
+
2657
+
2658
+
2659
+ </td>
2660
+
2661
+
2662
+
2663
+ <td class="description last"><p>等值面透明度</p></td>
2664
+ </tr>
2665
+
2666
+
2667
+
2668
+
2669
+
2670
+
2671
+ <tr class="deep-level-0">
2672
+
2673
+ <td class="name"><code>backgroundTransparency</code></td>
2674
+
2675
+
2676
+ <td class="type">
2677
+
2678
+
2679
+ <span class="param-type">
2680
+
2681
+ Number
2682
+
2683
+ </span>
2684
+
2685
+
2686
+
2687
+
2688
+ </td>
2689
+
2690
+
2691
+
2692
+ <td class="description last"><p>等值面背景透明度</p></td>
2693
+ </tr>
2694
+
2695
+
2696
+
2697
+
2698
+
2699
+
2700
+ <tr class="deep-level-0">
2701
+
2702
+ <td class="name"><code>colorsArray</code></td>
2703
+
2704
+
2705
+ <td class="type">
2706
+
2707
+
2708
+ <span class="param-type">
2709
+
2710
+ Array
2711
+
2712
+ </span>
2713
+
2714
+
2715
+
2716
+
2717
+ </td>
2718
+
2719
+
2720
+
2721
+ <td class="description last"><p>等值面颜色数组(数组长度不小于bandPositions)</p></td>
2722
+ </tr>
2723
+
2724
+
2725
+
2726
+
2727
+ </tbody>
2728
+ </table>
2729
+ </div>
2730
+
2731
+
2732
+
2733
+
2734
+
2735
+
2736
+ <dl class="details">
2737
+
2738
+
2739
+
2740
+
2741
+
2742
+
2743
+
2744
+
2745
+
2746
+
2747
+
2748
+
2749
+
2750
+
2751
+
2752
+
2753
+
2754
+
2755
+
2756
+
2757
+
2758
+
2759
+
2760
+
2761
+
2762
+
2763
+
2764
+
2765
+
2766
+
2767
+
2768
+ </dl>
2769
+
2770
+
2771
+
2772
+
2773
+
2774
+
2775
+
2776
+
2777
+
2778
+
2779
+
2780
+
2781
+
2782
+
2783
+
2784
+
2785
+
2786
+
2787
+
2788
+
2789
+
2790
+
2791
+
2792
+ <h5>示例</h5>
2793
+
2794
+
2795
+ <pre class="prettyprint"><code>var bandPositions = [400,800,1300];
2796
+ var terrainA = new Cesium.TerrainAnalyse(viewer);
2797
+
2798
+ var colorsArray =[Cesium.Color.RED,Cesium.Color.BLUE,Cesium.Color.GREEN];
2799
+ terrainAnalyse.updateElevationBandMaterial(bandPositions,false,100,1.0,0.0,colorsArray);</code></pre>
2800
+
2801
+
2802
+
2803
+ </div>
2804
+
2805
+ <div class="member">
2806
+
2807
+
2808
+
2809
+ <h4 class="name" id="updateMaterial">
2810
+ <a class="href-link" href="#updateMaterial">#</a>
2811
+
2812
+ <span class="code-name" id="updateMaterial" style="font-size:30px">
2813
+
2814
+ updateMaterial<span class="signature">(selectedShading)</span>
2815
+
2816
+ </span>
2817
+ </h4>
2818
+
2819
+
2820
+
2821
+ <div class="description">
2822
+ <p>开启地形分析,坡度,坡向和等值线</p>
2823
+ </div>
2824
+
2825
+
2826
+
2827
+
2828
+
2829
+
2830
+
2831
+
2832
+
2833
+
2834
+ <h4>参数</h4>
2835
+
2836
+ <div class="table-container">
2837
+ <table class="params table">
2838
+ <thead>
2839
+ <tr>
2840
+
2841
+ <th>名称</th>
2842
+
2843
+
2844
+ <th>类型</th>
2845
+
2846
+
2847
+
2848
+ <th class="last">描述</th>
2849
+ </tr>
2850
+ </thead>
2851
+
2852
+ <tbody>
2853
+
2854
+
2855
+
2856
+ <tr class="deep-level-0">
2857
+
2858
+ <td class="name"><code>selectedShading</code></td>
2859
+
2860
+
2861
+ <td class="type">
2862
+
2863
+
2864
+ <span class="param-type">
2865
+
2866
+ String
2867
+
2868
+ </span>
2869
+
2870
+
2871
+
2872
+
2873
+ </td>
2874
+
2875
+
2876
+
2877
+ <td class="description last"><p>地形分析类型</p></td>
2878
+ </tr>
2879
+
2880
+
2881
+
2882
+
2883
+ </tbody>
2884
+ </table>
2885
+ </div>
2886
+
2887
+
2888
+
2889
+
2890
+
2891
+
2892
+ <dl class="details">
2893
+
2894
+
2895
+
2896
+
2897
+
2898
+
2899
+
2900
+
2901
+
2902
+
2903
+
2904
+
2905
+
2906
+
2907
+
2908
+
2909
+
2910
+
2911
+
2912
+
2913
+
2914
+
2915
+
2916
+
2917
+
2918
+
2919
+
2920
+
2921
+
2922
+
2923
+
2924
+ </dl>
2925
+
2926
+
2927
+
2928
+
2929
+
2930
+
2931
+
2932
+
2933
+
2934
+
2935
+
2936
+
2937
+
2938
+
2939
+
2940
+
2941
+
2942
+
2943
+
2944
+
2945
+
2946
+
2947
+
2948
+ <h5>示例</h5>
2949
+
2950
+
2951
+ <pre class="prettyprint"><code>terrainAnalyse.updateMaterial('elevation'); //地形分析渲染类型包括高程赋色'elevation'、坡度分析'slope'、坡向分析'aspect',坡向箭头+坡度颜色分析'arrowAspectSlope',等值面分析'elevationBand'。</code></pre>
2952
+
2953
+
2954
+
2955
+ </div>
2956
+
2957
+ </div>
2958
+ </div>
2959
+
2960
+
2961
+
2962
+
2963
+
2964
+ </article>
2965
+
2966
+ </section>