@gmgis/gm-sdk 1.12.5 → 2.0.2

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 (159) hide show
  1. package/dist/dist/index.js +1848 -0
  2. package/dist/gm.min.js +16983 -16483
  3. package/dist/index.js +1436 -1434
  4. package/dist/resources/ThirdParty/Workers/pako_deflate.min.js +1 -2
  5. package/dist/resources/ThirdParty/Workers/pako_inflate.min.js +1 -2
  6. package/dist/resources/ThirdParty/Workers/z-worker-pako.js +1 -1
  7. package/dist/resources/ThirdParty/google-earth-dbroot-parser.js +1 -8337
  8. package/dist/resources/ThirdParty/wasm_splats_bg.wasm +0 -0
  9. package/dist/resources/Workers/chunk-35SHYARM.js +26 -0
  10. package/dist/resources/Workers/chunk-37F5JSTI.js +26 -0
  11. package/dist/resources/Workers/chunk-3SSKC3VN.js +26 -0
  12. package/dist/resources/Workers/chunk-3W4GT7KQ.js +26 -0
  13. package/dist/resources/Workers/chunk-4IW2T6GF.js +26 -0
  14. package/dist/resources/Workers/chunk-5YEWO3HT.js +26 -0
  15. package/dist/resources/Workers/chunk-64RSHJUE.js +28 -0
  16. package/dist/resources/Workers/chunk-77IHZJJ3.js +26 -0
  17. package/dist/resources/Workers/chunk-7HTKERZY.js +26 -0
  18. package/dist/resources/Workers/{chunk-I2ITFFPX.js → chunk-A56XVLQR.js} +2 -13
  19. package/dist/resources/Workers/chunk-AJYK4IVJ.js +26 -0
  20. package/dist/resources/Workers/{chunk-PRGYLLJT.js → chunk-ARG42DC4.js} +2 -31
  21. package/dist/resources/Workers/chunk-AU7IKHOH.js +26 -0
  22. package/dist/resources/Workers/chunk-B4AA3ARO.js +26 -0
  23. package/dist/resources/Workers/chunk-CNCV5UL7.js +26 -0
  24. package/dist/resources/Workers/chunk-CYCB63OH.js +26 -0
  25. package/dist/resources/Workers/{chunk-DI5NGJUP.js → chunk-D6AA5QVT.js} +2 -20
  26. package/dist/resources/Workers/chunk-D6C66QON.js +26 -0
  27. package/dist/resources/Workers/chunk-DEPHB2WM.js +26 -0
  28. package/dist/resources/Workers/chunk-DMEY62ID.js +26 -0
  29. package/dist/resources/Workers/chunk-DQQ63PYM.js +26 -0
  30. package/dist/resources/Workers/chunk-ED5JPB3S.js +27 -0
  31. package/dist/resources/Workers/chunk-EZUYS2JF.js +26 -0
  32. package/dist/resources/Workers/chunk-FEVXJ54I.js +26 -0
  33. package/dist/resources/Workers/chunk-G5AGHVVC.js +26 -0
  34. package/dist/resources/Workers/{chunk-7JO7GPJN.js → chunk-GBYLG25F.js} +2 -15
  35. package/dist/resources/Workers/chunk-GILIDQNQ.js +26 -0
  36. package/dist/resources/Workers/chunk-HMIYSTF6.js +26 -0
  37. package/dist/resources/Workers/chunk-HTFSEEMT.js +26 -0
  38. package/dist/resources/Workers/chunk-HWXX4CWK.js +26 -0
  39. package/dist/resources/Workers/chunk-IYTZ52EY.js +26 -0
  40. package/dist/resources/Workers/chunk-J6UP6FLE.js +26 -0
  41. package/dist/resources/Workers/chunk-LEYMRMBK.js +27 -0
  42. package/dist/resources/Workers/chunk-M3MGYQSL.js +26 -0
  43. package/dist/resources/Workers/chunk-N4VJKXZS.js +26 -0
  44. package/dist/resources/Workers/chunk-NB3ML6JO.js +26 -0
  45. package/dist/resources/Workers/chunk-OFUUQVMR.js +26 -0
  46. package/dist/resources/Workers/chunk-OSW76XDF.js +26 -0
  47. package/dist/resources/Workers/chunk-PSPPBZWI.js +66 -0
  48. package/dist/resources/Workers/chunk-QN3VOORQ.js +26 -0
  49. package/dist/resources/Workers/chunk-QOUAJ6TL.js +26 -0
  50. package/dist/resources/Workers/chunk-RCV6KWXS.js +26 -0
  51. package/dist/resources/Workers/chunk-TCGIRNHN.js +26 -0
  52. package/dist/resources/Workers/chunk-U4IEOH5K.js +26 -0
  53. package/dist/resources/Workers/chunk-UP6I5URU.js +26 -0
  54. package/dist/resources/Workers/chunk-VTAIKJXX.js +26 -0
  55. package/dist/resources/Workers/chunk-VTBDSFTG.js +26 -0
  56. package/dist/resources/Workers/chunk-VW6VD53G.js +26 -0
  57. package/dist/resources/Workers/chunk-WGGIH7QW.js +26 -0
  58. package/dist/resources/Workers/chunk-WWA5PL4H.js +26 -0
  59. package/dist/resources/Workers/{chunk-6CHGCNMW.js → chunk-WZDE3RYP.js} +4 -34
  60. package/dist/resources/Workers/chunk-XRL4AVS5.js +26 -0
  61. package/dist/resources/Workers/combineGeometry.js +2 -40
  62. package/dist/resources/Workers/createBoxGeometry.js +2 -32
  63. package/dist/resources/Workers/createBoxOutlineGeometry.js +2 -209
  64. package/dist/resources/Workers/createCircleGeometry.js +2 -175
  65. package/dist/resources/Workers/createCircleOutlineGeometry.js +2 -121
  66. package/dist/resources/Workers/createCoplanarPolygonGeometry.js +2 -481
  67. package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +2 -199
  68. package/dist/resources/Workers/createCorridorGeometry.js +2 -1237
  69. package/dist/resources/Workers/createCorridorOutlineGeometry.js +2 -542
  70. package/dist/resources/Workers/createCylinderGeometry.js +2 -34
  71. package/dist/resources/Workers/createCylinderOutlineGeometry.js +2 -205
  72. package/dist/resources/Workers/createEllipseGeometry.js +2 -45
  73. package/dist/resources/Workers/createEllipseOutlineGeometry.js +2 -38
  74. package/dist/resources/Workers/createEllipsoidGeometry.js +2 -33
  75. package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +2 -35
  76. package/dist/resources/Workers/createFrustumGeometry.js +2 -32
  77. package/dist/resources/Workers/createFrustumOutlineGeometry.js +2 -210
  78. package/dist/resources/Workers/createGeometry.js +2 -144
  79. package/dist/resources/Workers/createGroundPolylineGeometry.js +2 -1582
  80. package/dist/resources/Workers/createPlaneGeometry.js +2 -198
  81. package/dist/resources/Workers/createPlaneOutlineGeometry.js +2 -98
  82. package/dist/resources/Workers/createPolygonGeometry.js +2 -1381
  83. package/dist/resources/Workers/createPolygonOutlineGeometry.js +2 -509
  84. package/dist/resources/Workers/createPolylineGeometry.js +2 -470
  85. package/dist/resources/Workers/createPolylineVolumeGeometry.js +2 -354
  86. package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +2 -251
  87. package/dist/resources/Workers/createRectangleGeometry.js +2 -1246
  88. package/dist/resources/Workers/createRectangleOutlineGeometry.js +2 -453
  89. package/dist/resources/Workers/createSimplePolylineGeometry.js +2 -374
  90. package/dist/resources/Workers/createSphereGeometry.js +2 -92
  91. package/dist/resources/Workers/createSphereOutlineGeometry.js +2 -92
  92. package/dist/resources/Workers/createTaskProcessorWorker.js +2 -8
  93. package/dist/resources/Workers/createVectorTileClampedPolylines.js +2 -466
  94. package/dist/resources/Workers/createVectorTileGeometries.js +2 -361
  95. package/dist/resources/Workers/createVectorTilePoints.js +2 -88
  96. package/dist/resources/Workers/createVectorTilePolygons.js +2 -359
  97. package/dist/resources/Workers/createVectorTilePolylines.js +2 -236
  98. package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -539
  99. package/dist/resources/Workers/createVerticesFromHeightmap.js +2 -2252
  100. package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -729
  101. package/dist/resources/Workers/createWallGeometry.js +2 -464
  102. package/dist/resources/Workers/createWallOutlineGeometry.js +2 -312
  103. package/dist/resources/Workers/decodeDraco.js +2 -345
  104. package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2642
  105. package/dist/resources/Workers/decodeI3S.js +2 -1319
  106. package/dist/resources/Workers/gaussianSplatSorter.js +26 -0
  107. package/dist/resources/Workers/gaussianSplatTextureGenerator.js +26 -0
  108. package/dist/resources/Workers/transcodeKTX2.js +29 -3360
  109. package/dist/resources/Workers/transferTypedArrayTest.js +2 -17
  110. package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +2 -793
  111. package/package.json +74 -74
  112. package/dist/resources/ThirdParty/Workers/basis_transcoder.js +0 -21
  113. package/dist/resources/Workers/chunk-26GA3JAM.js +0 -139
  114. package/dist/resources/Workers/chunk-27HUZ7SA.js +0 -305
  115. package/dist/resources/Workers/chunk-2ZGOQXYU.js +0 -171
  116. package/dist/resources/Workers/chunk-3Q2L65QU.js +0 -1258
  117. package/dist/resources/Workers/chunk-472HQ3EH.js +0 -100
  118. package/dist/resources/Workers/chunk-5ODQSF26.js +0 -101
  119. package/dist/resources/Workers/chunk-5OOFQLKF.js +0 -634
  120. package/dist/resources/Workers/chunk-5PTXS2GO.js +0 -10390
  121. package/dist/resources/Workers/chunk-76BYBWHP.js +0 -122
  122. package/dist/resources/Workers/chunk-7BMOHCPM.js +0 -390
  123. package/dist/resources/Workers/chunk-7KTQP4VB.js +0 -59
  124. package/dist/resources/Workers/chunk-7O373FFS.js +0 -665
  125. package/dist/resources/Workers/chunk-AD63PIY6.js +0 -163
  126. package/dist/resources/Workers/chunk-BHQJ2NT7.js +0 -353
  127. package/dist/resources/Workers/chunk-C6YYBQXW.js +0 -102
  128. package/dist/resources/Workers/chunk-CKY7HOHV.js +0 -287
  129. package/dist/resources/Workers/chunk-DHYHSFFJ.js +0 -73
  130. package/dist/resources/Workers/chunk-E27BLMDD.js +0 -115
  131. package/dist/resources/Workers/chunk-E63IIM5T.js +0 -75
  132. package/dist/resources/Workers/chunk-E6V6SQZW.js +0 -456
  133. package/dist/resources/Workers/chunk-EJZTDTUH.js +0 -138
  134. package/dist/resources/Workers/chunk-FDOV2LBJ.js +0 -220
  135. package/dist/resources/Workers/chunk-FIGIZHAQ.js +0 -684
  136. package/dist/resources/Workers/chunk-GESF4OXQ.js +0 -1800
  137. package/dist/resources/Workers/chunk-GGZJN2TI.js +0 -2717
  138. package/dist/resources/Workers/chunk-GNBFYG7F.js +0 -1481
  139. package/dist/resources/Workers/chunk-GWCFU2SA.js +0 -300
  140. package/dist/resources/Workers/chunk-IBLIYJZR.js +0 -196
  141. package/dist/resources/Workers/chunk-JW4FOI6M.js +0 -476
  142. package/dist/resources/Workers/chunk-K4GQUNB5.js +0 -262
  143. package/dist/resources/Workers/chunk-M3GMB5OP.js +0 -834
  144. package/dist/resources/Workers/chunk-MXIZJAPH.js +0 -629
  145. package/dist/resources/Workers/chunk-N5KJGGCM.js +0 -1073
  146. package/dist/resources/Workers/chunk-NGPPMXRM.js +0 -435
  147. package/dist/resources/Workers/chunk-O3E4OAOE.js +0 -511
  148. package/dist/resources/Workers/chunk-PGRPDNHG.js +0 -1048
  149. package/dist/resources/Workers/chunk-S6MRMMQU.js +0 -157
  150. package/dist/resources/Workers/chunk-SMDOP47J.js +0 -945
  151. package/dist/resources/Workers/chunk-TGONEMZO.js +0 -421
  152. package/dist/resources/Workers/chunk-TKVT5GQM.js +0 -781
  153. package/dist/resources/Workers/chunk-U72QNFOJ.js +0 -758
  154. package/dist/resources/Workers/chunk-VJZB3WAV.js +0 -963
  155. package/dist/resources/Workers/chunk-VU2MNO7L.js +0 -239
  156. package/dist/resources/Workers/chunk-XY4BATBS.js +0 -500
  157. package/dist/resources/Workers/chunk-YFXQECWV.js +0 -2857
  158. package/dist/resources/Workers/chunk-YSGTGQQO.js +0 -398
  159. package/dist/resources/Workers/chunk-YZ733KKS.js +0 -368
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.122
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,207 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- CylinderGeometryLibrary_default
28
- } from "./chunk-DHYHSFFJ.js";
29
- import {
30
- GeometryOffsetAttribute_default
31
- } from "./chunk-I2ITFFPX.js";
32
- import {
33
- IndexDatatype_default
34
- } from "./chunk-26GA3JAM.js";
35
- import {
36
- GeometryAttributes_default
37
- } from "./chunk-DI5NGJUP.js";
38
- import {
39
- GeometryAttribute_default,
40
- Geometry_default,
41
- PrimitiveType_default
42
- } from "./chunk-GWCFU2SA.js";
43
- import {
44
- BoundingSphere_default
45
- } from "./chunk-VJZB3WAV.js";
46
- import "./chunk-5PTXS2GO.js";
47
- import {
48
- ComponentDatatype_default
49
- } from "./chunk-K4GQUNB5.js";
50
- import {
51
- Cartesian2_default,
52
- Cartesian3_default
53
- } from "./chunk-YFXQECWV.js";
54
- import "./chunk-XY4BATBS.js";
55
- import "./chunk-MXIZJAPH.js";
56
- import "./chunk-6CHGCNMW.js";
57
- import {
58
- defaultValue_default
59
- } from "./chunk-7JO7GPJN.js";
60
- import {
61
- Check_default,
62
- DeveloperError_default
63
- } from "./chunk-AD63PIY6.js";
64
- import {
65
- defined_default
66
- } from "./chunk-E63IIM5T.js";
67
-
68
- // packages/engine/Source/Core/CylinderOutlineGeometry.js
69
- var radiusScratch = new Cartesian2_default();
70
- function CylinderOutlineGeometry(options) {
71
- options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
72
- const length = options.length;
73
- const topRadius = options.topRadius;
74
- const bottomRadius = options.bottomRadius;
75
- const slices = defaultValue_default(options.slices, 128);
76
- const numberOfVerticalLines = Math.max(
77
- defaultValue_default(options.numberOfVerticalLines, 16),
78
- 0
79
- );
80
- Check_default.typeOf.number("options.positions", length);
81
- Check_default.typeOf.number("options.topRadius", topRadius);
82
- Check_default.typeOf.number("options.bottomRadius", bottomRadius);
83
- Check_default.typeOf.number.greaterThanOrEquals("options.slices", slices, 3);
84
- if (defined_default(options.offsetAttribute) && options.offsetAttribute === GeometryOffsetAttribute_default.TOP) {
85
- throw new DeveloperError_default(
86
- "GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry."
87
- );
88
- }
89
- this._length = length;
90
- this._topRadius = topRadius;
91
- this._bottomRadius = bottomRadius;
92
- this._slices = slices;
93
- this._numberOfVerticalLines = numberOfVerticalLines;
94
- this._offsetAttribute = options.offsetAttribute;
95
- this._workerName = "createCylinderOutlineGeometry";
96
- }
97
- CylinderOutlineGeometry.packedLength = 6;
98
- CylinderOutlineGeometry.pack = function(value, array, startingIndex) {
99
- Check_default.typeOf.object("value", value);
100
- Check_default.defined("array", array);
101
- startingIndex = defaultValue_default(startingIndex, 0);
102
- array[startingIndex++] = value._length;
103
- array[startingIndex++] = value._topRadius;
104
- array[startingIndex++] = value._bottomRadius;
105
- array[startingIndex++] = value._slices;
106
- array[startingIndex++] = value._numberOfVerticalLines;
107
- array[startingIndex] = defaultValue_default(value._offsetAttribute, -1);
108
- return array;
109
- };
110
- var scratchOptions = {
111
- length: void 0,
112
- topRadius: void 0,
113
- bottomRadius: void 0,
114
- slices: void 0,
115
- numberOfVerticalLines: void 0,
116
- offsetAttribute: void 0
117
- };
118
- CylinderOutlineGeometry.unpack = function(array, startingIndex, result) {
119
- Check_default.defined("array", array);
120
- startingIndex = defaultValue_default(startingIndex, 0);
121
- const length = array[startingIndex++];
122
- const topRadius = array[startingIndex++];
123
- const bottomRadius = array[startingIndex++];
124
- const slices = array[startingIndex++];
125
- const numberOfVerticalLines = array[startingIndex++];
126
- const offsetAttribute = array[startingIndex];
127
- if (!defined_default(result)) {
128
- scratchOptions.length = length;
129
- scratchOptions.topRadius = topRadius;
130
- scratchOptions.bottomRadius = bottomRadius;
131
- scratchOptions.slices = slices;
132
- scratchOptions.numberOfVerticalLines = numberOfVerticalLines;
133
- scratchOptions.offsetAttribute = offsetAttribute === -1 ? void 0 : offsetAttribute;
134
- return new CylinderOutlineGeometry(scratchOptions);
135
- }
136
- result._length = length;
137
- result._topRadius = topRadius;
138
- result._bottomRadius = bottomRadius;
139
- result._slices = slices;
140
- result._numberOfVerticalLines = numberOfVerticalLines;
141
- result._offsetAttribute = offsetAttribute === -1 ? void 0 : offsetAttribute;
142
- return result;
143
- };
144
- CylinderOutlineGeometry.createGeometry = function(cylinderGeometry) {
145
- let length = cylinderGeometry._length;
146
- const topRadius = cylinderGeometry._topRadius;
147
- const bottomRadius = cylinderGeometry._bottomRadius;
148
- const slices = cylinderGeometry._slices;
149
- const numberOfVerticalLines = cylinderGeometry._numberOfVerticalLines;
150
- if (length <= 0 || topRadius < 0 || bottomRadius < 0 || topRadius === 0 && bottomRadius === 0) {
151
- return;
152
- }
153
- const numVertices = slices * 2;
154
- const positions = CylinderGeometryLibrary_default.computePositions(
155
- length,
156
- topRadius,
157
- bottomRadius,
158
- slices,
159
- false
160
- );
161
- let numIndices = slices * 2;
162
- let numSide;
163
- if (numberOfVerticalLines > 0) {
164
- const numSideLines = Math.min(numberOfVerticalLines, slices);
165
- numSide = Math.round(slices / numSideLines);
166
- numIndices += numSideLines;
167
- }
168
- const indices = IndexDatatype_default.createTypedArray(numVertices, numIndices * 2);
169
- let index = 0;
170
- let i;
171
- for (i = 0; i < slices - 1; i++) {
172
- indices[index++] = i;
173
- indices[index++] = i + 1;
174
- indices[index++] = i + slices;
175
- indices[index++] = i + 1 + slices;
176
- }
177
- indices[index++] = slices - 1;
178
- indices[index++] = 0;
179
- indices[index++] = slices + slices - 1;
180
- indices[index++] = slices;
181
- if (numberOfVerticalLines > 0) {
182
- for (i = 0; i < slices; i += numSide) {
183
- indices[index++] = i;
184
- indices[index++] = i + slices;
185
- }
186
- }
187
- const attributes = new GeometryAttributes_default();
188
- attributes.position = new GeometryAttribute_default({
189
- componentDatatype: ComponentDatatype_default.DOUBLE,
190
- componentsPerAttribute: 3,
191
- values: positions
192
- });
193
- radiusScratch.x = length * 0.5;
194
- radiusScratch.y = Math.max(bottomRadius, topRadius);
195
- const boundingSphere = new BoundingSphere_default(
196
- Cartesian3_default.ZERO,
197
- Cartesian2_default.magnitude(radiusScratch)
198
- );
199
- if (defined_default(cylinderGeometry._offsetAttribute)) {
200
- length = positions.length;
201
- const offsetValue = cylinderGeometry._offsetAttribute === GeometryOffsetAttribute_default.NONE ? 0 : 1;
202
- const applyOffset = new Uint8Array(length / 3).fill(offsetValue);
203
- attributes.applyOffset = new GeometryAttribute_default({
204
- componentDatatype: ComponentDatatype_default.UNSIGNED_BYTE,
205
- componentsPerAttribute: 1,
206
- values: applyOffset
207
- });
208
- }
209
- return new Geometry_default({
210
- attributes,
211
- indices,
212
- primitiveType: PrimitiveType_default.LINES,
213
- boundingSphere,
214
- offsetAttribute: cylinderGeometry._offsetAttribute
215
- });
216
- };
217
- var CylinderOutlineGeometry_default = CylinderOutlineGeometry;
218
-
219
- // packages/engine/Source/Workers/createCylinderOutlineGeometry.js
220
- function createCylinderOutlineGeometry(cylinderGeometry, offset) {
221
- if (defined_default(offset)) {
222
- cylinderGeometry = CylinderOutlineGeometry_default.unpack(cylinderGeometry, offset);
223
- }
224
- return CylinderOutlineGeometry_default.createGeometry(cylinderGeometry);
225
- }
226
- var createCylinderOutlineGeometry_default = createCylinderOutlineGeometry;
227
- export {
228
- createCylinderOutlineGeometry_default as default
229
- };
26
+ import{a as M}from"./chunk-ARG42DC4.js";import{a as L}from"./chunk-GBYLG25F.js";import{a as N}from"./chunk-OFUUQVMR.js";import{a as k}from"./chunk-A56XVLQR.js";import{b as D,c as P,d as A}from"./chunk-RCV6KWXS.js";import{d as y}from"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import{a as R}from"./chunk-AU7IKHOH.js";import{a as T,c as _,f as S}from"./chunk-64RSHJUE.js";import"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import{a as E,b as m}from"./chunk-LEYMRMBK.js";import{e as b}from"./chunk-VTAIKJXX.js";var V=new _;function d(t){t=t??S.EMPTY_OBJECT;let e=t.length,i=t.topRadius,f=t.bottomRadius,o=t.slices??128,u=Math.max(t.numberOfVerticalLines??16,0);if(m.typeOf.number("options.positions",e),m.typeOf.number("options.topRadius",i),m.typeOf.number("options.bottomRadius",f),m.typeOf.number.greaterThanOrEquals("options.slices",o,3),b(t.offsetAttribute)&&t.offsetAttribute===L.TOP)throw new E("GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.");this._length=e,this._topRadius=i,this._bottomRadius=f,this._slices=o,this._numberOfVerticalLines=u,this._offsetAttribute=t.offsetAttribute,this._workerName="createCylinderOutlineGeometry"}d.packedLength=6;d.pack=function(t,e,i){return m.typeOf.object("value",t),m.defined("array",e),i=i??0,e[i++]=t._length,e[i++]=t._topRadius,e[i++]=t._bottomRadius,e[i++]=t._slices,e[i++]=t._numberOfVerticalLines,e[i]=t._offsetAttribute??-1,e};var p={length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,numberOfVerticalLines:void 0,offsetAttribute:void 0};d.unpack=function(t,e,i){m.defined("array",t),e=e??0;let f=t[e++],o=t[e++],u=t[e++],l=t[e++],a=t[e++],c=t[e];return b(i)?(i._length=f,i._topRadius=o,i._bottomRadius=u,i._slices=l,i._numberOfVerticalLines=a,i._offsetAttribute=c===-1?void 0:c,i):(p.length=f,p.topRadius=o,p.bottomRadius=u,p.slices=l,p.numberOfVerticalLines=a,p.offsetAttribute=c===-1?void 0:c,new d(p))};d.createGeometry=function(t){let e=t._length,i=t._topRadius,f=t._bottomRadius,o=t._slices,u=t._numberOfVerticalLines;if(e<=0||i<0||f<0||i===0&&f===0)return;let l=o*2,a=M.computePositions(e,i,f,o,!1),c=o*2,C;if(u>0){let h=Math.min(u,o);C=Math.round(o/h),c+=h}let s=N.createTypedArray(l,c*2),r=0,n;for(n=0;n<o-1;n++)s[r++]=n,s[r++]=n+1,s[r++]=n+o,s[r++]=n+1+o;if(s[r++]=o-1,s[r++]=0,s[r++]=o+o-1,s[r++]=o,u>0)for(n=0;n<o;n+=C)s[r++]=n,s[r++]=n+o;let O=new k;O.position=new A({componentDatatype:R.DOUBLE,componentsPerAttribute:3,values:a}),V.x=e*.5,V.y=Math.max(f,i);let g=new y(T.ZERO,_.magnitude(V));if(b(t._offsetAttribute)){e=a.length;let h=t._offsetAttribute===L.NONE?0:1,B=new Uint8Array(e/3).fill(h);O.applyOffset=new A({componentDatatype:R.UNSIGNED_BYTE,componentsPerAttribute:1,values:B})}return new P({attributes:O,indices:s,primitiveType:D.LINES,boundingSphere:g,offsetAttribute:t._offsetAttribute})};var w=d;function G(t,e){return b(e)&&(t=w.unpack(t,e)),w.createGeometry(t)}var et=G;export{et as default};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.122
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,47 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- EllipseGeometry_default
28
- } from "./chunk-N5KJGGCM.js";
29
- import "./chunk-27HUZ7SA.js";
30
- import "./chunk-7KTQP4VB.js";
31
- import "./chunk-GGZJN2TI.js";
32
- import "./chunk-NGPPMXRM.js";
33
- import "./chunk-C6YYBQXW.js";
34
- import "./chunk-I2ITFFPX.js";
35
- import "./chunk-EJZTDTUH.js";
36
- import "./chunk-3Q2L65QU.js";
37
- import "./chunk-2ZGOQXYU.js";
38
- import "./chunk-26GA3JAM.js";
39
- import "./chunk-DI5NGJUP.js";
40
- import "./chunk-GWCFU2SA.js";
41
- import "./chunk-VJZB3WAV.js";
42
- import "./chunk-5PTXS2GO.js";
43
- import "./chunk-K4GQUNB5.js";
44
- import {
45
- Cartesian3_default,
46
- Ellipsoid_default
47
- } from "./chunk-YFXQECWV.js";
48
- import "./chunk-XY4BATBS.js";
49
- import "./chunk-MXIZJAPH.js";
50
- import "./chunk-6CHGCNMW.js";
51
- import "./chunk-7JO7GPJN.js";
52
- import "./chunk-AD63PIY6.js";
53
- import {
54
- defined_default
55
- } from "./chunk-E63IIM5T.js";
56
-
57
- // packages/engine/Source/Workers/createEllipseGeometry.js
58
- function createEllipseGeometry(ellipseGeometry, offset) {
59
- if (defined_default(offset)) {
60
- ellipseGeometry = EllipseGeometry_default.unpack(ellipseGeometry, offset);
61
- }
62
- ellipseGeometry._center = Cartesian3_default.clone(ellipseGeometry._center);
63
- ellipseGeometry._ellipsoid = Ellipsoid_default.clone(ellipseGeometry._ellipsoid);
64
- return EllipseGeometry_default.createGeometry(ellipseGeometry);
65
- }
66
- var createEllipseGeometry_default = createEllipseGeometry;
67
- export {
68
- createEllipseGeometry_default as default
69
- };
26
+ import{a as o}from"./chunk-FEVXJ54I.js";import"./chunk-UP6I5URU.js";import"./chunk-D6AA5QVT.js";import"./chunk-VW6VD53G.js";import"./chunk-DEPHB2WM.js";import"./chunk-QOUAJ6TL.js";import"./chunk-GBYLG25F.js";import"./chunk-CYCB63OH.js";import"./chunk-DMEY62ID.js";import"./chunk-HTFSEEMT.js";import"./chunk-OFUUQVMR.js";import"./chunk-A56XVLQR.js";import"./chunk-RCV6KWXS.js";import"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import"./chunk-AU7IKHOH.js";import{a as t,d as c}from"./chunk-64RSHJUE.js";import"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import"./chunk-LEYMRMBK.js";import{e as n}from"./chunk-VTAIKJXX.js";function a(r,i){return n(i)&&(r=o.unpack(r,i)),r._center=t.clone(r._center),r._ellipsoid=c.clone(r._ellipsoid),o.createGeometry(r)}var u=a;export{u as default};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.122
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,40 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- EllipseOutlineGeometry_default
28
- } from "./chunk-7BMOHCPM.js";
29
- import "./chunk-27HUZ7SA.js";
30
- import "./chunk-I2ITFFPX.js";
31
- import "./chunk-26GA3JAM.js";
32
- import "./chunk-DI5NGJUP.js";
33
- import "./chunk-GWCFU2SA.js";
34
- import "./chunk-VJZB3WAV.js";
35
- import "./chunk-5PTXS2GO.js";
36
- import "./chunk-K4GQUNB5.js";
37
- import {
38
- Cartesian3_default,
39
- Ellipsoid_default
40
- } from "./chunk-YFXQECWV.js";
41
- import "./chunk-XY4BATBS.js";
42
- import "./chunk-MXIZJAPH.js";
43
- import "./chunk-6CHGCNMW.js";
44
- import "./chunk-7JO7GPJN.js";
45
- import "./chunk-AD63PIY6.js";
46
- import {
47
- defined_default
48
- } from "./chunk-E63IIM5T.js";
49
-
50
- // packages/engine/Source/Workers/createEllipseOutlineGeometry.js
51
- function createEllipseOutlineGeometry(ellipseGeometry, offset) {
52
- if (defined_default(offset)) {
53
- ellipseGeometry = EllipseOutlineGeometry_default.unpack(ellipseGeometry, offset);
54
- }
55
- ellipseGeometry._center = Cartesian3_default.clone(ellipseGeometry._center);
56
- ellipseGeometry._ellipsoid = Ellipsoid_default.clone(ellipseGeometry._ellipsoid);
57
- return EllipseOutlineGeometry_default.createGeometry(ellipseGeometry);
58
- }
59
- var createEllipseOutlineGeometry_default = createEllipseOutlineGeometry;
60
- export {
61
- createEllipseOutlineGeometry_default as default
62
- };
26
+ import{a as i}from"./chunk-HWXX4CWK.js";import"./chunk-UP6I5URU.js";import"./chunk-GBYLG25F.js";import"./chunk-OFUUQVMR.js";import"./chunk-A56XVLQR.js";import"./chunk-RCV6KWXS.js";import"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import"./chunk-AU7IKHOH.js";import{a as t,d as c}from"./chunk-64RSHJUE.js";import"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import"./chunk-LEYMRMBK.js";import{e as o}from"./chunk-VTAIKJXX.js";function a(r,n){return o(n)&&(r=i.unpack(r,n)),r._center=t.clone(r._center),r._ellipsoid=c.clone(r._ellipsoid),i.createGeometry(r)}var p=a;export{p as default};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.122
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,35 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- EllipsoidGeometry_default
28
- } from "./chunk-O3E4OAOE.js";
29
- import "./chunk-I2ITFFPX.js";
30
- import "./chunk-EJZTDTUH.js";
31
- import "./chunk-26GA3JAM.js";
32
- import "./chunk-DI5NGJUP.js";
33
- import "./chunk-GWCFU2SA.js";
34
- import "./chunk-VJZB3WAV.js";
35
- import "./chunk-5PTXS2GO.js";
36
- import "./chunk-K4GQUNB5.js";
37
- import "./chunk-YFXQECWV.js";
38
- import "./chunk-XY4BATBS.js";
39
- import "./chunk-MXIZJAPH.js";
40
- import "./chunk-6CHGCNMW.js";
41
- import "./chunk-7JO7GPJN.js";
42
- import "./chunk-AD63PIY6.js";
43
- import {
44
- defined_default
45
- } from "./chunk-E63IIM5T.js";
46
-
47
- // packages/engine/Source/Workers/createEllipsoidGeometry.js
48
- function createEllipsoidGeometry(ellipsoidGeometry, offset) {
49
- if (defined_default(offset)) {
50
- ellipsoidGeometry = EllipsoidGeometry_default.unpack(ellipsoidGeometry, offset);
51
- }
52
- return EllipsoidGeometry_default.createGeometry(ellipsoidGeometry);
53
- }
54
- var createEllipsoidGeometry_default = createEllipsoidGeometry;
55
- export {
56
- createEllipsoidGeometry_default as default
57
- };
26
+ import{a as e}from"./chunk-37F5JSTI.js";import"./chunk-GBYLG25F.js";import"./chunk-CYCB63OH.js";import"./chunk-OFUUQVMR.js";import"./chunk-A56XVLQR.js";import"./chunk-RCV6KWXS.js";import"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import"./chunk-AU7IKHOH.js";import"./chunk-64RSHJUE.js";import"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import"./chunk-LEYMRMBK.js";import{e as o}from"./chunk-VTAIKJXX.js";function i(r,t){return o(t)&&(r=e.unpack(r,t)),e.createGeometry(r)}var a=i;export{a as default};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.122
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,37 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- EllipsoidOutlineGeometry_default
28
- } from "./chunk-YZ733KKS.js";
29
- import "./chunk-I2ITFFPX.js";
30
- import "./chunk-26GA3JAM.js";
31
- import "./chunk-DI5NGJUP.js";
32
- import "./chunk-GWCFU2SA.js";
33
- import "./chunk-VJZB3WAV.js";
34
- import "./chunk-5PTXS2GO.js";
35
- import "./chunk-K4GQUNB5.js";
36
- import "./chunk-YFXQECWV.js";
37
- import "./chunk-XY4BATBS.js";
38
- import "./chunk-MXIZJAPH.js";
39
- import "./chunk-6CHGCNMW.js";
40
- import "./chunk-7JO7GPJN.js";
41
- import "./chunk-AD63PIY6.js";
42
- import {
43
- defined_default
44
- } from "./chunk-E63IIM5T.js";
45
-
46
- // packages/engine/Source/Workers/createEllipsoidOutlineGeometry.js
47
- function createEllipsoidOutlineGeometry(ellipsoidGeometry, offset) {
48
- if (defined_default(ellipsoidGeometry.buffer, offset)) {
49
- ellipsoidGeometry = EllipsoidOutlineGeometry_default.unpack(
50
- ellipsoidGeometry,
51
- offset
52
- );
53
- }
54
- return EllipsoidOutlineGeometry_default.createGeometry(ellipsoidGeometry);
55
- }
56
- var createEllipsoidOutlineGeometry_default = createEllipsoidOutlineGeometry;
57
- export {
58
- createEllipsoidOutlineGeometry_default as default
59
- };
26
+ import{a as t}from"./chunk-D6C66QON.js";import"./chunk-GBYLG25F.js";import"./chunk-OFUUQVMR.js";import"./chunk-A56XVLQR.js";import"./chunk-RCV6KWXS.js";import"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import"./chunk-AU7IKHOH.js";import"./chunk-64RSHJUE.js";import"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import"./chunk-LEYMRMBK.js";import{e as n}from"./chunk-VTAIKJXX.js";function u(r,e){return n(r.buffer,e)&&(r=t.unpack(r,e)),t.createGeometry(r)}var a=u;export{a as default};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.122
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,34 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- FrustumGeometry_default
28
- } from "./chunk-GNBFYG7F.js";
29
- import "./chunk-EJZTDTUH.js";
30
- import "./chunk-2ZGOQXYU.js";
31
- import "./chunk-DI5NGJUP.js";
32
- import "./chunk-GWCFU2SA.js";
33
- import "./chunk-VJZB3WAV.js";
34
- import "./chunk-5PTXS2GO.js";
35
- import "./chunk-K4GQUNB5.js";
36
- import "./chunk-YFXQECWV.js";
37
- import "./chunk-XY4BATBS.js";
38
- import "./chunk-MXIZJAPH.js";
39
- import "./chunk-6CHGCNMW.js";
40
- import "./chunk-7JO7GPJN.js";
41
- import "./chunk-AD63PIY6.js";
42
- import {
43
- defined_default
44
- } from "./chunk-E63IIM5T.js";
45
-
46
- // packages/engine/Source/Workers/createFrustumGeometry.js
47
- function createFrustumGeometry(frustumGeometry, offset) {
48
- if (defined_default(offset)) {
49
- frustumGeometry = FrustumGeometry_default.unpack(frustumGeometry, offset);
50
- }
51
- return FrustumGeometry_default.createGeometry(frustumGeometry);
52
- }
53
- var createFrustumGeometry_default = createFrustumGeometry;
54
- export {
55
- createFrustumGeometry_default as default
56
- };
26
+ import{c as r}from"./chunk-IYTZ52EY.js";import"./chunk-CYCB63OH.js";import"./chunk-HTFSEEMT.js";import"./chunk-A56XVLQR.js";import"./chunk-RCV6KWXS.js";import"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import"./chunk-AU7IKHOH.js";import"./chunk-64RSHJUE.js";import"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import"./chunk-LEYMRMBK.js";import{e as o}from"./chunk-VTAIKJXX.js";function i(e,t){return o(t)&&(e=r.unpack(e,t)),r.createGeometry(e)}var a=i;export{a as default};