@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,2659 @@
1
+ <header id="page-title" class="page-title">
2
+
3
+ <span class="page-title-main">类名</span>
4
+ <span class="page-title-sub">RiverGeometry</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="RiverGeometry">
26
+ <a class="href-link" href="#RiverGeometry">#</a>
27
+
28
+ <span class="code-name" id="RiverGeometry" style="font-size:30px">
29
+
30
+ new RiverGeometry<span class="signature">(options)</span>
31
+
32
+ </span>
33
+ </h4>
34
+
35
+
36
+
37
+ <div class="description">
38
+ <p>A description of a polygon on the ellipsoid. The polygon is Cesium.defined by a polygon hierarchy. Polygon geometry can be rendered with both <code>Primitive</code> and <code>GroundPrimitive</code>.</p>
39
+ </div>
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+ <h4>参数</h4>
51
+
52
+ <div class="table-container">
53
+ <table class="params table">
54
+ <thead>
55
+ <tr>
56
+
57
+ <th>名称</th>
58
+
59
+
60
+ <th>类型</th>
61
+
62
+
63
+ <th style="min-width: 100px;">默认值</th>
64
+
65
+
66
+ <th class="last">描述</th>
67
+ </tr>
68
+ </thead>
69
+
70
+ <tbody>
71
+
72
+
73
+
74
+ <tr class="deep-level-0">
75
+
76
+ <td class="name"><code>options</code></td>
77
+
78
+
79
+ <td class="type">
80
+
81
+
82
+ <span class="param-type">
83
+
84
+ Object
85
+
86
+ </span>
87
+
88
+
89
+
90
+
91
+ </td>
92
+
93
+
94
+ <td class="default">
95
+
96
+ </td>
97
+
98
+
99
+ <td class="description last"><p>Object with the following properties:</p></td>
100
+ </tr>
101
+
102
+
103
+
104
+
105
+ <tr class="deep-level-1">
106
+
107
+ <td class="name"><code>polygonHierarchy</code></td>
108
+
109
+
110
+ <td class="type">
111
+
112
+
113
+ <span class="param-type">
114
+
115
+ PolygonHierarchy
116
+
117
+ </span>
118
+
119
+
120
+
121
+
122
+ </td>
123
+
124
+
125
+ <td class="default">
126
+
127
+ </td>
128
+
129
+
130
+ <td class="description last"><p>A polygon hierarchy that can include holes.</p></td>
131
+ </tr>
132
+
133
+
134
+
135
+
136
+ <tr class="deep-level-1">
137
+
138
+ <td class="name"><code>height</code></td>
139
+
140
+
141
+ <td class="type">
142
+
143
+
144
+ <span class="param-type">
145
+
146
+ Number
147
+
148
+ </span>
149
+
150
+
151
+
152
+
153
+ </td>
154
+
155
+
156
+ <td class="default">
157
+
158
+ 0.0
159
+
160
+ </td>
161
+
162
+
163
+ <td class="description last"><p>The distance in meters between the polygon and the ellipsoid surface.</p></td>
164
+ </tr>
165
+
166
+
167
+
168
+
169
+ <tr class="deep-level-1">
170
+
171
+ <td class="name"><code>extrudedHeight</code></td>
172
+
173
+
174
+ <td class="type">
175
+
176
+
177
+ <span class="param-type">
178
+
179
+ Number
180
+
181
+ </span>
182
+
183
+
184
+
185
+
186
+ </td>
187
+
188
+
189
+ <td class="default">
190
+
191
+ </td>
192
+
193
+
194
+ <td class="description last"><p>The distance in meters between the polygon's extruded face and the ellipsoid surface.</p></td>
195
+ </tr>
196
+
197
+
198
+
199
+
200
+ <tr class="deep-level-1">
201
+
202
+ <td class="name"><code>vertexFormat</code></td>
203
+
204
+
205
+ <td class="type">
206
+
207
+
208
+ <span class="param-type">
209
+
210
+ Cesium.VertexFormat
211
+
212
+ </span>
213
+
214
+
215
+
216
+
217
+ </td>
218
+
219
+
220
+ <td class="default">
221
+
222
+ Cesium.VertexFormat.DEFAULT
223
+
224
+ </td>
225
+
226
+
227
+ <td class="description last"><p>The vertex attributes to be computed.</p></td>
228
+ </tr>
229
+
230
+
231
+
232
+
233
+ <tr class="deep-level-1">
234
+
235
+ <td class="name"><code>indices</code></td>
236
+
237
+
238
+ <td class="type">
239
+
240
+
241
+ <span class="param-type">
242
+
243
+ Array.&lt;Number>
244
+
245
+ </span>
246
+
247
+
248
+
249
+
250
+ </td>
251
+
252
+
253
+ <td class="default">
254
+
255
+ </td>
256
+
257
+
258
+ <td class="description last"><p>自定义顶点索引</p></td>
259
+ </tr>
260
+
261
+
262
+
263
+
264
+ <tr class="deep-level-1">
265
+
266
+ <td class="name"><code>st</code></td>
267
+
268
+
269
+ <td class="type">
270
+
271
+
272
+ <span class="param-type">
273
+
274
+ Float32Array
275
+
276
+ </span>
277
+
278
+
279
+
280
+
281
+ </td>
282
+
283
+
284
+ <td class="default">
285
+
286
+ </td>
287
+
288
+
289
+ <td class="description last"><p>自定义UV坐标</p></td>
290
+ </tr>
291
+
292
+
293
+
294
+
295
+ <tr class="deep-level-1">
296
+
297
+ <td class="name"><code>stRotation</code></td>
298
+
299
+
300
+ <td class="type">
301
+
302
+
303
+ <span class="param-type">
304
+
305
+ Number
306
+
307
+ </span>
308
+
309
+
310
+
311
+
312
+ </td>
313
+
314
+
315
+ <td class="default">
316
+
317
+ 0.0
318
+
319
+ </td>
320
+
321
+
322
+ <td class="description last"><p>The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.</p></td>
323
+ </tr>
324
+
325
+
326
+
327
+
328
+ <tr class="deep-level-1">
329
+
330
+ <td class="name"><code>ellipsoid</code></td>
331
+
332
+
333
+ <td class="type">
334
+
335
+
336
+ <span class="param-type">
337
+
338
+ Cesium.Ellipsoid
339
+
340
+ </span>
341
+
342
+
343
+
344
+
345
+ </td>
346
+
347
+
348
+ <td class="default">
349
+
350
+ Cesium.Ellipsoid.WGS84
351
+
352
+ </td>
353
+
354
+
355
+ <td class="description last"><p>The ellipsoid to be used as a reference.</p></td>
356
+ </tr>
357
+
358
+
359
+
360
+
361
+ <tr class="deep-level-1">
362
+
363
+ <td class="name"><code>granularity</code></td>
364
+
365
+
366
+ <td class="type">
367
+
368
+
369
+ <span class="param-type">
370
+
371
+ Number
372
+
373
+ </span>
374
+
375
+
376
+
377
+
378
+ </td>
379
+
380
+
381
+ <td class="default">
382
+
383
+ Cesium.Math.RADIANS_PER_DEGREE
384
+
385
+ </td>
386
+
387
+
388
+ <td class="description last"><p>The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.</p></td>
389
+ </tr>
390
+
391
+
392
+
393
+
394
+ <tr class="deep-level-1">
395
+
396
+ <td class="name"><code>perPositionHeight</code></td>
397
+
398
+
399
+ <td class="type">
400
+
401
+
402
+ <span class="param-type">
403
+
404
+ Boolean
405
+
406
+ </span>
407
+
408
+
409
+
410
+
411
+ </td>
412
+
413
+
414
+ <td class="default">
415
+
416
+ false
417
+
418
+ </td>
419
+
420
+
421
+ <td class="description last"><p>Use the height of options.positions for each position instead of using options.height to determine the height.</p></td>
422
+ </tr>
423
+
424
+
425
+
426
+
427
+ <tr class="deep-level-1">
428
+
429
+ <td class="name"><code>closeTop</code></td>
430
+
431
+
432
+ <td class="type">
433
+
434
+
435
+ <span class="param-type">
436
+
437
+ Boolean
438
+
439
+ </span>
440
+
441
+
442
+
443
+
444
+ </td>
445
+
446
+
447
+ <td class="default">
448
+
449
+ true
450
+
451
+ </td>
452
+
453
+
454
+ <td class="description last"><p>When false, leaves off the top of an extruded polygon open.</p></td>
455
+ </tr>
456
+
457
+
458
+
459
+
460
+ <tr class="deep-level-1">
461
+
462
+ <td class="name"><code>closeBottom</code></td>
463
+
464
+
465
+ <td class="type">
466
+
467
+
468
+ <span class="param-type">
469
+
470
+ Boolean
471
+
472
+ </span>
473
+
474
+
475
+
476
+
477
+ </td>
478
+
479
+
480
+ <td class="default">
481
+
482
+ true
483
+
484
+ </td>
485
+
486
+
487
+ <td class="description last"><p>When false, leaves off the bottom of an extruded polygon open.</p></td>
488
+ </tr>
489
+
490
+
491
+
492
+
493
+ <tr class="deep-level-1">
494
+
495
+ <td class="name"><code>arcType</code></td>
496
+
497
+
498
+ <td class="type">
499
+
500
+
501
+ <span class="param-type">
502
+
503
+ Cesium.ArcType
504
+
505
+ </span>
506
+
507
+
508
+
509
+
510
+ </td>
511
+
512
+
513
+ <td class="default">
514
+
515
+ Cesium.ArcType.GEODESIC
516
+
517
+ </td>
518
+
519
+
520
+ <td class="description last"><p>The type of line the polygon edges must follow. Valid options are <code>Cesium.ArcType.GEODESIC</code> and <code>Cesium.ArcType.RHUMB</code>.</p></td>
521
+ </tr>
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+ </tbody>
530
+ </table>
531
+ </div>
532
+
533
+
534
+
535
+
536
+
537
+
538
+ <dl class="details">
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
+
565
+
566
+ <dt class="tag-see">See:</dt>
567
+ <dd class="tag-see">
568
+ <ul>
569
+ <li>RiverGeometry#createGeometry</li>
570
+
571
+ <li>RiverGeometry#fromPositions</li>
572
+ </ul>
573
+ </dd>
574
+
575
+
576
+
577
+
578
+
579
+ </dl>
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+ <h5>示例</h5>
604
+
605
+
606
+ <pre class="prettyprint"><code>// 1. create a polygon from points
607
+ var polygon = new Cesium.RiverGeometry({
608
+ polygonHierarchy : new Cesium.PolygonHierarchy(
609
+ Cesium.Cesium.Cartesian3.fromDegreesArray([
610
+ -72.0, 40.0,
611
+ -70.0, 35.0,
612
+ -75.0, 30.0,
613
+ -70.0, 30.0,
614
+ -68.0, 40.0
615
+ ])
616
+ )
617
+ });
618
+ var geometry = Cesium.RiverGeometry.createGeometry(polygon);
619
+
620
+ // 2. create a nested polygon with holes
621
+ var polygonWithHole = new Cesium.RiverGeometry({
622
+ polygonHierarchy : new Cesium.PolygonHierarchy(
623
+ Cesium.Cesium.Cartesian3.fromDegreesArray([
624
+ -109.0, 30.0,
625
+ -95.0, 30.0,
626
+ -95.0, 40.0,
627
+ -109.0, 40.0
628
+ ]),
629
+ [new Cesium.PolygonHierarchy(
630
+ Cesium.Cesium.Cartesian3.fromDegreesArray([
631
+ -107.0, 31.0,
632
+ -107.0, 39.0,
633
+ -97.0, 39.0,
634
+ -97.0, 31.0
635
+ ]),
636
+ [new Cesium.PolygonHierarchy(
637
+ Cesium.Cesium.Cartesian3.fromDegreesArray([
638
+ -105.0, 33.0,
639
+ -99.0, 33.0,
640
+ -99.0, 37.0,
641
+ -105.0, 37.0
642
+ ]),
643
+ [new Cesium.PolygonHierarchy(
644
+ Cesium.Cesium.Cartesian3.fromDegreesArray([
645
+ -103.0, 34.0,
646
+ -101.0, 34.0,
647
+ -101.0, 36.0,
648
+ -103.0, 36.0
649
+ ])
650
+ )]
651
+ )]
652
+ )]
653
+ )
654
+ });
655
+ var geometry = Cesium.RiverGeometry.createGeometry(polygonWithHole);
656
+
657
+ // 3. create extruded polygon
658
+ var extrudedPolygon = new Cesium.RiverGeometry({
659
+ polygonHierarchy : new Cesium.PolygonHierarchy(
660
+ Cesium.Cesium.Cartesian3.fromDegreesArray([
661
+ -72.0, 40.0,
662
+ -70.0, 35.0,
663
+ -75.0, 30.0,
664
+ -70.0, 30.0,
665
+ -68.0, 40.0
666
+ ])
667
+ ),
668
+ extrudedHeight: 300000
669
+ });
670
+ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre>
671
+
672
+
673
+
674
+
675
+ </div>
676
+ </div>
677
+ </div>
678
+
679
+
680
+ </div>
681
+
682
+
683
+
684
+
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+ <div class='vertical-section'>
696
+ <h3 id='member'>成员变量</h3>
697
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
698
+ <div class="table-container">
699
+ <table class="params table">
700
+ <thead>
701
+ <tr>
702
+ <th>名称</th>
703
+ <th>类型</th>
704
+ <th>描述</th>
705
+ </tr>
706
+ </thead>
707
+ <tbody>
708
+
709
+ <tr class="deep-level-0">
710
+ <td class="name"><code><a href="#_indices">_indices</a></code></td>
711
+ <td class="name">
712
+ <code>
713
+
714
+ </code>
715
+ </td>
716
+ <td class="name"><code><p>feat:2106 河流覆盖物类型
717
+ 传入自定义顶点indices
718
+ 传入自定义UV坐标</p></code></td>
719
+ </tr>
720
+
721
+ <tr class="deep-level-0">
722
+ <td class="name"><code><a href="#packedLength">packedLength</a></code></td>
723
+ <td class="name">
724
+ <code>
725
+
726
+ <span class="param-type">
727
+
728
+ Number
729
+
730
+ </span>
731
+
732
+
733
+
734
+ </code>
735
+ </td>
736
+ <td class="name"><code><p>The number of elements used to pack the object into an array.</p></code></td>
737
+ </tr>
738
+
739
+ </tbody>
740
+ </table>
741
+ </div>
742
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
743
+ <div class="members">
744
+
745
+ <div class="member">
746
+
747
+ <h4 class="name" id="_indices">
748
+ <a class="href-link" href="#_indices">#</a>
749
+
750
+ <span class="code-name">
751
+ _indices
752
+ </span>
753
+
754
+ </h4>
755
+
756
+
757
+
758
+
759
+ <div class="description">
760
+ <p>feat:2106 河流覆盖物类型
761
+ 传入自定义顶点indices
762
+ 传入自定义UV坐标</p>
763
+ </div>
764
+
765
+
766
+
767
+
768
+
769
+ <dl class="details">
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+
800
+
801
+ </dl>
802
+
803
+
804
+
805
+
806
+
807
+ </div>
808
+
809
+ <div class="member">
810
+
811
+ <span class="method-parameter is-pulled-right">
812
+ <label>类型:</label>
813
+
814
+ <span class="param-type">
815
+
816
+ Number
817
+
818
+ </span>
819
+
820
+
821
+
822
+ </span>
823
+
824
+ <h4 class="name" id="packedLength">
825
+ <a class="href-link" href="#packedLength">#</a>
826
+
827
+ <span class="code-name">
828
+ packedLength
829
+ </span>
830
+
831
+ </h4>
832
+
833
+
834
+
835
+
836
+ <div class="description">
837
+ <p>The number of elements used to pack the object into an array.</p>
838
+ </div>
839
+
840
+
841
+
842
+
843
+
844
+ <dl class="details">
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+
853
+
854
+
855
+
856
+
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+
875
+
876
+ </dl>
877
+
878
+
879
+
880
+
881
+
882
+ </div>
883
+
884
+ </div>
885
+ </div>
886
+
887
+
888
+
889
+ <div class='vertical-section'>
890
+ <h3 id='function'>方法</h3>
891
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
892
+ <div class="members">
893
+ <div class="table-container">
894
+ <table class="params table">
895
+ <thead>
896
+ <tr>
897
+ <th>名称</th>
898
+ <th>返回值类型</th>
899
+ <th>描述</th>
900
+ </tr>
901
+ </thead>
902
+ <tbody>
903
+
904
+ <tr class="deep-level-0">
905
+ <td class="name"><code><a href="#computeRectangle">computeRectangle</a></code></td>
906
+ <td class="name">
907
+ <code>
908
+
909
+
910
+ <span class="param-type">
911
+
912
+ Cesium.Rectangle
913
+
914
+ </span>
915
+
916
+
917
+
918
+
919
+ </code>
920
+ </td>
921
+ <td class="name"><code><p>Returns the bounding rectangle given the provided options</p></code></td>
922
+ </tr>
923
+
924
+ <tr class="deep-level-0">
925
+ <td class="name"><code><a href="#createGeometry">createGeometry</a></code></td>
926
+ <td class="name">
927
+ <code>
928
+
929
+
930
+ <span class="param-type">
931
+
932
+ Cesium.Geometry
933
+
934
+ </span>
935
+ |
936
+
937
+ <span class="param-type">
938
+
939
+ undefined
940
+
941
+ </span>
942
+
943
+
944
+
945
+
946
+ </code>
947
+ </td>
948
+ <td class="name"><code><p>Computes the geometric representation of a polygon, including its vertices, indices, and a bounding sphere.</p></code></td>
949
+ </tr>
950
+
951
+ <tr class="deep-level-0">
952
+ <td class="name"><code><a href="#fromPositions">fromPositions</a></code></td>
953
+ <td class="name">
954
+ <code>
955
+
956
+
957
+ <span class="param-type">
958
+
959
+ <a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
960
+
961
+ </span>
962
+
963
+
964
+
965
+
966
+ </code>
967
+ </td>
968
+ <td class="name"><code><p>A description of a polygon from an array of positions. Polygon geometry can be rendered with both <code>Primitive</code> and <code>GroundPrimitive</code>.</p></code></td>
969
+ </tr>
970
+
971
+ <tr class="deep-level-0">
972
+ <td class="name"><code><a href="#pack">pack</a></code></td>
973
+ <td class="name">
974
+ <code>
975
+
976
+
977
+ <span class="param-type">
978
+
979
+ Array.&lt;Number>
980
+
981
+ </span>
982
+
983
+
984
+
985
+
986
+ </code>
987
+ </td>
988
+ <td class="name"><code><p>Stores the provided instance into the provided array.</p></code></td>
989
+ </tr>
990
+
991
+ <tr class="deep-level-0">
992
+ <td class="name"><code><a href="#unpack">unpack</a></code></td>
993
+ <td class="name">
994
+ <code>
995
+
996
+ </code>
997
+ </td>
998
+ <td class="name"><code><p>Retrieves an instance from a packed array.</p></code></td>
999
+ </tr>
1000
+
1001
+ </tbody>
1002
+ </table>
1003
+ </div>
1004
+ <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
1005
+
1006
+ <div class="member">
1007
+
1008
+
1009
+
1010
+ <h4 class="name" id=".computeRectangle">
1011
+ <a class="href-link" href="#.computeRectangle">#</a>
1012
+
1013
+
1014
+ <span class='tag'>static</span>
1015
+
1016
+
1017
+ <span class="code-name" id="computeRectangle" style="font-size:30px">
1018
+
1019
+ computeRectangle<span class="signature">(options, result<span class="signature-attributes">opt</span>)</span>
1020
+
1021
+ </span>
1022
+ </h4>
1023
+
1024
+
1025
+
1026
+ <div class="description">
1027
+ <p>Returns the bounding rectangle given the provided options</p>
1028
+ </div>
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+ <h4>参数</h4>
1040
+
1041
+ <div class="table-container">
1042
+ <table class="params table">
1043
+ <thead>
1044
+ <tr>
1045
+
1046
+ <th>名称</th>
1047
+
1048
+
1049
+ <th>类型</th>
1050
+
1051
+
1052
+ <th style="min-width: 100px;">默认值</th>
1053
+
1054
+
1055
+ <th class="last">描述</th>
1056
+ </tr>
1057
+ </thead>
1058
+
1059
+ <tbody>
1060
+
1061
+
1062
+
1063
+ <tr class="deep-level-0">
1064
+
1065
+ <td class="name"><code>options</code></td>
1066
+
1067
+
1068
+ <td class="type">
1069
+
1070
+
1071
+ <span class="param-type">
1072
+
1073
+ Object
1074
+
1075
+ </span>
1076
+
1077
+
1078
+
1079
+
1080
+ </td>
1081
+
1082
+
1083
+ <td class="default">
1084
+
1085
+ </td>
1086
+
1087
+
1088
+ <td class="description last"><p>Object with the following properties:</p></td>
1089
+ </tr>
1090
+
1091
+
1092
+
1093
+
1094
+ <tr class="deep-level-1">
1095
+
1096
+ <td class="name"><code>polygonHierarchy</code></td>
1097
+
1098
+
1099
+ <td class="type">
1100
+
1101
+
1102
+ <span class="param-type">
1103
+
1104
+ PolygonHierarchy
1105
+
1106
+ </span>
1107
+
1108
+
1109
+
1110
+
1111
+ </td>
1112
+
1113
+
1114
+ <td class="default">
1115
+
1116
+ </td>
1117
+
1118
+
1119
+ <td class="description last"><p>A polygon hierarchy that can include holes.</p></td>
1120
+ </tr>
1121
+
1122
+
1123
+
1124
+
1125
+ <tr class="deep-level-1">
1126
+
1127
+ <td class="name"><code>granularity</code></td>
1128
+
1129
+
1130
+ <td class="type">
1131
+
1132
+
1133
+ <span class="param-type">
1134
+
1135
+ Number
1136
+
1137
+ </span>
1138
+
1139
+
1140
+
1141
+
1142
+ </td>
1143
+
1144
+
1145
+ <td class="default">
1146
+
1147
+ Cesium.Math.RADIANS_PER_DEGREE
1148
+
1149
+ </td>
1150
+
1151
+
1152
+ <td class="description last"><p>The distance, in radians, between each latitude and longitude. Determines the number of positions sampled.</p></td>
1153
+ </tr>
1154
+
1155
+
1156
+
1157
+
1158
+ <tr class="deep-level-1">
1159
+
1160
+ <td class="name"><code>arcType</code></td>
1161
+
1162
+
1163
+ <td class="type">
1164
+
1165
+
1166
+ <span class="param-type">
1167
+
1168
+ Cesium.ArcType
1169
+
1170
+ </span>
1171
+
1172
+
1173
+
1174
+
1175
+ </td>
1176
+
1177
+
1178
+ <td class="default">
1179
+
1180
+ Cesium.ArcType.GEODESIC
1181
+
1182
+ </td>
1183
+
1184
+
1185
+ <td class="description last"><p>The type of line the polygon edges must follow. Valid options are <code>Cesium.ArcType.GEODESIC</code> and <code>Cesium.ArcType.RHUMB</code>.</p></td>
1186
+ </tr>
1187
+
1188
+
1189
+
1190
+
1191
+ <tr class="deep-level-1">
1192
+
1193
+ <td class="name"><code>ellipsoid</code></td>
1194
+
1195
+
1196
+ <td class="type">
1197
+
1198
+
1199
+ <span class="param-type">
1200
+
1201
+ Cesium.Ellipsoid
1202
+
1203
+ </span>
1204
+
1205
+
1206
+
1207
+
1208
+ </td>
1209
+
1210
+
1211
+ <td class="default">
1212
+
1213
+ Cesium.Ellipsoid.WGS84
1214
+
1215
+ </td>
1216
+
1217
+
1218
+ <td class="description last"><p>The ellipsoid to be used as a reference.</p></td>
1219
+ </tr>
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+ <tr class="deep-level-0">
1230
+
1231
+ <td class="name"><code>result</code></td>
1232
+
1233
+
1234
+ <td class="type">
1235
+
1236
+
1237
+ <span class="param-type">
1238
+
1239
+ Cesium.Rectangle
1240
+
1241
+ </span>
1242
+
1243
+
1244
+
1245
+
1246
+ </td>
1247
+
1248
+
1249
+ <td class="default">
1250
+
1251
+ </td>
1252
+
1253
+
1254
+ <td class="description last"><p>An object in which to store the result.</p></td>
1255
+ </tr>
1256
+
1257
+
1258
+
1259
+
1260
+ </tbody>
1261
+ </table>
1262
+ </div>
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+
1269
+ <dl class="details">
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+
1301
+ </dl>
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+ <div class='columns method-parameter'>
1321
+ <div class="column is-2"><label>返回值</label></div>
1322
+ <div class="column is-10">
1323
+
1324
+
1325
+
1326
+ <div class="columns">
1327
+
1328
+ <div class='param-desc column is-7'><p>The result rectangle</p></div>
1329
+
1330
+
1331
+ <div class='column is-5 has-text-left'>
1332
+ <label>类型: </label>
1333
+
1334
+ <span class="param-type">
1335
+
1336
+ Cesium.Rectangle
1337
+
1338
+ </span>
1339
+
1340
+
1341
+
1342
+ </div>
1343
+
1344
+ </div>
1345
+
1346
+
1347
+ </div>
1348
+ </div>
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+ </div>
1356
+
1357
+ <div class="member">
1358
+
1359
+
1360
+
1361
+ <h4 class="name" id=".createGeometry">
1362
+ <a class="href-link" href="#.createGeometry">#</a>
1363
+
1364
+
1365
+ <span class='tag'>static</span>
1366
+
1367
+
1368
+ <span class="code-name" id="createGeometry" style="font-size:30px">
1369
+
1370
+ createGeometry<span class="signature">(polygonGeometry)</span>
1371
+
1372
+ </span>
1373
+ </h4>
1374
+
1375
+
1376
+
1377
+ <div class="description">
1378
+ <p>Computes the geometric representation of a polygon, including its vertices, indices, and a bounding sphere.</p>
1379
+ </div>
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+ <h4>参数</h4>
1391
+
1392
+ <div class="table-container">
1393
+ <table class="params table">
1394
+ <thead>
1395
+ <tr>
1396
+
1397
+ <th>名称</th>
1398
+
1399
+
1400
+ <th>类型</th>
1401
+
1402
+
1403
+
1404
+ <th class="last">描述</th>
1405
+ </tr>
1406
+ </thead>
1407
+
1408
+ <tbody>
1409
+
1410
+
1411
+
1412
+ <tr class="deep-level-0">
1413
+
1414
+ <td class="name"><code>polygonGeometry</code></td>
1415
+
1416
+
1417
+ <td class="type">
1418
+
1419
+
1420
+ <span class="param-type">
1421
+
1422
+ <a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
1423
+
1424
+ </span>
1425
+
1426
+
1427
+
1428
+
1429
+ </td>
1430
+
1431
+
1432
+
1433
+ <td class="description last"><p>A description of the polygon.</p></td>
1434
+ </tr>
1435
+
1436
+
1437
+
1438
+
1439
+ </tbody>
1440
+ </table>
1441
+ </div>
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+ <dl class="details">
1449
+
1450
+
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+ </dl>
1481
+
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+
1489
+
1490
+
1491
+
1492
+
1493
+
1494
+
1495
+
1496
+
1497
+
1498
+
1499
+ <div class='columns method-parameter'>
1500
+ <div class="column is-2"><label>返回值</label></div>
1501
+ <div class="column is-10">
1502
+
1503
+
1504
+
1505
+ <div class="columns">
1506
+
1507
+ <div class='param-desc column is-7'><p>The computed vertices and indices.</p></div>
1508
+
1509
+
1510
+ <div class='column is-5 has-text-left'>
1511
+ <label>类型: </label>
1512
+
1513
+ <span class="param-type">
1514
+
1515
+ Cesium.Geometry
1516
+
1517
+ </span>
1518
+ |
1519
+
1520
+ <span class="param-type">
1521
+
1522
+ undefined
1523
+
1524
+ </span>
1525
+
1526
+
1527
+
1528
+ </div>
1529
+
1530
+ </div>
1531
+
1532
+
1533
+ </div>
1534
+ </div>
1535
+
1536
+
1537
+
1538
+
1539
+
1540
+
1541
+ </div>
1542
+
1543
+ <div class="member">
1544
+
1545
+
1546
+
1547
+ <h4 class="name" id=".fromPositions">
1548
+ <a class="href-link" href="#.fromPositions">#</a>
1549
+
1550
+
1551
+ <span class='tag'>static</span>
1552
+
1553
+
1554
+ <span class="code-name" id="fromPositions" style="font-size:30px">
1555
+
1556
+ fromPositions<span class="signature">(options)</span>
1557
+
1558
+ </span>
1559
+ </h4>
1560
+
1561
+
1562
+
1563
+ <div class="description">
1564
+ <p>A description of a polygon from an array of positions. Polygon geometry can be rendered with both <code>Primitive</code> and <code>GroundPrimitive</code>.</p>
1565
+ </div>
1566
+
1567
+
1568
+
1569
+
1570
+
1571
+
1572
+
1573
+
1574
+
1575
+
1576
+ <h4>参数</h4>
1577
+
1578
+ <div class="table-container">
1579
+ <table class="params table">
1580
+ <thead>
1581
+ <tr>
1582
+
1583
+ <th>名称</th>
1584
+
1585
+
1586
+ <th>类型</th>
1587
+
1588
+
1589
+ <th style="min-width: 100px;">默认值</th>
1590
+
1591
+
1592
+ <th class="last">描述</th>
1593
+ </tr>
1594
+ </thead>
1595
+
1596
+ <tbody>
1597
+
1598
+
1599
+
1600
+ <tr class="deep-level-0">
1601
+
1602
+ <td class="name"><code>options</code></td>
1603
+
1604
+
1605
+ <td class="type">
1606
+
1607
+
1608
+ <span class="param-type">
1609
+
1610
+ Object
1611
+
1612
+ </span>
1613
+
1614
+
1615
+
1616
+
1617
+ </td>
1618
+
1619
+
1620
+ <td class="default">
1621
+
1622
+ </td>
1623
+
1624
+
1625
+ <td class="description last"><p>Object with the following properties:</p></td>
1626
+ </tr>
1627
+
1628
+
1629
+
1630
+
1631
+ <tr class="deep-level-1">
1632
+
1633
+ <td class="name"><code>positions</code></td>
1634
+
1635
+
1636
+ <td class="type">
1637
+
1638
+
1639
+ <span class="param-type">
1640
+
1641
+ Array.&lt;Cesium.Cartesian3>
1642
+
1643
+ </span>
1644
+
1645
+
1646
+
1647
+
1648
+ </td>
1649
+
1650
+
1651
+ <td class="default">
1652
+
1653
+ </td>
1654
+
1655
+
1656
+ <td class="description last"><p>An array of positions that Cesium.defined the corner points of the polygon.</p></td>
1657
+ </tr>
1658
+
1659
+
1660
+
1661
+
1662
+ <tr class="deep-level-1">
1663
+
1664
+ <td class="name"><code>height</code></td>
1665
+
1666
+
1667
+ <td class="type">
1668
+
1669
+
1670
+ <span class="param-type">
1671
+
1672
+ Number
1673
+
1674
+ </span>
1675
+
1676
+
1677
+
1678
+
1679
+ </td>
1680
+
1681
+
1682
+ <td class="default">
1683
+
1684
+ 0.0
1685
+
1686
+ </td>
1687
+
1688
+
1689
+ <td class="description last"><p>The height of the polygon.</p></td>
1690
+ </tr>
1691
+
1692
+
1693
+
1694
+
1695
+ <tr class="deep-level-1">
1696
+
1697
+ <td class="name"><code>extrudedHeight</code></td>
1698
+
1699
+
1700
+ <td class="type">
1701
+
1702
+
1703
+ <span class="param-type">
1704
+
1705
+ Number
1706
+
1707
+ </span>
1708
+
1709
+
1710
+
1711
+
1712
+ </td>
1713
+
1714
+
1715
+ <td class="default">
1716
+
1717
+ </td>
1718
+
1719
+
1720
+ <td class="description last"><p>The height of the polygon extrusion.</p></td>
1721
+ </tr>
1722
+
1723
+
1724
+
1725
+
1726
+ <tr class="deep-level-1">
1727
+
1728
+ <td class="name"><code>vertexFormat</code></td>
1729
+
1730
+
1731
+ <td class="type">
1732
+
1733
+
1734
+ <span class="param-type">
1735
+
1736
+ Cesium.VertexFormat
1737
+
1738
+ </span>
1739
+
1740
+
1741
+
1742
+
1743
+ </td>
1744
+
1745
+
1746
+ <td class="default">
1747
+
1748
+ Cesium.VertexFormat.DEFAULT
1749
+
1750
+ </td>
1751
+
1752
+
1753
+ <td class="description last"><p>The vertex attributes to be computed.</p></td>
1754
+ </tr>
1755
+
1756
+
1757
+
1758
+
1759
+ <tr class="deep-level-1">
1760
+
1761
+ <td class="name"><code>indices</code></td>
1762
+
1763
+
1764
+ <td class="type">
1765
+
1766
+
1767
+ <span class="param-type">
1768
+
1769
+ Array.&lt;Number>
1770
+
1771
+ </span>
1772
+
1773
+
1774
+
1775
+
1776
+ </td>
1777
+
1778
+
1779
+ <td class="default">
1780
+
1781
+ </td>
1782
+
1783
+
1784
+ <td class="description last"><p>自定义顶点索引</p></td>
1785
+ </tr>
1786
+
1787
+
1788
+
1789
+
1790
+ <tr class="deep-level-1">
1791
+
1792
+ <td class="name"><code>st</code></td>
1793
+
1794
+
1795
+ <td class="type">
1796
+
1797
+
1798
+ <span class="param-type">
1799
+
1800
+ Float32Array
1801
+
1802
+ </span>
1803
+
1804
+
1805
+
1806
+
1807
+ </td>
1808
+
1809
+
1810
+ <td class="default">
1811
+
1812
+ </td>
1813
+
1814
+
1815
+ <td class="description last"><p>自定义UV坐标</p></td>
1816
+ </tr>
1817
+
1818
+
1819
+
1820
+
1821
+ <tr class="deep-level-1">
1822
+
1823
+ <td class="name"><code>stRotation</code></td>
1824
+
1825
+
1826
+ <td class="type">
1827
+
1828
+
1829
+ <span class="param-type">
1830
+
1831
+ Number
1832
+
1833
+ </span>
1834
+
1835
+
1836
+
1837
+
1838
+ </td>
1839
+
1840
+
1841
+ <td class="default">
1842
+
1843
+ 0.0
1844
+
1845
+ </td>
1846
+
1847
+
1848
+ <td class="description last"><p>The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.</p></td>
1849
+ </tr>
1850
+
1851
+
1852
+
1853
+
1854
+ <tr class="deep-level-1">
1855
+
1856
+ <td class="name"><code>ellipsoid</code></td>
1857
+
1858
+
1859
+ <td class="type">
1860
+
1861
+
1862
+ <span class="param-type">
1863
+
1864
+ Cesium.Ellipsoid
1865
+
1866
+ </span>
1867
+
1868
+
1869
+
1870
+
1871
+ </td>
1872
+
1873
+
1874
+ <td class="default">
1875
+
1876
+ Cesium.Ellipsoid.WGS84
1877
+
1878
+ </td>
1879
+
1880
+
1881
+ <td class="description last"><p>The ellipsoid to be used as a reference.</p></td>
1882
+ </tr>
1883
+
1884
+
1885
+
1886
+
1887
+ <tr class="deep-level-1">
1888
+
1889
+ <td class="name"><code>granularity</code></td>
1890
+
1891
+
1892
+ <td class="type">
1893
+
1894
+
1895
+ <span class="param-type">
1896
+
1897
+ Number
1898
+
1899
+ </span>
1900
+
1901
+
1902
+
1903
+
1904
+ </td>
1905
+
1906
+
1907
+ <td class="default">
1908
+
1909
+ Cesium.Math.RADIANS_PER_DEGREE
1910
+
1911
+ </td>
1912
+
1913
+
1914
+ <td class="description last"><p>The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.</p></td>
1915
+ </tr>
1916
+
1917
+
1918
+
1919
+
1920
+ <tr class="deep-level-1">
1921
+
1922
+ <td class="name"><code>perPositionHeight</code></td>
1923
+
1924
+
1925
+ <td class="type">
1926
+
1927
+
1928
+ <span class="param-type">
1929
+
1930
+ Boolean
1931
+
1932
+ </span>
1933
+
1934
+
1935
+
1936
+
1937
+ </td>
1938
+
1939
+
1940
+ <td class="default">
1941
+
1942
+ false
1943
+
1944
+ </td>
1945
+
1946
+
1947
+ <td class="description last"><p>Use the height of options.positions for each position instead of using options.height to determine the height.</p></td>
1948
+ </tr>
1949
+
1950
+
1951
+
1952
+
1953
+ <tr class="deep-level-1">
1954
+
1955
+ <td class="name"><code>closeTop</code></td>
1956
+
1957
+
1958
+ <td class="type">
1959
+
1960
+
1961
+ <span class="param-type">
1962
+
1963
+ Boolean
1964
+
1965
+ </span>
1966
+
1967
+
1968
+
1969
+
1970
+ </td>
1971
+
1972
+
1973
+ <td class="default">
1974
+
1975
+ true
1976
+
1977
+ </td>
1978
+
1979
+
1980
+ <td class="description last"><p>When false, leaves off the top of an extruded polygon open.</p></td>
1981
+ </tr>
1982
+
1983
+
1984
+
1985
+
1986
+ <tr class="deep-level-1">
1987
+
1988
+ <td class="name"><code>closeBottom</code></td>
1989
+
1990
+
1991
+ <td class="type">
1992
+
1993
+
1994
+ <span class="param-type">
1995
+
1996
+ Boolean
1997
+
1998
+ </span>
1999
+
2000
+
2001
+
2002
+
2003
+ </td>
2004
+
2005
+
2006
+ <td class="default">
2007
+
2008
+ true
2009
+
2010
+ </td>
2011
+
2012
+
2013
+ <td class="description last"><p>When false, leaves off the bottom of an extruded polygon open.</p></td>
2014
+ </tr>
2015
+
2016
+
2017
+
2018
+
2019
+ <tr class="deep-level-1">
2020
+
2021
+ <td class="name"><code>arcType</code></td>
2022
+
2023
+
2024
+ <td class="type">
2025
+
2026
+
2027
+ <span class="param-type">
2028
+
2029
+ Cesium.ArcType
2030
+
2031
+ </span>
2032
+
2033
+
2034
+
2035
+
2036
+ </td>
2037
+
2038
+
2039
+ <td class="default">
2040
+
2041
+ Cesium.ArcType.GEODESIC
2042
+
2043
+ </td>
2044
+
2045
+
2046
+ <td class="description last"><p>The type of line the polygon edges must follow. Valid options are <code>Cesium.ArcType.GEODESIC</code> and <code>Cesium.ArcType.RHUMB</code>.</p></td>
2047
+ </tr>
2048
+
2049
+
2050
+
2051
+
2052
+
2053
+
2054
+
2055
+ </tbody>
2056
+ </table>
2057
+ </div>
2058
+
2059
+
2060
+
2061
+
2062
+
2063
+
2064
+ <dl class="details">
2065
+
2066
+
2067
+
2068
+
2069
+
2070
+
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+
2079
+
2080
+
2081
+
2082
+
2083
+
2084
+
2085
+
2086
+
2087
+
2088
+
2089
+
2090
+
2091
+
2092
+ <dt class="tag-see">See:</dt>
2093
+ <dd class="tag-see">
2094
+ <ul>
2095
+ <li>RiverGeometry#createGeometry</li>
2096
+ </ul>
2097
+ </dd>
2098
+
2099
+
2100
+
2101
+
2102
+
2103
+ </dl>
2104
+
2105
+
2106
+
2107
+
2108
+
2109
+
2110
+
2111
+
2112
+
2113
+
2114
+
2115
+
2116
+
2117
+
2118
+
2119
+
2120
+
2121
+
2122
+ <div class='columns method-parameter'>
2123
+ <div class="column is-2"><label>返回值</label></div>
2124
+ <div class="column is-10">
2125
+
2126
+
2127
+
2128
+ <div class="columns">
2129
+
2130
+
2131
+ <div class='column is-5 has-text-left'>
2132
+ <label>类型: </label>
2133
+
2134
+ <span class="param-type">
2135
+
2136
+ <a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
2137
+
2138
+ </span>
2139
+
2140
+
2141
+
2142
+ </div>
2143
+
2144
+ </div>
2145
+
2146
+
2147
+ </div>
2148
+ </div>
2149
+
2150
+
2151
+
2152
+
2153
+
2154
+
2155
+ <h5>示例</h5>
2156
+
2157
+
2158
+ <pre class="prettyprint"><code>// create a polygon from points
2159
+ var polygon = Cesium.RiverGeometry.fromPositions({
2160
+ positions : Cesium.Cesium.Cartesian3.fromDegreesArray([
2161
+ -72.0, 40.0,
2162
+ -70.0, 35.0,
2163
+ -75.0, 30.0,
2164
+ -70.0, 30.0,
2165
+ -68.0, 40.0
2166
+ ])
2167
+ });
2168
+ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
2169
+
2170
+
2171
+
2172
+ </div>
2173
+
2174
+ <div class="member">
2175
+
2176
+
2177
+
2178
+ <h4 class="name" id=".pack">
2179
+ <a class="href-link" href="#.pack">#</a>
2180
+
2181
+
2182
+ <span class='tag'>static</span>
2183
+
2184
+
2185
+ <span class="code-name" id="pack" style="font-size:30px">
2186
+
2187
+ pack<span class="signature">(value, array, startingIndex<span class="signature-attributes">opt</span>)</span>
2188
+
2189
+ </span>
2190
+ </h4>
2191
+
2192
+
2193
+
2194
+ <div class="description">
2195
+ <p>Stores the provided instance into the provided array.</p>
2196
+ </div>
2197
+
2198
+
2199
+
2200
+
2201
+
2202
+
2203
+
2204
+
2205
+
2206
+
2207
+ <h4>参数</h4>
2208
+
2209
+ <div class="table-container">
2210
+ <table class="params table">
2211
+ <thead>
2212
+ <tr>
2213
+
2214
+ <th>名称</th>
2215
+
2216
+
2217
+ <th>类型</th>
2218
+
2219
+
2220
+ <th style="min-width: 100px;">默认值</th>
2221
+
2222
+
2223
+ <th class="last">描述</th>
2224
+ </tr>
2225
+ </thead>
2226
+
2227
+ <tbody>
2228
+
2229
+
2230
+
2231
+ <tr class="deep-level-0">
2232
+
2233
+ <td class="name"><code>value</code></td>
2234
+
2235
+
2236
+ <td class="type">
2237
+
2238
+
2239
+ <span class="param-type">
2240
+
2241
+ <a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
2242
+
2243
+ </span>
2244
+
2245
+
2246
+
2247
+
2248
+ </td>
2249
+
2250
+
2251
+ <td class="default">
2252
+
2253
+ </td>
2254
+
2255
+
2256
+ <td class="description last"><p>The value to pack.</p></td>
2257
+ </tr>
2258
+
2259
+
2260
+
2261
+
2262
+
2263
+
2264
+ <tr class="deep-level-0">
2265
+
2266
+ <td class="name"><code>array</code></td>
2267
+
2268
+
2269
+ <td class="type">
2270
+
2271
+
2272
+ <span class="param-type">
2273
+
2274
+ Array.&lt;Number>
2275
+
2276
+ </span>
2277
+
2278
+
2279
+
2280
+
2281
+ </td>
2282
+
2283
+
2284
+ <td class="default">
2285
+
2286
+ </td>
2287
+
2288
+
2289
+ <td class="description last"><p>The array to pack into.</p></td>
2290
+ </tr>
2291
+
2292
+
2293
+
2294
+
2295
+
2296
+
2297
+ <tr class="deep-level-0">
2298
+
2299
+ <td class="name"><code>startingIndex</code></td>
2300
+
2301
+
2302
+ <td class="type">
2303
+
2304
+
2305
+ <span class="param-type">
2306
+
2307
+ Number
2308
+
2309
+ </span>
2310
+
2311
+
2312
+
2313
+
2314
+ </td>
2315
+
2316
+
2317
+ <td class="default">
2318
+
2319
+ 0
2320
+
2321
+ </td>
2322
+
2323
+
2324
+ <td class="description last"><p>The index into the array at which to start packing the elements.</p></td>
2325
+ </tr>
2326
+
2327
+
2328
+
2329
+
2330
+ </tbody>
2331
+ </table>
2332
+ </div>
2333
+
2334
+
2335
+
2336
+
2337
+
2338
+
2339
+ <dl class="details">
2340
+
2341
+
2342
+
2343
+
2344
+
2345
+
2346
+
2347
+
2348
+
2349
+
2350
+
2351
+
2352
+
2353
+
2354
+
2355
+
2356
+
2357
+
2358
+
2359
+
2360
+
2361
+
2362
+
2363
+
2364
+
2365
+
2366
+
2367
+
2368
+
2369
+
2370
+
2371
+ </dl>
2372
+
2373
+
2374
+
2375
+
2376
+
2377
+
2378
+
2379
+
2380
+
2381
+
2382
+
2383
+
2384
+
2385
+
2386
+
2387
+
2388
+
2389
+
2390
+ <div class='columns method-parameter'>
2391
+ <div class="column is-2"><label>返回值</label></div>
2392
+ <div class="column is-10">
2393
+
2394
+
2395
+
2396
+ <div class="columns">
2397
+
2398
+ <div class='param-desc column is-7'><p>The array that was packed into</p></div>
2399
+
2400
+
2401
+ <div class='column is-5 has-text-left'>
2402
+ <label>类型: </label>
2403
+
2404
+ <span class="param-type">
2405
+
2406
+ Array.&lt;Number>
2407
+
2408
+ </span>
2409
+
2410
+
2411
+
2412
+ </div>
2413
+
2414
+ </div>
2415
+
2416
+
2417
+ </div>
2418
+ </div>
2419
+
2420
+
2421
+
2422
+
2423
+
2424
+
2425
+ </div>
2426
+
2427
+ <div class="member">
2428
+
2429
+
2430
+
2431
+ <h4 class="name" id=".unpack">
2432
+ <a class="href-link" href="#.unpack">#</a>
2433
+
2434
+
2435
+ <span class='tag'>static</span>
2436
+
2437
+
2438
+ <span class="code-name" id="unpack" style="font-size:30px">
2439
+
2440
+ unpack<span class="signature">(array, startingIndex<span class="signature-attributes">opt</span>, result<span class="signature-attributes">opt</span>)</span>
2441
+
2442
+ </span>
2443
+ </h4>
2444
+
2445
+
2446
+
2447
+ <div class="description">
2448
+ <p>Retrieves an instance from a packed array.</p>
2449
+ </div>
2450
+
2451
+
2452
+
2453
+
2454
+
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+ <h4>参数</h4>
2461
+
2462
+ <div class="table-container">
2463
+ <table class="params table">
2464
+ <thead>
2465
+ <tr>
2466
+
2467
+ <th>名称</th>
2468
+
2469
+
2470
+ <th>类型</th>
2471
+
2472
+
2473
+ <th style="min-width: 100px;">默认值</th>
2474
+
2475
+
2476
+ <th class="last">描述</th>
2477
+ </tr>
2478
+ </thead>
2479
+
2480
+ <tbody>
2481
+
2482
+
2483
+
2484
+ <tr class="deep-level-0">
2485
+
2486
+ <td class="name"><code>array</code></td>
2487
+
2488
+
2489
+ <td class="type">
2490
+
2491
+
2492
+ <span class="param-type">
2493
+
2494
+ Array.&lt;Number>
2495
+
2496
+ </span>
2497
+
2498
+
2499
+
2500
+
2501
+ </td>
2502
+
2503
+
2504
+ <td class="default">
2505
+
2506
+ </td>
2507
+
2508
+
2509
+ <td class="description last"><p>The packed array.</p></td>
2510
+ </tr>
2511
+
2512
+
2513
+
2514
+
2515
+
2516
+
2517
+ <tr class="deep-level-0">
2518
+
2519
+ <td class="name"><code>startingIndex</code></td>
2520
+
2521
+
2522
+ <td class="type">
2523
+
2524
+
2525
+ <span class="param-type">
2526
+
2527
+ Number
2528
+
2529
+ </span>
2530
+
2531
+
2532
+
2533
+
2534
+ </td>
2535
+
2536
+
2537
+ <td class="default">
2538
+
2539
+ 0
2540
+
2541
+ </td>
2542
+
2543
+
2544
+ <td class="description last"><p>The starting index of the element to be unpacked.</p></td>
2545
+ </tr>
2546
+
2547
+
2548
+
2549
+
2550
+
2551
+
2552
+ <tr class="deep-level-0">
2553
+
2554
+ <td class="name"><code>result</code></td>
2555
+
2556
+
2557
+ <td class="type">
2558
+
2559
+
2560
+ <span class="param-type">
2561
+
2562
+ <a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
2563
+
2564
+ </span>
2565
+
2566
+
2567
+
2568
+
2569
+ </td>
2570
+
2571
+
2572
+ <td class="default">
2573
+
2574
+ </td>
2575
+
2576
+
2577
+ <td class="description last"><p>The object into which to store the result.</p></td>
2578
+ </tr>
2579
+
2580
+
2581
+
2582
+
2583
+ </tbody>
2584
+ </table>
2585
+ </div>
2586
+
2587
+
2588
+
2589
+
2590
+
2591
+
2592
+ <dl class="details">
2593
+
2594
+
2595
+
2596
+
2597
+
2598
+
2599
+
2600
+
2601
+
2602
+
2603
+
2604
+
2605
+
2606
+
2607
+
2608
+
2609
+
2610
+
2611
+
2612
+
2613
+
2614
+
2615
+
2616
+
2617
+
2618
+
2619
+
2620
+
2621
+
2622
+
2623
+
2624
+ </dl>
2625
+
2626
+
2627
+
2628
+
2629
+
2630
+
2631
+
2632
+
2633
+
2634
+
2635
+
2636
+
2637
+
2638
+
2639
+
2640
+
2641
+
2642
+
2643
+
2644
+
2645
+
2646
+
2647
+
2648
+ </div>
2649
+
2650
+ </div>
2651
+ </div>
2652
+
2653
+
2654
+
2655
+
2656
+
2657
+ </article>
2658
+
2659
+ </section>