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