@pggis/pg-sdk 3.3.10 → 3.5.0

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 (163) hide show
  1. package/README.md +8 -8
  2. package/dist/index.js +1966 -4
  3. package/dist/pggis.min.css +1 -1
  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-F3YA3Y2Z.js → chunk-A56XVLQR.js} +2 -13
  19. package/dist/resources/Workers/chunk-AJYK4IVJ.js +26 -0
  20. package/dist/resources/Workers/{chunk-EHWHNOEX.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-4H7PY4U5.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-BBWDMCVU.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-WZDE3RYP.js +28 -0
  60. package/dist/resources/Workers/chunk-XRL4AVS5.js +26 -0
  61. package/dist/resources/Workers/combineGeometry.js +2 -44
  62. package/dist/resources/Workers/createBoxGeometry.js +2 -34
  63. package/dist/resources/Workers/createBoxOutlineGeometry.js +2 -211
  64. package/dist/resources/Workers/createCircleGeometry.js +2 -173
  65. package/dist/resources/Workers/createCircleOutlineGeometry.js +2 -123
  66. package/dist/resources/Workers/createCoplanarPolygonGeometry.js +2 -482
  67. package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +2 -201
  68. package/dist/resources/Workers/createCorridorGeometry.js +2 -1239
  69. package/dist/resources/Workers/createCorridorOutlineGeometry.js +2 -544
  70. package/dist/resources/Workers/createCylinderGeometry.js +2 -36
  71. package/dist/resources/Workers/createCylinderOutlineGeometry.js +2 -207
  72. package/dist/resources/Workers/createEllipseGeometry.js +2 -47
  73. package/dist/resources/Workers/createEllipseOutlineGeometry.js +2 -40
  74. package/dist/resources/Workers/createEllipsoidGeometry.js +2 -35
  75. package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +2 -37
  76. package/dist/resources/Workers/createFrustumGeometry.js +2 -34
  77. package/dist/resources/Workers/createFrustumOutlineGeometry.js +2 -211
  78. package/dist/resources/Workers/createGeometry.js +2 -147
  79. package/dist/resources/Workers/createGroundPolylineGeometry.js +2 -1584
  80. package/dist/resources/Workers/createPlaneGeometry.js +2 -200
  81. package/dist/resources/Workers/createPlaneOutlineGeometry.js +2 -100
  82. package/dist/resources/Workers/createPolygonGeometry.js +2 -1387
  83. package/dist/resources/Workers/createPolygonOutlineGeometry.js +2 -519
  84. package/dist/resources/Workers/createPolylineGeometry.js +2 -472
  85. package/dist/resources/Workers/createPolylineVolumeGeometry.js +2 -355
  86. package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +2 -253
  87. package/dist/resources/Workers/createRectangleGeometry.js +2 -1250
  88. package/dist/resources/Workers/createRectangleOutlineGeometry.js +2 -455
  89. package/dist/resources/Workers/createSimplePolylineGeometry.js +2 -376
  90. package/dist/resources/Workers/createSphereGeometry.js +2 -94
  91. package/dist/resources/Workers/createSphereOutlineGeometry.js +2 -94
  92. package/dist/resources/Workers/createTaskProcessorWorker.js +2 -8
  93. package/dist/resources/Workers/createVectorTileClampedPolylines.js +2 -468
  94. package/dist/resources/Workers/createVectorTileGeometries.js +2 -363
  95. package/dist/resources/Workers/createVectorTilePoints.js +2 -88
  96. package/dist/resources/Workers/createVectorTilePolygons.js +2 -361
  97. package/dist/resources/Workers/createVectorTilePolylines.js +2 -238
  98. package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -545
  99. package/dist/resources/Workers/createVerticesFromHeightmap.js +2 -2254
  100. package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -722
  101. package/dist/resources/Workers/createWallGeometry.js +2 -466
  102. package/dist/resources/Workers/createWallOutlineGeometry.js +2 -314
  103. package/dist/resources/Workers/decodeDraco.js +2 -345
  104. package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2626
  105. package/dist/resources/Workers/decodeI3S.js +2 -1320
  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 -3398
  109. package/dist/resources/Workers/transferTypedArrayTest.js +2 -17
  110. package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +2 -795
  111. package/package.json +9 -8
  112. package/dist/pggis.min.js +0 -14796
  113. package/dist/resources/ThirdParty/Workers/basis_transcoder.js +0 -21
  114. package/dist/resources/Workers/chunk-23UFSGND.js +0 -236
  115. package/dist/resources/Workers/chunk-2A75IWRS.js +0 -218
  116. package/dist/resources/Workers/chunk-2FRVPMCS.js +0 -1258
  117. package/dist/resources/Workers/chunk-2FWRMUTY.js +0 -138
  118. package/dist/resources/Workers/chunk-2UPKWTMJ.js +0 -117
  119. package/dist/resources/Workers/chunk-34FXV7D7.js +0 -73
  120. package/dist/resources/Workers/chunk-3VAZEH7M.js +0 -101
  121. package/dist/resources/Workers/chunk-4DO5W5XZ.js +0 -196
  122. package/dist/resources/Workers/chunk-5QULIR53.js +0 -501
  123. package/dist/resources/Workers/chunk-7TC63SJW.js +0 -302
  124. package/dist/resources/Workers/chunk-7ZFGPDJA.js +0 -122
  125. package/dist/resources/Workers/chunk-A5DWLWCY.js +0 -834
  126. package/dist/resources/Workers/chunk-BG4UCVXN.js +0 -73
  127. package/dist/resources/Workers/chunk-BIKA3NRA.js +0 -59
  128. package/dist/resources/Workers/chunk-BROJAZRZ.js +0 -390
  129. package/dist/resources/Workers/chunk-DDUQAJ4P.js +0 -476
  130. package/dist/resources/Workers/chunk-EERJKOAF.js +0 -305
  131. package/dist/resources/Workers/chunk-EG6PTBY2.js +0 -2716
  132. package/dist/resources/Workers/chunk-F4HFJMGM.js +0 -353
  133. package/dist/resources/Workers/chunk-FJKNFAKQ.js +0 -8219
  134. package/dist/resources/Workers/chunk-FNIRWHJB.js +0 -289
  135. package/dist/resources/Workers/chunk-FZRIVR7Y.js +0 -100
  136. package/dist/resources/Workers/chunk-G43QFN4Q.js +0 -157
  137. package/dist/resources/Workers/chunk-GATZHF3K.js +0 -1860
  138. package/dist/resources/Workers/chunk-GRC2ZTAF.js +0 -398
  139. package/dist/resources/Workers/chunk-HU6N6EXB.js +0 -767
  140. package/dist/resources/Workers/chunk-I46ZRR5W.js +0 -1052
  141. package/dist/resources/Workers/chunk-JURN7NPV.js +0 -1075
  142. package/dist/resources/Workers/chunk-KKCR2YOP.js +0 -421
  143. package/dist/resources/Workers/chunk-LPR3YNP2.js +0 -138
  144. package/dist/resources/Workers/chunk-M7ERACJJ.js +0 -511
  145. package/dist/resources/Workers/chunk-MDWEGWPA.js +0 -1007
  146. package/dist/resources/Workers/chunk-OGXZVPPM.js +0 -2365
  147. package/dist/resources/Workers/chunk-PGSJK77E.js +0 -634
  148. package/dist/resources/Workers/chunk-PPH7OFP3.js +0 -258
  149. package/dist/resources/Workers/chunk-SH5USDPI.js +0 -456
  150. package/dist/resources/Workers/chunk-SOWMRMWA.js +0 -629
  151. package/dist/resources/Workers/chunk-STW2DGFI.js +0 -58
  152. package/dist/resources/Workers/chunk-T3XIFPYR.js +0 -1477
  153. package/dist/resources/Workers/chunk-TTUZP4BO.js +0 -501
  154. package/dist/resources/Workers/chunk-UEXTBDBE.js +0 -693
  155. package/dist/resources/Workers/chunk-VOXYEYJT.js +0 -684
  156. package/dist/resources/Workers/chunk-X4356LRH.js +0 -368
  157. package/dist/resources/Workers/chunk-XGI5BXZY.js +0 -163
  158. package/dist/resources/Workers/chunk-Y2ME2IJV.js +0 -781
  159. package/dist/resources/Workers/chunk-Y5UQJLYE.js +0 -171
  160. package/dist/resources/Workers/chunk-YJEBABKH.js +0 -2977
  161. package/dist/resources/Workers/chunk-YWTJ2B4B.js +0 -77
  162. package/dist/resources/Workers/chunk-Z3TIFFGF.js +0 -430
  163. package/dist/resources/Workers/chunk-ZT7KWISZ.js +0 -102
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,209 +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-34FXV7D7.js";
29
- import {
30
- GeometryOffsetAttribute_default
31
- } from "./chunk-F3YA3Y2Z.js";
32
- import {
33
- IndexDatatype_default
34
- } from "./chunk-LPR3YNP2.js";
35
- import {
36
- GeometryAttributes_default
37
- } from "./chunk-4H7PY4U5.js";
38
- import {
39
- GeometryAttribute_default,
40
- Geometry_default,
41
- PrimitiveType_default
42
- } from "./chunk-7TC63SJW.js";
43
- import {
44
- BoundingSphere_default
45
- } from "./chunk-FJKNFAKQ.js";
46
- import "./chunk-TTUZP4BO.js";
47
- import "./chunk-BG4UCVXN.js";
48
- import "./chunk-YJEBABKH.js";
49
- import {
50
- ComponentDatatype_default
51
- } from "./chunk-PPH7OFP3.js";
52
- import {
53
- Cartesian2_default,
54
- Cartesian3_default
55
- } from "./chunk-OGXZVPPM.js";
56
- import "./chunk-5QULIR53.js";
57
- import "./chunk-SOWMRMWA.js";
58
- import "./chunk-STW2DGFI.js";
59
- import {
60
- defaultValue_default
61
- } from "./chunk-BBWDMCVU.js";
62
- import {
63
- Check_default,
64
- DeveloperError_default
65
- } from "./chunk-XGI5BXZY.js";
66
- import {
67
- defined_default
68
- } from "./chunk-YWTJ2B4B.js";
69
-
70
- // packages/engine/Source/Core/CylinderOutlineGeometry.js
71
- var radiusScratch = new Cartesian2_default();
72
- function CylinderOutlineGeometry(options) {
73
- options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
74
- const length = options.length;
75
- const topRadius = options.topRadius;
76
- const bottomRadius = options.bottomRadius;
77
- const slices = defaultValue_default(options.slices, 128);
78
- const numberOfVerticalLines = Math.max(
79
- defaultValue_default(options.numberOfVerticalLines, 16),
80
- 0
81
- );
82
- Check_default.typeOf.number("options.positions", length);
83
- Check_default.typeOf.number("options.topRadius", topRadius);
84
- Check_default.typeOf.number("options.bottomRadius", bottomRadius);
85
- Check_default.typeOf.number.greaterThanOrEquals("options.slices", slices, 3);
86
- if (defined_default(options.offsetAttribute) && options.offsetAttribute === GeometryOffsetAttribute_default.TOP) {
87
- throw new DeveloperError_default(
88
- "GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry."
89
- );
90
- }
91
- this._length = length;
92
- this._topRadius = topRadius;
93
- this._bottomRadius = bottomRadius;
94
- this._slices = slices;
95
- this._numberOfVerticalLines = numberOfVerticalLines;
96
- this._offsetAttribute = options.offsetAttribute;
97
- this._workerName = "createCylinderOutlineGeometry";
98
- }
99
- CylinderOutlineGeometry.packedLength = 6;
100
- CylinderOutlineGeometry.pack = function(value, array, startingIndex) {
101
- Check_default.typeOf.object("value", value);
102
- Check_default.defined("array", array);
103
- startingIndex = defaultValue_default(startingIndex, 0);
104
- array[startingIndex++] = value._length;
105
- array[startingIndex++] = value._topRadius;
106
- array[startingIndex++] = value._bottomRadius;
107
- array[startingIndex++] = value._slices;
108
- array[startingIndex++] = value._numberOfVerticalLines;
109
- array[startingIndex] = defaultValue_default(value._offsetAttribute, -1);
110
- return array;
111
- };
112
- var scratchOptions = {
113
- length: void 0,
114
- topRadius: void 0,
115
- bottomRadius: void 0,
116
- slices: void 0,
117
- numberOfVerticalLines: void 0,
118
- offsetAttribute: void 0
119
- };
120
- CylinderOutlineGeometry.unpack = function(array, startingIndex, result) {
121
- Check_default.defined("array", array);
122
- startingIndex = defaultValue_default(startingIndex, 0);
123
- const length = array[startingIndex++];
124
- const topRadius = array[startingIndex++];
125
- const bottomRadius = array[startingIndex++];
126
- const slices = array[startingIndex++];
127
- const numberOfVerticalLines = array[startingIndex++];
128
- const offsetAttribute = array[startingIndex];
129
- if (!defined_default(result)) {
130
- scratchOptions.length = length;
131
- scratchOptions.topRadius = topRadius;
132
- scratchOptions.bottomRadius = bottomRadius;
133
- scratchOptions.slices = slices;
134
- scratchOptions.numberOfVerticalLines = numberOfVerticalLines;
135
- scratchOptions.offsetAttribute = offsetAttribute === -1 ? void 0 : offsetAttribute;
136
- return new CylinderOutlineGeometry(scratchOptions);
137
- }
138
- result._length = length;
139
- result._topRadius = topRadius;
140
- result._bottomRadius = bottomRadius;
141
- result._slices = slices;
142
- result._numberOfVerticalLines = numberOfVerticalLines;
143
- result._offsetAttribute = offsetAttribute === -1 ? void 0 : offsetAttribute;
144
- return result;
145
- };
146
- CylinderOutlineGeometry.createGeometry = function(cylinderGeometry) {
147
- let length = cylinderGeometry._length;
148
- const topRadius = cylinderGeometry._topRadius;
149
- const bottomRadius = cylinderGeometry._bottomRadius;
150
- const slices = cylinderGeometry._slices;
151
- const numberOfVerticalLines = cylinderGeometry._numberOfVerticalLines;
152
- if (length <= 0 || topRadius < 0 || bottomRadius < 0 || topRadius === 0 && bottomRadius === 0) {
153
- return;
154
- }
155
- const numVertices = slices * 2;
156
- const positions = CylinderGeometryLibrary_default.computePositions(
157
- length,
158
- topRadius,
159
- bottomRadius,
160
- slices,
161
- false
162
- );
163
- let numIndices = slices * 2;
164
- let numSide;
165
- if (numberOfVerticalLines > 0) {
166
- const numSideLines = Math.min(numberOfVerticalLines, slices);
167
- numSide = Math.round(slices / numSideLines);
168
- numIndices += numSideLines;
169
- }
170
- const indices = IndexDatatype_default.createTypedArray(numVertices, numIndices * 2);
171
- let index = 0;
172
- let i;
173
- for (i = 0; i < slices - 1; i++) {
174
- indices[index++] = i;
175
- indices[index++] = i + 1;
176
- indices[index++] = i + slices;
177
- indices[index++] = i + 1 + slices;
178
- }
179
- indices[index++] = slices - 1;
180
- indices[index++] = 0;
181
- indices[index++] = slices + slices - 1;
182
- indices[index++] = slices;
183
- if (numberOfVerticalLines > 0) {
184
- for (i = 0; i < slices; i += numSide) {
185
- indices[index++] = i;
186
- indices[index++] = i + slices;
187
- }
188
- }
189
- const attributes = new GeometryAttributes_default();
190
- attributes.position = new GeometryAttribute_default({
191
- componentDatatype: ComponentDatatype_default.DOUBLE,
192
- componentsPerAttribute: 3,
193
- values: positions
194
- });
195
- radiusScratch.x = length * 0.5;
196
- radiusScratch.y = Math.max(bottomRadius, topRadius);
197
- const boundingSphere = new BoundingSphere_default(
198
- Cartesian3_default.ZERO,
199
- Cartesian2_default.magnitude(radiusScratch)
200
- );
201
- if (defined_default(cylinderGeometry._offsetAttribute)) {
202
- length = positions.length;
203
- const offsetValue = cylinderGeometry._offsetAttribute === GeometryOffsetAttribute_default.NONE ? 0 : 1;
204
- const applyOffset = new Uint8Array(length / 3).fill(offsetValue);
205
- attributes.applyOffset = new GeometryAttribute_default({
206
- componentDatatype: ComponentDatatype_default.UNSIGNED_BYTE,
207
- componentsPerAttribute: 1,
208
- values: applyOffset
209
- });
210
- }
211
- return new Geometry_default({
212
- attributes,
213
- indices,
214
- primitiveType: PrimitiveType_default.LINES,
215
- boundingSphere,
216
- offsetAttribute: cylinderGeometry._offsetAttribute
217
- });
218
- };
219
- var CylinderOutlineGeometry_default = CylinderOutlineGeometry;
220
-
221
- // packages/engine/Source/Workers/createCylinderOutlineGeometry.js
222
- function createCylinderOutlineGeometry(cylinderGeometry, offset) {
223
- if (defined_default(offset)) {
224
- cylinderGeometry = CylinderOutlineGeometry_default.unpack(cylinderGeometry, offset);
225
- }
226
- return CylinderOutlineGeometry_default.createGeometry(cylinderGeometry);
227
- }
228
- var createCylinderOutlineGeometry_default = createCylinderOutlineGeometry;
229
- export {
230
- createCylinderOutlineGeometry_default as default
231
- };
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.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,49 +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-JURN7NPV.js";
29
- import "./chunk-EERJKOAF.js";
30
- import "./chunk-BIKA3NRA.js";
31
- import "./chunk-EG6PTBY2.js";
32
- import "./chunk-Z3TIFFGF.js";
33
- import "./chunk-ZT7KWISZ.js";
34
- import "./chunk-F3YA3Y2Z.js";
35
- import "./chunk-2FWRMUTY.js";
36
- import "./chunk-2FRVPMCS.js";
37
- import "./chunk-Y5UQJLYE.js";
38
- import "./chunk-LPR3YNP2.js";
39
- import "./chunk-4H7PY4U5.js";
40
- import "./chunk-7TC63SJW.js";
41
- import "./chunk-FJKNFAKQ.js";
42
- import "./chunk-TTUZP4BO.js";
43
- import "./chunk-BG4UCVXN.js";
44
- import "./chunk-YJEBABKH.js";
45
- import "./chunk-PPH7OFP3.js";
46
- import {
47
- Cartesian3_default,
48
- Ellipsoid_default
49
- } from "./chunk-OGXZVPPM.js";
50
- import "./chunk-5QULIR53.js";
51
- import "./chunk-SOWMRMWA.js";
52
- import "./chunk-STW2DGFI.js";
53
- import "./chunk-BBWDMCVU.js";
54
- import "./chunk-XGI5BXZY.js";
55
- import {
56
- defined_default
57
- } from "./chunk-YWTJ2B4B.js";
58
-
59
- // packages/engine/Source/Workers/createEllipseGeometry.js
60
- function createEllipseGeometry(ellipseGeometry, offset) {
61
- if (defined_default(offset)) {
62
- ellipseGeometry = EllipseGeometry_default.unpack(ellipseGeometry, offset);
63
- }
64
- ellipseGeometry._center = Cartesian3_default.clone(ellipseGeometry._center);
65
- ellipseGeometry._ellipsoid = Ellipsoid_default.clone(ellipseGeometry._ellipsoid);
66
- return EllipseGeometry_default.createGeometry(ellipseGeometry);
67
- }
68
- var createEllipseGeometry_default = createEllipseGeometry;
69
- export {
70
- createEllipseGeometry_default as default
71
- };
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.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,42 +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-BROJAZRZ.js";
29
- import "./chunk-EERJKOAF.js";
30
- import "./chunk-F3YA3Y2Z.js";
31
- import "./chunk-LPR3YNP2.js";
32
- import "./chunk-4H7PY4U5.js";
33
- import "./chunk-7TC63SJW.js";
34
- import "./chunk-FJKNFAKQ.js";
35
- import "./chunk-TTUZP4BO.js";
36
- import "./chunk-BG4UCVXN.js";
37
- import "./chunk-YJEBABKH.js";
38
- import "./chunk-PPH7OFP3.js";
39
- import {
40
- Cartesian3_default,
41
- Ellipsoid_default
42
- } from "./chunk-OGXZVPPM.js";
43
- import "./chunk-5QULIR53.js";
44
- import "./chunk-SOWMRMWA.js";
45
- import "./chunk-STW2DGFI.js";
46
- import "./chunk-BBWDMCVU.js";
47
- import "./chunk-XGI5BXZY.js";
48
- import {
49
- defined_default
50
- } from "./chunk-YWTJ2B4B.js";
51
-
52
- // packages/engine/Source/Workers/createEllipseOutlineGeometry.js
53
- function createEllipseOutlineGeometry(ellipseGeometry, offset) {
54
- if (defined_default(offset)) {
55
- ellipseGeometry = EllipseOutlineGeometry_default.unpack(ellipseGeometry, offset);
56
- }
57
- ellipseGeometry._center = Cartesian3_default.clone(ellipseGeometry._center);
58
- ellipseGeometry._ellipsoid = Ellipsoid_default.clone(ellipseGeometry._ellipsoid);
59
- return EllipseOutlineGeometry_default.createGeometry(ellipseGeometry);
60
- }
61
- var createEllipseOutlineGeometry_default = createEllipseOutlineGeometry;
62
- export {
63
- createEllipseOutlineGeometry_default as default
64
- };
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.115
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
- EllipsoidGeometry_default
28
- } from "./chunk-M7ERACJJ.js";
29
- import "./chunk-F3YA3Y2Z.js";
30
- import "./chunk-2FWRMUTY.js";
31
- import "./chunk-LPR3YNP2.js";
32
- import "./chunk-4H7PY4U5.js";
33
- import "./chunk-7TC63SJW.js";
34
- import "./chunk-FJKNFAKQ.js";
35
- import "./chunk-TTUZP4BO.js";
36
- import "./chunk-BG4UCVXN.js";
37
- import "./chunk-YJEBABKH.js";
38
- import "./chunk-PPH7OFP3.js";
39
- import "./chunk-OGXZVPPM.js";
40
- import "./chunk-5QULIR53.js";
41
- import "./chunk-SOWMRMWA.js";
42
- import "./chunk-STW2DGFI.js";
43
- import "./chunk-BBWDMCVU.js";
44
- import "./chunk-XGI5BXZY.js";
45
- import {
46
- defined_default
47
- } from "./chunk-YWTJ2B4B.js";
48
-
49
- // packages/engine/Source/Workers/createEllipsoidGeometry.js
50
- function createEllipsoidGeometry(ellipsoidGeometry, offset) {
51
- if (defined_default(offset)) {
52
- ellipsoidGeometry = EllipsoidGeometry_default.unpack(ellipsoidGeometry, offset);
53
- }
54
- return EllipsoidGeometry_default.createGeometry(ellipsoidGeometry);
55
- }
56
- var createEllipsoidGeometry_default = createEllipsoidGeometry;
57
- export {
58
- createEllipsoidGeometry_default as default
59
- };
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.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,39 +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-X4356LRH.js";
29
- import "./chunk-F3YA3Y2Z.js";
30
- import "./chunk-LPR3YNP2.js";
31
- import "./chunk-4H7PY4U5.js";
32
- import "./chunk-7TC63SJW.js";
33
- import "./chunk-FJKNFAKQ.js";
34
- import "./chunk-TTUZP4BO.js";
35
- import "./chunk-BG4UCVXN.js";
36
- import "./chunk-YJEBABKH.js";
37
- import "./chunk-PPH7OFP3.js";
38
- import "./chunk-OGXZVPPM.js";
39
- import "./chunk-5QULIR53.js";
40
- import "./chunk-SOWMRMWA.js";
41
- import "./chunk-STW2DGFI.js";
42
- import "./chunk-BBWDMCVU.js";
43
- import "./chunk-XGI5BXZY.js";
44
- import {
45
- defined_default
46
- } from "./chunk-YWTJ2B4B.js";
47
-
48
- // packages/engine/Source/Workers/createEllipsoidOutlineGeometry.js
49
- function createEllipsoidOutlineGeometry(ellipsoidGeometry, offset) {
50
- if (defined_default(ellipsoidGeometry.buffer, offset)) {
51
- ellipsoidGeometry = EllipsoidOutlineGeometry_default.unpack(
52
- ellipsoidGeometry,
53
- offset
54
- );
55
- }
56
- return EllipsoidOutlineGeometry_default.createGeometry(ellipsoidGeometry);
57
- }
58
- var createEllipsoidOutlineGeometry_default = createEllipsoidOutlineGeometry;
59
- export {
60
- createEllipsoidOutlineGeometry_default as default
61
- };
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.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,36 +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-T3XIFPYR.js";
29
- import "./chunk-2FWRMUTY.js";
30
- import "./chunk-Y5UQJLYE.js";
31
- import "./chunk-4H7PY4U5.js";
32
- import "./chunk-7TC63SJW.js";
33
- import "./chunk-FJKNFAKQ.js";
34
- import "./chunk-TTUZP4BO.js";
35
- import "./chunk-BG4UCVXN.js";
36
- import "./chunk-YJEBABKH.js";
37
- import "./chunk-PPH7OFP3.js";
38
- import "./chunk-OGXZVPPM.js";
39
- import "./chunk-5QULIR53.js";
40
- import "./chunk-SOWMRMWA.js";
41
- import "./chunk-STW2DGFI.js";
42
- import "./chunk-BBWDMCVU.js";
43
- import "./chunk-XGI5BXZY.js";
44
- import {
45
- defined_default
46
- } from "./chunk-YWTJ2B4B.js";
47
-
48
- // packages/engine/Source/Workers/createFrustumGeometry.js
49
- function createFrustumGeometry(frustumGeometry, offset) {
50
- if (defined_default(offset)) {
51
- frustumGeometry = FrustumGeometry_default.unpack(frustumGeometry, offset);
52
- }
53
- return FrustumGeometry_default.createGeometry(frustumGeometry);
54
- }
55
- var createFrustumGeometry_default = createFrustumGeometry;
56
- export {
57
- createFrustumGeometry_default as default
58
- };
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};