@vcmap/ui 6.0.0-rc.1 → 6.0.0-rc.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.
- package/config/base.config.json +4 -4
- package/dist/assets/cesium/Assets/approximateTerrainHeights.json +1 -1
- package/dist/assets/cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/dist/assets/cesium/Workers/{chunk-ZA25DG4Y.js → chunk-3DRPXHZ4.js} +11 -11
- package/dist/assets/cesium/Workers/{chunk-OAVNIRB4.js → chunk-3GI7DWF7.js} +5 -7
- package/dist/assets/cesium/Workers/{chunk-TFC6TZ3S.js → chunk-4EW3HFFI.js} +33 -22
- package/dist/assets/cesium/Workers/{chunk-LLUNNUJV.js → chunk-4OX4RYLB.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-66QLLS45.js → chunk-4RJH3H6D.js} +11 -9
- package/dist/assets/cesium/Workers/{chunk-MPAZH4BF.js → chunk-5OUTANXX.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-WXTV4ATB.js → chunk-6DH5PLFD.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-A4JVFBQ3.js → chunk-6DXIYFX3.js} +2 -2
- package/dist/assets/cesium/Workers/chunk-A5C2A5O5.js +963 -0
- package/dist/assets/cesium/Workers/{chunk-HQF437NJ.js → chunk-AGTH5JMJ.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-RP2A7BR5.js → chunk-AVFIYUKX.js} +12 -14
- package/dist/assets/cesium/Workers/{chunk-227AJNOA.js → chunk-BAJAVGUF.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-N3JIFFX2.js → chunk-BPY4HDAK.js} +5 -6
- package/dist/assets/cesium/Workers/{chunk-ABADGKYE.js → chunk-D6PDWQXW.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-34YUDLRP.js → chunk-DR7LK6PG.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-OYFCF4PL.js → chunk-DTACCQDR.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-C3SXRKRW.js → chunk-EVU2UNBD.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-6BTKZDRG.js → chunk-F7IEM66T.js} +3 -5
- package/dist/assets/cesium/Workers/{chunk-QT3MPEMI.js → chunk-FSXNF76Y.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-PCJWUS4M.js → chunk-FYYT5EVH.js} +830 -14
- package/dist/assets/cesium/Workers/{chunk-QMEMZIJI.js → chunk-FZDKIUDT.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-XTY7B2N6.js → chunk-G6346EDR.js} +16 -16
- package/dist/assets/cesium/Workers/{chunk-CHHNOC2C.js → chunk-H7PSTL64.js} +95 -155
- package/dist/assets/cesium/Workers/{chunk-2R5O53JW.js → chunk-I67V66MN.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-JS3AW5BK.js → chunk-IALQGTA2.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-K36FEYS7.js → chunk-KNMGSIIN.js} +16 -12
- package/dist/assets/cesium/Workers/{chunk-J3JY6I2C.js → chunk-L4XQPD6P.js} +49 -88
- package/dist/assets/cesium/Workers/{chunk-X4SU25DT.js → chunk-LMTN7R7M.js} +10 -12
- package/dist/assets/cesium/Workers/{chunk-JB2LWGH4.js → chunk-LUYI3XCB.js} +14 -14
- package/dist/assets/cesium/Workers/{chunk-AFFLIKOH.js → chunk-N5MIFVXJ.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-MYZB7C4T.js → chunk-O7OUBDMZ.js} +10 -10
- package/dist/assets/cesium/Workers/{chunk-VLGOATD6.js → chunk-P24I5VUS.js} +22 -22
- package/dist/assets/cesium/Workers/{chunk-KD4Y7CZL.js → chunk-PIOKSAZH.js} +15 -17
- package/dist/assets/cesium/Workers/{chunk-3W63OHNJ.js → chunk-PRKEY4QK.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-O5AMBQ36.js → chunk-Q7PM4W34.js} +8 -8
- package/dist/assets/cesium/Workers/{chunk-GLZBE3ML.js → chunk-QLC66ZRL.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-OZJDGN5F.js → chunk-RRLGJV3Q.js} +16 -16
- package/dist/assets/cesium/Workers/{chunk-CCFQRR6D.js → chunk-S2UEXF6T.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-QIKODV5G.js → chunk-S4VTLNAJ.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-EW2GWJYB.js → chunk-SJC5PRDX.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-KTJSNCK4.js → chunk-T6TZXGG5.js} +230 -20
- package/dist/assets/cesium/Workers/{chunk-RW6LU2CJ.js → chunk-TLGODPEV.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-CTELOFLA.js → chunk-UC566ISB.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-ZFOBYDGF.js → chunk-UMX265HW.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-Z24VKNDO.js → chunk-V7WJDCPA.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-4MFFIWUA.js → chunk-VD6G7UPU.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-XY7MGBKC.js → chunk-WMVCLETM.js} +14 -16
- package/dist/assets/cesium/Workers/{chunk-IPA4EACJ.js → chunk-WOA6WSHH.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-PFQBCKBM.js → chunk-X67EJ6X6.js} +4398 -2722
- package/dist/assets/cesium/Workers/{chunk-V3NGATMV.js → chunk-XGI4FRXF.js} +11 -13
- package/dist/assets/cesium/Workers/{chunk-AHKEZ2OE.js → chunk-YFVI4SQI.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-HARLBUOL.js → chunk-YFYPR4MW.js} +11 -8
- package/dist/assets/cesium/Workers/combineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/createBoxGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +14 -15
- package/dist/assets/cesium/Workers/createCircleGeometry.js +29 -26
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +35 -36
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +27 -28
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +18 -19
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +17 -19
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +24 -25
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +18 -18
- package/dist/assets/cesium/Workers/createGeometry.js +52 -33
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +28 -29
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +14 -15
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +13 -14
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +451 -176
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +24 -25
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +31 -33
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +27 -29
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +30 -31
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +21 -24
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/createSphereGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +3 -3
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +14 -16
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +22 -23
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +12 -12
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +20 -21
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +14 -16
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +24 -25
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +25 -26
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -21
- package/dist/assets/cesium/Workers/createWallGeometry.js +23 -24
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/decodeDraco.js +11 -11
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +12 -19
- package/dist/assets/cesium/Workers/decodeI3S.js +600 -92
- package/dist/assets/cesium/Workers/transcodeKTX2.js +46 -82
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +21 -22
- package/dist/assets/{cesium.6b12b4.js → cesium.0b750d.js} +151166 -145641
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.074b78.js → core.cbf44a.js} +1944 -1902
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-8eGauqjA.js +1 -0
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui.7c276c.css +1 -0
- package/dist/assets/{ui.715986.js → ui.7c276c.js} +13826 -12887
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify.28d881.js → vuetify.4d18fe.js} +1 -1
- package/dist/assets/vuetify.js +1 -1
- package/dist/index.html +1 -1
- package/index.d.ts +2 -0
- package/index.js +1 -0
- package/package.json +7 -6
- package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +24 -86
- package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +35 -10
- package/plugins/@vcmap-show-case/wizard-example/src/WizardExample.vue +40 -54
- package/src/application/VcsApp.vue +1 -2
- package/src/application/VcsCustomScreen.vue +4 -4
- package/src/application/VcsCustomScreen.vue.d.ts +1 -1
- package/src/application/VcsNavbar.vue.d.ts +1 -1
- package/src/application/VcsSplashScreen.vue +18 -21
- package/src/application/VcsSplashScreen.vue.d.ts +5 -5
- package/src/application/VcsTextPage.vue +4 -4
- package/src/application/VcsTextPage.vue.d.ts +1 -1
- package/src/application/markdownHelper.js +2 -17
- package/src/components/buttons/VcsButton.vue +1 -1
- package/src/components/buttons/VcsButton.vue.d.ts +3 -3
- package/src/components/buttons/VcsFormButton.vue +1 -1
- package/src/components/buttons/VcsFormButton.vue.d.ts +2 -2
- package/src/components/buttons/VcsToolButton.vue +1 -1
- package/src/components/buttons/VcsToolButton.vue.d.ts +4 -4
- package/src/components/composables.d.ts +7 -0
- package/src/components/composables.js +35 -1
- package/src/components/form-inputs-controls/VcsCheckbox.vue +12 -8
- package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +1 -1
- package/src/components/form-inputs-controls/VcsDatePicker.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsFileInput.vue +2 -2
- package/src/components/form-inputs-controls/VcsFormSection.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsLabel.vue +31 -1
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +21 -1
- package/src/components/form-inputs-controls/VcsRadio.vue +2 -2
- package/src/components/form-inputs-controls/VcsSelect.vue +7 -16
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +2 -2
- package/src/components/form-inputs-controls/VcsSlider.vue +36 -10
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +25 -2
- package/src/components/form-inputs-controls/VcsTextArea.vue +35 -20
- package/src/components/form-inputs-controls/VcsTextField.vue +17 -12
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsWizard.vue +89 -112
- package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +3 -13
- package/src/components/form-inputs-controls/VcsWizardStep.vue +75 -57
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +24 -11
- package/src/components/form-inputs-controls/vcsTextField.scss +5 -0
- package/src/components/form-output/VcsFormattedNumber.vue +25 -9
- package/src/components/form-output/VcsFormattedNumber.vue.d.ts +18 -0
- package/src/components/form-output/VcsMarkdown.vue +53 -0
- package/src/components/form-output/VcsMarkdown.vue.d.ts +16 -0
- package/src/components/lists/VcsActionList.vue +43 -27
- package/src/components/lists/VcsActionList.vue.d.ts +3 -1
- package/src/components/lists/VcsList.vue +82 -151
- package/src/components/lists/VcsList.vue.d.ts +5 -8
- package/src/components/lists/VcsListItem.vue +154 -0
- package/src/components/lists/VcsListItem.vue.d.ts +21 -0
- package/src/components/lists/VcsTreeviewLeaf.vue +1 -1
- package/src/components/modelHelper.d.ts +11 -0
- package/src/components/modelHelper.js +42 -2
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +14 -6
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +3 -3
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +474 -585
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +193 -22
- package/src/manager/window/windowManager.d.ts +4 -4
- package/src/manager/window/windowManager.js +2 -2
- package/src/navigation/MapNavigation.vue +6 -3
- package/src/navigation/OrientationToolsButton.vue +39 -26
- package/src/navigation/OrientationToolsButton.vue.d.ts +5 -1
- package/src/navigation/TiltSlider.vue +83 -88
- package/src/navigation/TiltSlider.vue.d.ts +10 -7
- package/src/navigation/VcsCompass.vue +17 -11
- package/src/navigation/VcsCompass.vue.d.ts +2 -0
- package/src/styles/_typography.scss +1 -0
- package/src/vcsUiApp.d.ts +11 -17
- package/src/vcsUiApp.js +10 -3
- package/src/vuePlugins/i18n.js +7 -0
- package/src/vuePlugins/vuetify.js +4 -0
- package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +0 -3273
- package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +0 -73
- package/dist/assets/index-ca7EmZ3d.js +0 -1
- package/dist/assets/ui.715986.css +0 -1
- package/src/components/vector-properties/composables.d.ts +0 -33
- package/src/components/vector-properties/composables.js +0 -100
- /package/dist/assets/{ol.8b2e3a.js → ol.86e93c.js} +0 -0
- /package/dist/assets/{vue.0f2c53.js → vue.a3cd64.js} +0 -0
- /package/dist/assets/{vuetify.28d881.css → vuetify.4d18fe.css} +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
4
|
-
* Version 1.
|
4
|
+
* Version 1.119.1
|
5
5
|
*
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
7
7
|
*
|
@@ -25,19 +25,19 @@
|
|
25
25
|
|
26
26
|
import {
|
27
27
|
FeatureDetection_default
|
28
|
-
} from "./chunk-
|
28
|
+
} from "./chunk-FYYT5EVH.js";
|
29
29
|
import {
|
30
30
|
Math_default
|
31
|
-
} from "./chunk-
|
31
|
+
} from "./chunk-BPY4HDAK.js";
|
32
32
|
import {
|
33
33
|
defaultValue_default
|
34
|
-
} from "./chunk-
|
34
|
+
} from "./chunk-6DH5PLFD.js";
|
35
35
|
import {
|
36
36
|
Check_default
|
37
|
-
} from "./chunk-
|
37
|
+
} from "./chunk-VD6G7UPU.js";
|
38
38
|
import {
|
39
39
|
defined_default
|
40
|
-
} from "./chunk-
|
40
|
+
} from "./chunk-F7IEM66T.js";
|
41
41
|
|
42
42
|
// packages/engine/Source/Core/Color.js
|
43
43
|
function hue2rgb(m1, m2, h) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
4
|
-
* Version 1.
|
4
|
+
* Version 1.119.1
|
5
5
|
*
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
7
7
|
*
|
@@ -27,20 +27,20 @@ import {
|
|
27
27
|
Cartesian3_default,
|
28
28
|
Cartographic_default,
|
29
29
|
Ellipsoid_default
|
30
|
-
} from "./chunk-
|
30
|
+
} from "./chunk-FYYT5EVH.js";
|
31
31
|
import {
|
32
32
|
Math_default
|
33
|
-
} from "./chunk-
|
33
|
+
} from "./chunk-BPY4HDAK.js";
|
34
34
|
import {
|
35
35
|
defaultValue_default
|
36
|
-
} from "./chunk-
|
36
|
+
} from "./chunk-6DH5PLFD.js";
|
37
37
|
import {
|
38
38
|
Check_default,
|
39
39
|
DeveloperError_default
|
40
|
-
} from "./chunk-
|
40
|
+
} from "./chunk-VD6G7UPU.js";
|
41
41
|
import {
|
42
42
|
defined_default
|
43
|
-
} from "./chunk-
|
43
|
+
} from "./chunk-F7IEM66T.js";
|
44
44
|
|
45
45
|
// packages/engine/Source/Core/EllipsoidRhumbLine.js
|
46
46
|
function calculateM(ellipticity, major, latitude) {
|
@@ -201,10 +201,14 @@ function interpolateUsingSurfaceDistance(start, heading, distance, major, ellipt
|
|
201
201
|
const deltaM = distance * Math.cos(heading);
|
202
202
|
const M2 = M1 + deltaM;
|
203
203
|
latitude = calculateInverseM(M2, ellipticity, major);
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
204
|
+
if (Math.abs(heading) < Math_default.EPSILON10) {
|
205
|
+
longitude = Math_default.negativePiToPi(start.longitude);
|
206
|
+
} else {
|
207
|
+
const sigma1 = calculateSigma(ellipticity, start.latitude);
|
208
|
+
const sigma2 = calculateSigma(ellipticity, latitude);
|
209
|
+
deltaLongitude = Math.tan(heading) * (sigma2 - sigma1);
|
210
|
+
longitude = Math_default.negativePiToPi(start.longitude + deltaLongitude);
|
211
|
+
}
|
208
212
|
} else {
|
209
213
|
latitude = start.latitude;
|
210
214
|
let localRad;
|
@@ -230,7 +234,7 @@ function interpolateUsingSurfaceDistance(start, heading, distance, major, ellipt
|
|
230
234
|
return new Cartographic_default(longitude, latitude, 0);
|
231
235
|
}
|
232
236
|
function EllipsoidRhumbLine(start, end, ellipsoid) {
|
233
|
-
const e = defaultValue_default(ellipsoid, Ellipsoid_default.
|
237
|
+
const e = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
234
238
|
this._ellipsoid = e;
|
235
239
|
this._start = new Cartographic_default();
|
236
240
|
this._end = new Cartographic_default();
|
@@ -306,7 +310,7 @@ EllipsoidRhumbLine.fromStartHeadingDistance = function(start, heading, distance,
|
|
306
310
|
Check_default.defined("heading", heading);
|
307
311
|
Check_default.defined("distance", distance);
|
308
312
|
Check_default.typeOf.number.greaterThan("distance", distance, 0);
|
309
|
-
const e = defaultValue_default(ellipsoid, Ellipsoid_default.
|
313
|
+
const e = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
310
314
|
const major = e.maximumRadius;
|
311
315
|
const minor = e.minimumRadius;
|
312
316
|
const majorSquared = major * major;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
4
|
-
* Version 1.
|
4
|
+
* Version 1.119.1
|
5
5
|
*
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
7
7
|
*
|
@@ -25,40 +25,38 @@
|
|
25
25
|
|
26
26
|
import {
|
27
27
|
EllipsoidRhumbLine_default
|
28
|
-
} from "./chunk-
|
28
|
+
} from "./chunk-KNMGSIIN.js";
|
29
29
|
import {
|
30
30
|
GeometryAttribute_default,
|
31
31
|
Geometry_default,
|
32
32
|
PrimitiveType_default
|
33
|
-
} from "./chunk-
|
34
|
-
import {
|
35
|
-
Cartesian2_default
|
36
|
-
} from "./chunk-DUHWWBQQ.js";
|
33
|
+
} from "./chunk-LMTN7R7M.js";
|
37
34
|
import {
|
38
35
|
ComponentDatatype_default
|
39
|
-
} from "./chunk-
|
36
|
+
} from "./chunk-4OX4RYLB.js";
|
40
37
|
import {
|
38
|
+
Cartesian2_default,
|
41
39
|
Cartesian3_default,
|
42
40
|
Cartographic_default,
|
43
41
|
Ellipsoid_default
|
44
|
-
} from "./chunk-
|
42
|
+
} from "./chunk-FYYT5EVH.js";
|
45
43
|
import {
|
46
44
|
Math_default
|
47
|
-
} from "./chunk-
|
45
|
+
} from "./chunk-BPY4HDAK.js";
|
48
46
|
import {
|
49
47
|
WebGLConstants_default
|
50
|
-
} from "./chunk-
|
48
|
+
} from "./chunk-YFVI4SQI.js";
|
51
49
|
import {
|
52
50
|
defaultValue_default
|
53
|
-
} from "./chunk-
|
51
|
+
} from "./chunk-6DH5PLFD.js";
|
54
52
|
import {
|
55
53
|
Check_default
|
56
|
-
} from "./chunk-
|
54
|
+
} from "./chunk-VD6G7UPU.js";
|
57
55
|
import {
|
58
56
|
__commonJS,
|
59
57
|
__toESM,
|
60
58
|
defined_default
|
61
|
-
} from "./chunk-
|
59
|
+
} from "./chunk-F7IEM66T.js";
|
62
60
|
|
63
61
|
// node_modules/earcut/src/earcut.js
|
64
62
|
var require_earcut = __commonJS({
|
@@ -69,25 +67,19 @@ var require_earcut = __commonJS({
|
|
69
67
|
function earcut2(data, holeIndices, dim) {
|
70
68
|
dim = dim || 2;
|
71
69
|
var hasHoles = holeIndices && holeIndices.length, outerLen = hasHoles ? holeIndices[0] * dim : data.length, outerNode = linkedList(data, 0, outerLen, dim, true), triangles = [];
|
72
|
-
if (!outerNode || outerNode.next === outerNode.prev)
|
73
|
-
return triangles;
|
70
|
+
if (!outerNode || outerNode.next === outerNode.prev) return triangles;
|
74
71
|
var minX, minY, maxX, maxY, x, y, invSize;
|
75
|
-
if (hasHoles)
|
76
|
-
outerNode = eliminateHoles(data, holeIndices, outerNode, dim);
|
72
|
+
if (hasHoles) outerNode = eliminateHoles(data, holeIndices, outerNode, dim);
|
77
73
|
if (data.length > 80 * dim) {
|
78
74
|
minX = maxX = data[0];
|
79
75
|
minY = maxY = data[1];
|
80
76
|
for (var i = dim; i < outerLen; i += dim) {
|
81
77
|
x = data[i];
|
82
78
|
y = data[i + 1];
|
83
|
-
if (x < minX)
|
84
|
-
|
85
|
-
if (
|
86
|
-
|
87
|
-
if (x > maxX)
|
88
|
-
maxX = x;
|
89
|
-
if (y > maxY)
|
90
|
-
maxY = y;
|
79
|
+
if (x < minX) minX = x;
|
80
|
+
if (y < minY) minY = y;
|
81
|
+
if (x > maxX) maxX = x;
|
82
|
+
if (y > maxY) maxY = y;
|
91
83
|
}
|
92
84
|
invSize = Math.max(maxX - minX, maxY - minY);
|
93
85
|
invSize = invSize !== 0 ? 32767 / invSize : 0;
|
@@ -98,11 +90,9 @@ var require_earcut = __commonJS({
|
|
98
90
|
function linkedList(data, start, end, dim, clockwise) {
|
99
91
|
var i, last;
|
100
92
|
if (clockwise === signedArea(data, start, end, dim) > 0) {
|
101
|
-
for (i = start; i < end; i += dim)
|
102
|
-
last = insertNode(i, data[i], data[i + 1], last);
|
93
|
+
for (i = start; i < end; i += dim) last = insertNode(i, data[i], data[i + 1], last);
|
103
94
|
} else {
|
104
|
-
for (i = end - dim; i >= start; i -= dim)
|
105
|
-
last = insertNode(i, data[i], data[i + 1], last);
|
95
|
+
for (i = end - dim; i >= start; i -= dim) last = insertNode(i, data[i], data[i + 1], last);
|
106
96
|
}
|
107
97
|
if (last && equals(last, last.next)) {
|
108
98
|
removeNode(last);
|
@@ -111,18 +101,15 @@ var require_earcut = __commonJS({
|
|
111
101
|
return last;
|
112
102
|
}
|
113
103
|
function filterPoints(start, end) {
|
114
|
-
if (!start)
|
115
|
-
|
116
|
-
if (!end)
|
117
|
-
end = start;
|
104
|
+
if (!start) return start;
|
105
|
+
if (!end) end = start;
|
118
106
|
var p = start, again;
|
119
107
|
do {
|
120
108
|
again = false;
|
121
109
|
if (!p.steiner && (equals(p, p.next) || area(p.prev, p, p.next) === 0)) {
|
122
110
|
removeNode(p);
|
123
111
|
p = end = p.prev;
|
124
|
-
if (p === p.next)
|
125
|
-
break;
|
112
|
+
if (p === p.next) break;
|
126
113
|
again = true;
|
127
114
|
} else {
|
128
115
|
p = p.next;
|
@@ -131,10 +118,8 @@ var require_earcut = __commonJS({
|
|
131
118
|
return end;
|
132
119
|
}
|
133
120
|
function earcutLinked(ear, triangles, dim, minX, minY, invSize, pass) {
|
134
|
-
if (!ear)
|
135
|
-
|
136
|
-
if (!pass && invSize)
|
137
|
-
indexCurve(ear, minX, minY, invSize);
|
121
|
+
if (!ear) return;
|
122
|
+
if (!pass && invSize) indexCurve(ear, minX, minY, invSize);
|
138
123
|
var stop = ear, prev, next;
|
139
124
|
while (ear.prev !== ear.next) {
|
140
125
|
prev = ear.prev;
|
@@ -164,42 +149,35 @@ var require_earcut = __commonJS({
|
|
164
149
|
}
|
165
150
|
function isEar(ear) {
|
166
151
|
var a = ear.prev, b = ear, c = ear.next;
|
167
|
-
if (area(a, b, c) >= 0)
|
168
|
-
return false;
|
152
|
+
if (area(a, b, c) >= 0) return false;
|
169
153
|
var ax = a.x, bx = b.x, cx = c.x, ay = a.y, by = b.y, cy = c.y;
|
170
154
|
var x0 = ax < bx ? ax < cx ? ax : cx : bx < cx ? bx : cx, y0 = ay < by ? ay < cy ? ay : cy : by < cy ? by : cy, x1 = ax > bx ? ax > cx ? ax : cx : bx > cx ? bx : cx, y1 = ay > by ? ay > cy ? ay : cy : by > cy ? by : cy;
|
171
155
|
var p = c.next;
|
172
156
|
while (p !== a) {
|
173
|
-
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0)
|
174
|
-
return false;
|
157
|
+
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;
|
175
158
|
p = p.next;
|
176
159
|
}
|
177
160
|
return true;
|
178
161
|
}
|
179
162
|
function isEarHashed(ear, minX, minY, invSize) {
|
180
163
|
var a = ear.prev, b = ear, c = ear.next;
|
181
|
-
if (area(a, b, c) >= 0)
|
182
|
-
return false;
|
164
|
+
if (area(a, b, c) >= 0) return false;
|
183
165
|
var ax = a.x, bx = b.x, cx = c.x, ay = a.y, by = b.y, cy = c.y;
|
184
166
|
var x0 = ax < bx ? ax < cx ? ax : cx : bx < cx ? bx : cx, y0 = ay < by ? ay < cy ? ay : cy : by < cy ? by : cy, x1 = ax > bx ? ax > cx ? ax : cx : bx > cx ? bx : cx, y1 = ay > by ? ay > cy ? ay : cy : by > cy ? by : cy;
|
185
167
|
var minZ = zOrder(x0, y0, minX, minY, invSize), maxZ = zOrder(x1, y1, minX, minY, invSize);
|
186
168
|
var p = ear.prevZ, n = ear.nextZ;
|
187
169
|
while (p && p.z >= minZ && n && n.z <= maxZ) {
|
188
|
-
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && p !== a && p !== c && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0)
|
189
|
-
return false;
|
170
|
+
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && p !== a && p !== c && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;
|
190
171
|
p = p.prevZ;
|
191
|
-
if (n.x >= x0 && n.x <= x1 && n.y >= y0 && n.y <= y1 && n !== a && n !== c && pointInTriangle(ax, ay, bx, by, cx, cy, n.x, n.y) && area(n.prev, n, n.next) >= 0)
|
192
|
-
return false;
|
172
|
+
if (n.x >= x0 && n.x <= x1 && n.y >= y0 && n.y <= y1 && n !== a && n !== c && pointInTriangle(ax, ay, bx, by, cx, cy, n.x, n.y) && area(n.prev, n, n.next) >= 0) return false;
|
193
173
|
n = n.nextZ;
|
194
174
|
}
|
195
175
|
while (p && p.z >= minZ) {
|
196
|
-
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && p !== a && p !== c && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0)
|
197
|
-
return false;
|
176
|
+
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && p !== a && p !== c && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;
|
198
177
|
p = p.prevZ;
|
199
178
|
}
|
200
179
|
while (n && n.z <= maxZ) {
|
201
|
-
if (n.x >= x0 && n.x <= x1 && n.y >= y0 && n.y <= y1 && n !== a && n !== c && pointInTriangle(ax, ay, bx, by, cx, cy, n.x, n.y) && area(n.prev, n, n.next) >= 0)
|
202
|
-
return false;
|
180
|
+
if (n.x >= x0 && n.x <= x1 && n.y >= y0 && n.y <= y1 && n !== a && n !== c && pointInTriangle(ax, ay, bx, by, cx, cy, n.x, n.y) && area(n.prev, n, n.next) >= 0) return false;
|
203
181
|
n = n.nextZ;
|
204
182
|
}
|
205
183
|
return true;
|
@@ -244,8 +222,7 @@ var require_earcut = __commonJS({
|
|
244
222
|
start = holeIndices[i] * dim;
|
245
223
|
end = i < len - 1 ? holeIndices[i + 1] * dim : data.length;
|
246
224
|
list = linkedList(data, start, end, dim, false);
|
247
|
-
if (list === list.next)
|
248
|
-
list.steiner = true;
|
225
|
+
if (list === list.next) list.steiner = true;
|
249
226
|
queue.push(getLeftmost(list));
|
250
227
|
}
|
251
228
|
queue.sort(compareX);
|
@@ -274,14 +251,12 @@ var require_earcut = __commonJS({
|
|
274
251
|
if (x <= hx && x > qx) {
|
275
252
|
qx = x;
|
276
253
|
m = p.x < p.next.x ? p : p.next;
|
277
|
-
if (x === hx)
|
278
|
-
return m;
|
254
|
+
if (x === hx) return m;
|
279
255
|
}
|
280
256
|
}
|
281
257
|
p = p.next;
|
282
258
|
} while (p !== outerNode);
|
283
|
-
if (!m)
|
284
|
-
return null;
|
259
|
+
if (!m) return null;
|
285
260
|
var stop = m, mx = m.x, my = m.y, tanMin = Infinity, tan;
|
286
261
|
p = m;
|
287
262
|
do {
|
@@ -302,8 +277,7 @@ var require_earcut = __commonJS({
|
|
302
277
|
function indexCurve(start, minX, minY, invSize) {
|
303
278
|
var p = start;
|
304
279
|
do {
|
305
|
-
if (p.z === 0)
|
306
|
-
p.z = zOrder(p.x, p.y, minX, minY, invSize);
|
280
|
+
if (p.z === 0) p.z = zOrder(p.x, p.y, minX, minY, invSize);
|
307
281
|
p.prevZ = p.prev;
|
308
282
|
p.nextZ = p.next;
|
309
283
|
p = p.next;
|
@@ -326,8 +300,7 @@ var require_earcut = __commonJS({
|
|
326
300
|
for (i = 0; i < inSize; i++) {
|
327
301
|
pSize++;
|
328
302
|
q = q.nextZ;
|
329
|
-
if (!q)
|
330
|
-
break;
|
303
|
+
if (!q) break;
|
331
304
|
}
|
332
305
|
qSize = inSize;
|
333
306
|
while (pSize > 0 || qSize > 0 && q) {
|
@@ -340,10 +313,8 @@ var require_earcut = __commonJS({
|
|
340
313
|
q = q.nextZ;
|
341
314
|
qSize--;
|
342
315
|
}
|
343
|
-
if (tail)
|
344
|
-
|
345
|
-
else
|
346
|
-
list = e;
|
316
|
+
if (tail) tail.nextZ = e;
|
317
|
+
else list = e;
|
347
318
|
e.prevZ = tail;
|
348
319
|
tail = e;
|
349
320
|
}
|
@@ -370,8 +341,7 @@ var require_earcut = __commonJS({
|
|
370
341
|
function getLeftmost(start) {
|
371
342
|
var p = start, leftmost = start;
|
372
343
|
do {
|
373
|
-
if (p.x < leftmost.x || p.x === leftmost.x && p.y < leftmost.y)
|
374
|
-
leftmost = p;
|
344
|
+
if (p.x < leftmost.x || p.x === leftmost.x && p.y < leftmost.y) leftmost = p;
|
375
345
|
p = p.next;
|
376
346
|
} while (p !== start);
|
377
347
|
return leftmost;
|
@@ -396,16 +366,11 @@ var require_earcut = __commonJS({
|
|
396
366
|
var o2 = sign(area(p1, q1, q2));
|
397
367
|
var o3 = sign(area(p2, q2, p1));
|
398
368
|
var o4 = sign(area(p2, q2, q1));
|
399
|
-
if (o1 !== o2 && o3 !== o4)
|
400
|
-
|
401
|
-
if (
|
402
|
-
|
403
|
-
if (
|
404
|
-
return true;
|
405
|
-
if (o3 === 0 && onSegment(p2, p1, q2))
|
406
|
-
return true;
|
407
|
-
if (o4 === 0 && onSegment(p2, q1, q2))
|
408
|
-
return true;
|
369
|
+
if (o1 !== o2 && o3 !== o4) return true;
|
370
|
+
if (o1 === 0 && onSegment(p1, p2, q1)) return true;
|
371
|
+
if (o2 === 0 && onSegment(p1, q2, q1)) return true;
|
372
|
+
if (o3 === 0 && onSegment(p2, p1, q2)) return true;
|
373
|
+
if (o4 === 0 && onSegment(p2, q1, q2)) return true;
|
409
374
|
return false;
|
410
375
|
}
|
411
376
|
function onSegment(p, q, r) {
|
@@ -417,8 +382,7 @@ var require_earcut = __commonJS({
|
|
417
382
|
function intersectsPolygon(a, b) {
|
418
383
|
var p = a;
|
419
384
|
do {
|
420
|
-
if (p.i !== a.i && p.next.i !== a.i && p.i !== b.i && p.next.i !== b.i && intersects(p, p.next, a, b))
|
421
|
-
return true;
|
385
|
+
if (p.i !== a.i && p.next.i !== a.i && p.i !== b.i && p.next.i !== b.i && intersects(p, p.next, a, b)) return true;
|
422
386
|
p = p.next;
|
423
387
|
} while (p !== a);
|
424
388
|
return false;
|
@@ -463,10 +427,8 @@ var require_earcut = __commonJS({
|
|
463
427
|
function removeNode(p) {
|
464
428
|
p.next.prev = p.prev;
|
465
429
|
p.prev.next = p.next;
|
466
|
-
if (p.prevZ)
|
467
|
-
|
468
|
-
if (p.nextZ)
|
469
|
-
p.nextZ.prevZ = p.prevZ;
|
430
|
+
if (p.prevZ) p.prevZ.nextZ = p.nextZ;
|
431
|
+
if (p.nextZ) p.nextZ.prevZ = p.prevZ;
|
470
432
|
}
|
471
433
|
function Node(i, x, y) {
|
472
434
|
this.i = i;
|
@@ -513,8 +475,7 @@ var require_earcut = __commonJS({
|
|
513
475
|
var dim = data[0][0].length, result = { vertices: [], holes: [], dimensions: dim }, holeIndex = 0;
|
514
476
|
for (var i = 0; i < data.length; i++) {
|
515
477
|
for (var j = 0; j < data[i].length; j++) {
|
516
|
-
for (var d = 0; d < dim; d++)
|
517
|
-
result.vertices.push(data[i][j][d]);
|
478
|
+
for (var d = 0; d < dim; d++) result.vertices.push(data[i][j][d]);
|
518
479
|
}
|
519
480
|
if (i > 0) {
|
520
481
|
holeIndex += data[i - 1].length;
|
@@ -977,7 +938,7 @@ PolygonPipeline.computeRhumbLineSubdivision = function(ellipsoid, positions, ind
|
|
977
938
|
return new Geometry_default(geometryOptions);
|
978
939
|
};
|
979
940
|
PolygonPipeline.scaleToGeodeticHeight = function(positions, height, ellipsoid, scaleToSurface) {
|
980
|
-
ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.
|
941
|
+
ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
981
942
|
let n = scaleToGeodeticHeightN;
|
982
943
|
let p = scaleToGeodeticHeightP;
|
983
944
|
height = defaultValue_default(height, 0);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
4
|
-
* Version 1.
|
4
|
+
* Version 1.119.1
|
5
5
|
*
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
7
7
|
*
|
@@ -24,33 +24,31 @@
|
|
24
24
|
*/
|
25
25
|
|
26
26
|
import {
|
27
|
+
Matrix2_default,
|
28
|
+
Matrix4_default,
|
27
29
|
Quaternion_default,
|
30
|
+
Rectangle_default,
|
28
31
|
Transforms_default
|
29
|
-
} from "./chunk-
|
32
|
+
} from "./chunk-X67EJ6X6.js";
|
30
33
|
import {
|
31
34
|
Cartesian2_default,
|
32
|
-
Matrix2_default,
|
33
|
-
Matrix4_default,
|
34
|
-
Rectangle_default
|
35
|
-
} from "./chunk-DUHWWBQQ.js";
|
36
|
-
import {
|
37
35
|
Cartesian3_default,
|
38
36
|
Cartographic_default,
|
39
37
|
Matrix3_default
|
40
|
-
} from "./chunk-
|
38
|
+
} from "./chunk-FYYT5EVH.js";
|
41
39
|
import {
|
42
40
|
WebGLConstants_default
|
43
|
-
} from "./chunk-
|
41
|
+
} from "./chunk-YFVI4SQI.js";
|
44
42
|
import {
|
45
43
|
defaultValue_default
|
46
|
-
} from "./chunk-
|
44
|
+
} from "./chunk-6DH5PLFD.js";
|
47
45
|
import {
|
48
46
|
Check_default,
|
49
47
|
DeveloperError_default
|
50
|
-
} from "./chunk-
|
48
|
+
} from "./chunk-VD6G7UPU.js";
|
51
49
|
import {
|
52
50
|
defined_default
|
53
|
-
} from "./chunk-
|
51
|
+
} from "./chunk-F7IEM66T.js";
|
54
52
|
|
55
53
|
// packages/engine/Source/Core/GeometryType.js
|
56
54
|
var GeometryType = {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
4
|
-
* Version 1.
|
4
|
+
* Version 1.119.1
|
5
5
|
*
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
7
7
|
*
|
@@ -25,43 +25,43 @@
|
|
25
25
|
|
26
26
|
import {
|
27
27
|
EllipseGeometryLibrary_default
|
28
|
-
} from "./chunk-
|
28
|
+
} from "./chunk-S4VTLNAJ.js";
|
29
29
|
import {
|
30
30
|
GeometryOffsetAttribute_default
|
31
|
-
} from "./chunk-
|
31
|
+
} from "./chunk-5OUTANXX.js";
|
32
32
|
import {
|
33
33
|
IndexDatatype_default
|
34
|
-
} from "./chunk-
|
34
|
+
} from "./chunk-TLGODPEV.js";
|
35
35
|
import {
|
36
36
|
GeometryAttributes_default
|
37
|
-
} from "./chunk-
|
37
|
+
} from "./chunk-SJC5PRDX.js";
|
38
38
|
import {
|
39
39
|
GeometryAttribute_default,
|
40
40
|
Geometry_default,
|
41
41
|
PrimitiveType_default
|
42
|
-
} from "./chunk-
|
42
|
+
} from "./chunk-LMTN7R7M.js";
|
43
43
|
import {
|
44
44
|
BoundingSphere_default
|
45
|
-
} from "./chunk-
|
45
|
+
} from "./chunk-A5C2A5O5.js";
|
46
46
|
import {
|
47
47
|
ComponentDatatype_default
|
48
|
-
} from "./chunk-
|
48
|
+
} from "./chunk-4OX4RYLB.js";
|
49
49
|
import {
|
50
50
|
Cartesian3_default,
|
51
51
|
Ellipsoid_default
|
52
|
-
} from "./chunk-
|
52
|
+
} from "./chunk-FYYT5EVH.js";
|
53
53
|
import {
|
54
54
|
Math_default
|
55
|
-
} from "./chunk-
|
55
|
+
} from "./chunk-BPY4HDAK.js";
|
56
56
|
import {
|
57
57
|
defaultValue_default
|
58
|
-
} from "./chunk-
|
58
|
+
} from "./chunk-6DH5PLFD.js";
|
59
59
|
import {
|
60
60
|
DeveloperError_default
|
61
|
-
} from "./chunk-
|
61
|
+
} from "./chunk-VD6G7UPU.js";
|
62
62
|
import {
|
63
63
|
defined_default
|
64
|
-
} from "./chunk-
|
64
|
+
} from "./chunk-F7IEM66T.js";
|
65
65
|
|
66
66
|
// packages/engine/Source/Core/EllipseOutlineGeometry.js
|
67
67
|
var scratchCartesian1 = new Cartesian3_default();
|
@@ -213,7 +213,7 @@ function computeExtrudedEllipse(options) {
|
|
213
213
|
function EllipseOutlineGeometry(options) {
|
214
214
|
options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
|
215
215
|
const center = options.center;
|
216
|
-
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.
|
216
|
+
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.default);
|
217
217
|
const semiMajorAxis = options.semiMajorAxis;
|
218
218
|
const semiMinorAxis = options.semiMinorAxis;
|
219
219
|
const granularity = defaultValue_default(
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
4
|
-
* Version 1.
|
4
|
+
* Version 1.119.1
|
5
5
|
*
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
7
7
|
*
|
@@ -27,19 +27,19 @@ import {
|
|
27
27
|
Cartesian3_default,
|
28
28
|
Cartographic_default,
|
29
29
|
Ellipsoid_default
|
30
|
-
} from "./chunk-
|
30
|
+
} from "./chunk-FYYT5EVH.js";
|
31
31
|
import {
|
32
32
|
Math_default
|
33
|
-
} from "./chunk-
|
33
|
+
} from "./chunk-BPY4HDAK.js";
|
34
34
|
import {
|
35
35
|
defaultValue_default
|
36
|
-
} from "./chunk-
|
36
|
+
} from "./chunk-6DH5PLFD.js";
|
37
37
|
import {
|
38
38
|
Check_default
|
39
|
-
} from "./chunk-
|
39
|
+
} from "./chunk-VD6G7UPU.js";
|
40
40
|
import {
|
41
41
|
defined_default
|
42
|
-
} from "./chunk-
|
42
|
+
} from "./chunk-F7IEM66T.js";
|
43
43
|
|
44
44
|
// packages/engine/Source/Core/EllipsoidGeodesic.js
|
45
45
|
function setConstants(ellipsoidGeodesic) {
|
@@ -204,7 +204,7 @@ function computeProperties(ellipsoidGeodesic, start, end, ellipsoid) {
|
|
204
204
|
setConstants(ellipsoidGeodesic);
|
205
205
|
}
|
206
206
|
function EllipsoidGeodesic(start, end, ellipsoid) {
|
207
|
-
const e = defaultValue_default(ellipsoid, Ellipsoid_default.
|
207
|
+
const e = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
208
208
|
this._ellipsoid = e;
|
209
209
|
this._start = new Cartographic_default();
|
210
210
|
this._end = new Cartographic_default();
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
4
|
-
* Version 1.
|
4
|
+
* Version 1.119.1
|
5
5
|
*
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
7
7
|
*
|
@@ -25,25 +25,25 @@
|
|
25
25
|
|
26
26
|
import {
|
27
27
|
Interval_default
|
28
|
-
} from "./chunk-
|
28
|
+
} from "./chunk-A5C2A5O5.js";
|
29
29
|
import {
|
30
30
|
Cartesian3_default,
|
31
31
|
Cartographic_default,
|
32
32
|
Matrix3_default
|
33
|
-
} from "./chunk-
|
33
|
+
} from "./chunk-FYYT5EVH.js";
|
34
34
|
import {
|
35
35
|
Math_default
|
36
|
-
} from "./chunk-
|
36
|
+
} from "./chunk-BPY4HDAK.js";
|
37
37
|
import {
|
38
38
|
defaultValue_default
|
39
|
-
} from "./chunk-
|
39
|
+
} from "./chunk-6DH5PLFD.js";
|
40
40
|
import {
|
41
41
|
Check_default,
|
42
42
|
DeveloperError_default
|
43
|
-
} from "./chunk-
|
43
|
+
} from "./chunk-VD6G7UPU.js";
|
44
44
|
import {
|
45
45
|
defined_default
|
46
|
-
} from "./chunk-
|
46
|
+
} from "./chunk-F7IEM66T.js";
|
47
47
|
|
48
48
|
// packages/engine/Source/Core/QuadraticRealPolynomial.js
|
49
49
|
var QuadraticRealPolynomial = {};
|
@@ -859,7 +859,7 @@ function addWithCancellationCheck2(left, right, tolerance) {
|
|
859
859
|
}
|
860
860
|
return difference;
|
861
861
|
}
|
862
|
-
function
|
862
|
+
IntersectionTests.quadraticVectorExpression = function(A, b, c, x, w) {
|
863
863
|
const xSquared = x * x;
|
864
864
|
const wSquared = w * w;
|
865
865
|
const l2 = (A[Matrix3_default.COLUMN1ROW1] - A[Matrix3_default.COLUMN2ROW2]) * wSquared;
|
@@ -955,7 +955,7 @@ function quadraticVectorExpression(A, b, c, x, w) {
|
|
955
955
|
}
|
956
956
|
}
|
957
957
|
return solutions;
|
958
|
-
}
|
958
|
+
};
|
959
959
|
var firstAxisScratch = new Cartesian3_default();
|
960
960
|
var secondAxisScratch = new Cartesian3_default();
|
961
961
|
var thirdAxisScratch = new Cartesian3_default();
|
@@ -1035,7 +1035,7 @@ IntersectionTests.grazingAltitudeLocation = function(ray, ellipsoid) {
|
|
1035
1035
|
aScratch
|
1036
1036
|
);
|
1037
1037
|
const b = Matrix3_default.multiplyByVector(temp, position, bCart);
|
1038
|
-
const solutions = quadraticVectorExpression(
|
1038
|
+
const solutions = IntersectionTests.quadraticVectorExpression(
|
1039
1039
|
A,
|
1040
1040
|
Cartesian3_default.negate(b, firstAxisScratch),
|
1041
1041
|
0,
|