@pggis/pg-sdk 3.2.9 → 3.2.10
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/dist/index.cjs +9 -9
- package/dist/pggis.min.css +1 -1
- package/dist/pggis.min.js +9 -9
- package/dist/resources/Assets/approximateTerrainHeights.json +1 -1
- package/dist/resources/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/dist/resources/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/resources/Workers/{chunk-QRBRVGZC.js → chunk-2HJWSU7B.js} +4 -4
- package/dist/resources/Workers/{chunk-ZQRZBHYI.js → chunk-46UD5ABS.js} +4 -4
- package/dist/resources/Workers/{chunk-GVL5I7TC.js → chunk-4EBHOMFX.js} +17 -17
- package/dist/resources/Workers/{chunk-CDGHUKQ4.js → chunk-5HDYHG3F.js} +13 -13
- package/dist/resources/Workers/{chunk-CWJQGBWT.js → chunk-5M3U6ZMA.js} +1 -1
- package/dist/resources/Workers/{chunk-Y4OJ4B23.js → chunk-5WQ523AW.js} +5 -5
- package/dist/resources/Workers/{chunk-NE4JNU6H.js → chunk-5YLJ77FF.js} +10 -10
- package/dist/resources/Workers/{chunk-SV7DDPAC.js → chunk-6HZQPRUS.js} +1 -1
- package/dist/resources/Workers/{chunk-434ZTTFX.js → chunk-6VJVYK2V.js} +2 -2
- package/dist/resources/Workers/{chunk-LGJUI2CE.js → chunk-72SANQJV.js} +5 -5
- package/dist/resources/Workers/{chunk-QTZQZY2C.js → chunk-7XEAYGZK.js} +34 -10
- package/dist/resources/Workers/{chunk-Z4JUBRHP.js → chunk-AIPU2VSX.js} +6 -6
- package/dist/resources/Workers/{chunk-PZ2WJWUG.js → chunk-AR5DNBJ4.js} +6 -6
- package/dist/resources/Workers/{chunk-BUZDZBUH.js → chunk-BZP4T2JJ.js} +10 -10
- package/dist/resources/Workers/{chunk-Z2SIPUKB.js → chunk-DTAIXKTO.js} +6 -6
- package/dist/resources/Workers/{chunk-HOT2SNXP.js → chunk-F6SE42BK.js} +127 -90
- package/dist/resources/Workers/{chunk-TIXXVKUY.js → chunk-FP6GYBFX.js} +10 -10
- package/dist/resources/Workers/{chunk-ARPTYYKS.js → chunk-GEJTYLCO.js} +5 -5
- package/dist/resources/Workers/{chunk-XUTVA4K5.js → chunk-GV56Q4LU.js} +11 -11
- package/dist/resources/Workers/{chunk-HPP4JLNH.js → chunk-IQBYFRVW.js} +7 -7
- package/dist/resources/Workers/{chunk-O43GWBSF.js → chunk-IX2JCCNM.js} +1 -1
- package/dist/resources/Workers/{chunk-H5DUXHCV.js → chunk-JCNXK6EL.js} +11 -11
- package/dist/resources/Workers/{chunk-SQVTYRZY.js → chunk-JJ4VBOQ3.js} +4 -4
- package/dist/resources/Workers/{chunk-RIDPF7PO.js → chunk-JXDC723O.js} +2 -2
- package/dist/resources/Workers/{chunk-R3HUGXBH.js → chunk-JY5YEZFA.js} +8 -8
- package/dist/resources/Workers/{chunk-GF5TNNKP.js → chunk-L2ZN645J.js} +6 -6
- package/dist/resources/Workers/{chunk-5GDBZTHX.js → chunk-LZ7JIV3K.js} +17 -17
- package/dist/resources/Workers/{chunk-52VSIKEA.js → chunk-LZGHD6NY.js} +15 -15
- package/dist/resources/Workers/{chunk-RH4N2ONY.js → chunk-MY3VNFGQ.js} +7 -7
- package/dist/resources/Workers/{chunk-MN34FIF5.js → chunk-NKPBIX7F.js} +1 -1
- package/dist/resources/Workers/{chunk-AXFRNOVC.js → chunk-NY3K4IM3.js} +12 -12
- package/dist/resources/Workers/{chunk-MW3CJYLX.js → chunk-ODW7WYM4.js} +2 -2
- package/dist/resources/Workers/{chunk-R4OZKBXH.js → chunk-OVLG3FRS.js} +6 -6
- package/dist/resources/Workers/{chunk-TMPVBFJQ.js → chunk-PNBGBETF.js} +10 -10
- package/dist/resources/Workers/{chunk-DR5XZ6K5.js → chunk-PTQQUQC3.js} +13 -13
- package/dist/resources/Workers/{chunk-3PW6ZBN4.js → chunk-QZAD5O7I.js} +7 -7
- package/dist/resources/Workers/{chunk-5SK36PU4.js → chunk-R5X4OQT4.js} +7 -7
- package/dist/resources/Workers/{chunk-DMCSY5BU.js → chunk-RAEV7K66.js} +5 -5
- package/dist/resources/Workers/{chunk-BP467WX3.js → chunk-RV7ZYPFT.js} +4 -4
- package/dist/resources/Workers/{chunk-5HLGKKG3.js → chunk-S4MAZ3SS.js} +2 -2
- package/dist/resources/Workers/{chunk-LX6XV4DK.js → chunk-S6SKF6DT.js} +5 -5
- package/dist/resources/Workers/{chunk-HUPNRBWW.js → chunk-U2VCRRQW.js} +6 -6
- package/dist/resources/Workers/{chunk-SNN7WOC2.js → chunk-UAEW6HKG.js} +13 -13
- package/dist/resources/Workers/{chunk-HFKSAB5K.js → chunk-UDO6BFSF.js} +13 -13
- package/dist/resources/Workers/{chunk-YBKFS53K.js → chunk-UGK3FCDY.js} +1 -1
- package/dist/resources/Workers/{chunk-PIXK6KHB.js → chunk-VK3EJHWI.js} +2 -2
- package/dist/resources/Workers/{chunk-5IRLXUTA.js → chunk-VRGFV2UO.js} +7 -7
- package/dist/resources/Workers/{chunk-JGG36SQV.js → chunk-WBQCVXR3.js} +4 -4
- package/dist/resources/Workers/{chunk-4KP73B43.js → chunk-WZU2YLWG.js} +3 -3
- package/dist/resources/Workers/{chunk-LGL4P5KL.js → chunk-XWXM2O2R.js} +6 -6
- package/dist/resources/Workers/{chunk-FWGNCYP6.js → chunk-YUCVWAY6.js} +7 -7
- package/dist/resources/Workers/{chunk-CSIZ3BGT.js → chunk-ZK5JOS3D.js} +14 -14
- package/dist/resources/Workers/{chunk-HPH5HSFE.js → chunk-ZUA2UUNV.js} +2 -2
- package/dist/resources/Workers/combineGeometry.js +23 -23
- package/dist/resources/Workers/createBoxGeometry.js +17 -17
- package/dist/resources/Workers/createBoxOutlineGeometry.js +15 -15
- package/dist/resources/Workers/createCircleGeometry.js +25 -25
- package/dist/resources/Workers/createCircleOutlineGeometry.js +18 -18
- package/dist/resources/Workers/createCoplanarPolygonGeometry.js +32 -32
- package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +30 -30
- package/dist/resources/Workers/createCorridorGeometry.js +28 -29
- package/dist/resources/Workers/createCorridorOutlineGeometry.js +27 -28
- package/dist/resources/Workers/createCylinderGeometry.js +19 -19
- package/dist/resources/Workers/createCylinderOutlineGeometry.js +17 -17
- package/dist/resources/Workers/createEllipseGeometry.js +25 -25
- package/dist/resources/Workers/createEllipseOutlineGeometry.js +18 -18
- package/dist/resources/Workers/createEllipsoidGeometry.js +18 -18
- package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +17 -17
- package/dist/resources/Workers/createFrustumGeometry.js +17 -17
- package/dist/resources/Workers/createFrustumOutlineGeometry.js +17 -17
- package/dist/resources/Workers/createGeometry.js +23 -23
- package/dist/resources/Workers/createGroundPolylineGeometry.js +21 -21
- package/dist/resources/Workers/createPlaneGeometry.js +15 -15
- package/dist/resources/Workers/createPlaneOutlineGeometry.js +14 -14
- package/dist/resources/Workers/createPolygonGeometry.js +31 -166
- package/dist/resources/Workers/createPolygonOutlineGeometry.js +29 -29
- package/dist/resources/Workers/createPolylineGeometry.js +24 -24
- package/dist/resources/Workers/createPolylineVolumeGeometry.js +31 -33
- package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +26 -27
- package/dist/resources/Workers/createRectangleGeometry.js +26 -26
- package/dist/resources/Workers/createRectangleOutlineGeometry.js +19 -19
- package/dist/resources/Workers/createSimplePolylineGeometry.js +22 -22
- package/dist/resources/Workers/createSphereGeometry.js +18 -18
- package/dist/resources/Workers/createSphereOutlineGeometry.js +17 -17
- package/dist/resources/Workers/createTaskProcessorWorker.js +3 -3
- package/dist/resources/Workers/createVectorTileClampedPolylines.js +14 -14
- package/dist/resources/Workers/createVectorTileGeometries.js +23 -23
- package/dist/resources/Workers/createVectorTilePoints.js +12 -12
- package/dist/resources/Workers/createVectorTilePolygons.js +21 -21
- package/dist/resources/Workers/createVectorTilePolylines.js +14 -14
- package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +21 -21
- package/dist/resources/Workers/createVerticesFromHeightmap.js +21 -21
- package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +18 -18
- package/dist/resources/Workers/createWallGeometry.js +23 -23
- package/dist/resources/Workers/createWallOutlineGeometry.js +22 -22
- package/dist/resources/Workers/decodeDraco.js +11 -11
- package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/dist/resources/Workers/decodeI3S.js +9 -9
- package/dist/resources/Workers/transcodeKTX2.js +7 -7
- package/dist/resources/Workers/transferTypedArrayTest.js +1 -1
- package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +21 -21
- package/package.json +3 -3
- package/dist/resources/Workers/chunk-ATB2I7OS.js +0 -55
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.114
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,33 +25,33 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
GeometryAttributes_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VK3EJHWI.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryAttribute_default,
|
|
31
31
|
Geometry_default,
|
|
32
32
|
PrimitiveType_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-JY5YEZFA.js";
|
|
34
34
|
import {
|
|
35
35
|
BoundingSphere_default
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-F6SE42BK.js";
|
|
37
|
+
import "./chunk-WZU2YLWG.js";
|
|
38
|
+
import "./chunk-QZAD5O7I.js";
|
|
39
39
|
import {
|
|
40
40
|
ComponentDatatype_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-GEJTYLCO.js";
|
|
42
42
|
import {
|
|
43
43
|
Cartesian3_default
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-72SANQJV.js";
|
|
45
|
+
import "./chunk-RV7ZYPFT.js";
|
|
46
|
+
import "./chunk-6HZQPRUS.js";
|
|
47
|
+
import "./chunk-JXDC723O.js";
|
|
48
|
+
import "./chunk-5M3U6ZMA.js";
|
|
49
49
|
import {
|
|
50
50
|
Check_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-S4MAZ3SS.js";
|
|
52
52
|
import {
|
|
53
53
|
defined_default
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UGK3FCDY.js";
|
|
55
55
|
|
|
56
56
|
// packages/engine/Source/Core/PlaneOutlineGeometry.js
|
|
57
57
|
function PlaneOutlineGeometry() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.114
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,98 +25,83 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
BoundingRectangle_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IQBYFRVW.js";
|
|
29
29
|
import {
|
|
30
30
|
PolygonGeometryLibrary_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4EBHOMFX.js";
|
|
32
32
|
import {
|
|
33
33
|
ArcType_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IX2JCCNM.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryInstance_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5WQ523AW.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryPipeline_default
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import {
|
|
44
|
-
oneTimeWarning_default
|
|
45
|
-
} from "./chunk-ATB2I7OS.js";
|
|
46
|
-
import {
|
|
47
|
-
EllipsoidGeodesic_default
|
|
48
|
-
} from "./chunk-GF5TNNKP.js";
|
|
40
|
+
} from "./chunk-LZGHD6NY.js";
|
|
41
|
+
import "./chunk-R5X4OQT4.js";
|
|
42
|
+
import "./chunk-WBQCVXR3.js";
|
|
49
43
|
import {
|
|
50
44
|
GeometryOffsetAttribute_default
|
|
51
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-NKPBIX7F.js";
|
|
52
46
|
import {
|
|
53
47
|
VertexFormat_default
|
|
54
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-46UD5ABS.js";
|
|
55
49
|
import {
|
|
56
50
|
EllipsoidTangentPlane_default
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-PNBGBETF.js";
|
|
52
|
+
import "./chunk-AIPU2VSX.js";
|
|
59
53
|
import {
|
|
60
54
|
PolygonPipeline_default,
|
|
61
55
|
WindingOrder_default
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-BZP4T2JJ.js";
|
|
57
|
+
import "./chunk-RAEV7K66.js";
|
|
58
|
+
import "./chunk-OVLG3FRS.js";
|
|
65
59
|
import {
|
|
66
60
|
IntersectionTests_default,
|
|
67
61
|
Ray_default
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-VRGFV2UO.js";
|
|
63
|
+
import "./chunk-XWXM2O2R.js";
|
|
70
64
|
import {
|
|
71
65
|
IndexDatatype_default
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-S6SKF6DT.js";
|
|
67
|
+
import "./chunk-VK3EJHWI.js";
|
|
74
68
|
import {
|
|
75
69
|
GeometryAttribute_default,
|
|
76
70
|
Geometry_default
|
|
77
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-JY5YEZFA.js";
|
|
78
72
|
import {
|
|
79
73
|
BoundingSphere_default,
|
|
80
74
|
Quaternion_default
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
75
|
+
} from "./chunk-F6SE42BK.js";
|
|
76
|
+
import "./chunk-WZU2YLWG.js";
|
|
83
77
|
import {
|
|
84
78
|
Rectangle_default
|
|
85
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-QZAD5O7I.js";
|
|
86
80
|
import {
|
|
87
81
|
ComponentDatatype_default
|
|
88
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-GEJTYLCO.js";
|
|
89
83
|
import {
|
|
90
84
|
Cartesian2_default,
|
|
91
85
|
Cartesian3_default,
|
|
92
86
|
Cartographic_default,
|
|
93
87
|
Ellipsoid_default,
|
|
94
88
|
Matrix3_default
|
|
95
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-72SANQJV.js";
|
|
96
90
|
import {
|
|
97
91
|
Math_default
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-RV7ZYPFT.js";
|
|
93
|
+
import "./chunk-6HZQPRUS.js";
|
|
94
|
+
import "./chunk-JXDC723O.js";
|
|
101
95
|
import {
|
|
102
96
|
defaultValue_default
|
|
103
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-5M3U6ZMA.js";
|
|
104
98
|
import {
|
|
105
99
|
Check_default,
|
|
106
100
|
DeveloperError_default
|
|
107
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-S4MAZ3SS.js";
|
|
108
102
|
import {
|
|
109
103
|
defined_default
|
|
110
|
-
} from "./chunk-
|
|
111
|
-
|
|
112
|
-
// packages/engine/Source/Core/deprecationWarning.js
|
|
113
|
-
function deprecationWarning(identifier, message) {
|
|
114
|
-
if (!defined_default(identifier) || !defined_default(message)) {
|
|
115
|
-
throw new DeveloperError_default("identifier and message are required.");
|
|
116
|
-
}
|
|
117
|
-
oneTimeWarning_default(identifier, message);
|
|
118
|
-
}
|
|
119
|
-
var deprecationWarning_default = deprecationWarning;
|
|
104
|
+
} from "./chunk-UGK3FCDY.js";
|
|
120
105
|
|
|
121
106
|
// packages/engine/Source/Core/Stereographic.js
|
|
122
107
|
function Stereographic(position, tangentPlane) {
|
|
@@ -620,99 +605,6 @@ function computeAttributes(options) {
|
|
|
620
605
|
}
|
|
621
606
|
return geometry;
|
|
622
607
|
}
|
|
623
|
-
var startCartographicScratch = new Cartographic_default();
|
|
624
|
-
var endCartographicScratch = new Cartographic_default();
|
|
625
|
-
var idlCross = {
|
|
626
|
-
westOverIDL: 0,
|
|
627
|
-
eastOverIDL: 0
|
|
628
|
-
};
|
|
629
|
-
var ellipsoidGeodesic = new EllipsoidGeodesic_default();
|
|
630
|
-
function computeRectangle(positions, ellipsoid, arcType, granularity, result) {
|
|
631
|
-
result = defaultValue_default(result, new Rectangle_default());
|
|
632
|
-
if (!defined_default(positions) || positions.length < 3) {
|
|
633
|
-
result.west = 0;
|
|
634
|
-
result.north = 0;
|
|
635
|
-
result.south = 0;
|
|
636
|
-
result.east = 0;
|
|
637
|
-
return result;
|
|
638
|
-
}
|
|
639
|
-
if (arcType === ArcType_default.RHUMB) {
|
|
640
|
-
return Rectangle_default.fromCartesianArray(positions, ellipsoid, result);
|
|
641
|
-
}
|
|
642
|
-
if (!ellipsoidGeodesic.ellipsoid.equals(ellipsoid)) {
|
|
643
|
-
ellipsoidGeodesic = new EllipsoidGeodesic_default(void 0, void 0, ellipsoid);
|
|
644
|
-
}
|
|
645
|
-
result.west = Number.POSITIVE_INFINITY;
|
|
646
|
-
result.east = Number.NEGATIVE_INFINITY;
|
|
647
|
-
result.south = Number.POSITIVE_INFINITY;
|
|
648
|
-
result.north = Number.NEGATIVE_INFINITY;
|
|
649
|
-
idlCross.westOverIDL = Number.POSITIVE_INFINITY;
|
|
650
|
-
idlCross.eastOverIDL = Number.NEGATIVE_INFINITY;
|
|
651
|
-
const inverseChordLength = 1 / Math_default.chordLength(granularity, ellipsoid.maximumRadius);
|
|
652
|
-
const positionsLength = positions.length;
|
|
653
|
-
let endCartographic = ellipsoid.cartesianToCartographic(
|
|
654
|
-
positions[0],
|
|
655
|
-
endCartographicScratch
|
|
656
|
-
);
|
|
657
|
-
let startCartographic = startCartographicScratch;
|
|
658
|
-
let swap;
|
|
659
|
-
for (let i = 1; i < positionsLength; i++) {
|
|
660
|
-
swap = startCartographic;
|
|
661
|
-
startCartographic = endCartographic;
|
|
662
|
-
endCartographic = ellipsoid.cartesianToCartographic(positions[i], swap);
|
|
663
|
-
ellipsoidGeodesic.setEndPoints(startCartographic, endCartographic);
|
|
664
|
-
interpolateAndGrowRectangle(
|
|
665
|
-
ellipsoidGeodesic,
|
|
666
|
-
inverseChordLength,
|
|
667
|
-
result,
|
|
668
|
-
idlCross
|
|
669
|
-
);
|
|
670
|
-
}
|
|
671
|
-
swap = startCartographic;
|
|
672
|
-
startCartographic = endCartographic;
|
|
673
|
-
endCartographic = ellipsoid.cartesianToCartographic(positions[0], swap);
|
|
674
|
-
ellipsoidGeodesic.setEndPoints(startCartographic, endCartographic);
|
|
675
|
-
interpolateAndGrowRectangle(
|
|
676
|
-
ellipsoidGeodesic,
|
|
677
|
-
inverseChordLength,
|
|
678
|
-
result,
|
|
679
|
-
idlCross
|
|
680
|
-
);
|
|
681
|
-
if (result.east - result.west > idlCross.eastOverIDL - idlCross.westOverIDL) {
|
|
682
|
-
result.west = idlCross.westOverIDL;
|
|
683
|
-
result.east = idlCross.eastOverIDL;
|
|
684
|
-
if (result.east > Math_default.PI) {
|
|
685
|
-
result.east = result.east - Math_default.TWO_PI;
|
|
686
|
-
}
|
|
687
|
-
if (result.west > Math_default.PI) {
|
|
688
|
-
result.west = result.west - Math_default.TWO_PI;
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
return result;
|
|
692
|
-
}
|
|
693
|
-
var interpolatedCartographicScratch = new Cartographic_default();
|
|
694
|
-
function interpolateAndGrowRectangle(ellipsoidGeodesic2, inverseChordLength, result, idlCross2) {
|
|
695
|
-
const segmentLength = ellipsoidGeodesic2.surfaceDistance;
|
|
696
|
-
const numPoints = Math.ceil(segmentLength * inverseChordLength);
|
|
697
|
-
const subsegmentDistance = numPoints > 0 ? segmentLength / (numPoints - 1) : Number.POSITIVE_INFINITY;
|
|
698
|
-
let interpolationDistance = 0;
|
|
699
|
-
for (let i = 0; i < numPoints; i++) {
|
|
700
|
-
const interpolatedCartographic = ellipsoidGeodesic2.interpolateUsingSurfaceDistance(
|
|
701
|
-
interpolationDistance,
|
|
702
|
-
interpolatedCartographicScratch
|
|
703
|
-
);
|
|
704
|
-
interpolationDistance += subsegmentDistance;
|
|
705
|
-
const longitude = interpolatedCartographic.longitude;
|
|
706
|
-
const latitude = interpolatedCartographic.latitude;
|
|
707
|
-
result.west = Math.min(result.west, longitude);
|
|
708
|
-
result.east = Math.max(result.east, longitude);
|
|
709
|
-
result.south = Math.min(result.south, latitude);
|
|
710
|
-
result.north = Math.max(result.north, latitude);
|
|
711
|
-
const lonAdjusted = longitude >= 0 ? longitude : longitude + Math_default.TWO_PI;
|
|
712
|
-
idlCross2.westOverIDL = Math.min(idlCross2.westOverIDL, lonAdjusted);
|
|
713
|
-
idlCross2.eastOverIDL = Math.max(idlCross2.eastOverIDL, lonAdjusted);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
608
|
var createGeometryFromPositionsExtrudedPositions = [];
|
|
717
609
|
function createGeometryFromPositionsExtruded(ellipsoid, polygon2, textureCoordinates, granularity, hierarchy, perPositionHeight, closeTop, closeBottom, vertexFormat, arcType) {
|
|
718
610
|
const geos = {
|
|
@@ -1144,33 +1036,6 @@ PolygonGeometry.computeRectangleFromPositions = function(positions, ellipsoid, a
|
|
|
1144
1036
|
}
|
|
1145
1037
|
return result;
|
|
1146
1038
|
};
|
|
1147
|
-
PolygonGeometry.computeRectangle = function(options, result) {
|
|
1148
|
-
Check_default.typeOf.object("options", options);
|
|
1149
|
-
Check_default.typeOf.object("options.polygonHierarchy", options.polygonHierarchy);
|
|
1150
|
-
deprecationWarning_default(
|
|
1151
|
-
"PolygonGeometry.computeRectangle",
|
|
1152
|
-
"PolygonGeometry.computeRectangle was deprecated in CesiumJS 1.110. It will be removed in CesiumJS 1.112. Use PolygonGeometry.computeRectangleFromPositions instead."
|
|
1153
|
-
);
|
|
1154
|
-
const granularity = defaultValue_default(
|
|
1155
|
-
options.granularity,
|
|
1156
|
-
Math_default.RADIANS_PER_DEGREE
|
|
1157
|
-
);
|
|
1158
|
-
const arcType = defaultValue_default(options.arcType, ArcType_default.GEODESIC);
|
|
1159
|
-
if (arcType !== ArcType_default.GEODESIC && arcType !== ArcType_default.RHUMB) {
|
|
1160
|
-
throw new DeveloperError_default(
|
|
1161
|
-
"Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB."
|
|
1162
|
-
);
|
|
1163
|
-
}
|
|
1164
|
-
const polygonHierarchy = options.polygonHierarchy;
|
|
1165
|
-
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.WGS84);
|
|
1166
|
-
return computeRectangle(
|
|
1167
|
-
polygonHierarchy.positions,
|
|
1168
|
-
ellipsoid,
|
|
1169
|
-
arcType,
|
|
1170
|
-
granularity,
|
|
1171
|
-
result
|
|
1172
|
-
);
|
|
1173
|
-
};
|
|
1174
1039
|
var scratchPolarForPlane = new Stereographic_default();
|
|
1175
1040
|
function getTangentPlane(rectangle, positions, ellipsoid) {
|
|
1176
1041
|
if (rectangle.height >= Math_default.PI || rectangle.width >= Math_default.PI) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.114
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,71 +25,71 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
PolygonGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4EBHOMFX.js";
|
|
29
29
|
import {
|
|
30
30
|
ArcType_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IX2JCCNM.js";
|
|
32
32
|
import {
|
|
33
33
|
GeometryInstance_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5WQ523AW.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryPipeline_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-LZGHD6NY.js";
|
|
38
|
+
import "./chunk-R5X4OQT4.js";
|
|
39
|
+
import "./chunk-WBQCVXR3.js";
|
|
40
40
|
import {
|
|
41
41
|
GeometryOffsetAttribute_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NKPBIX7F.js";
|
|
43
43
|
import {
|
|
44
44
|
EllipsoidTangentPlane_default
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-PNBGBETF.js";
|
|
46
|
+
import "./chunk-AIPU2VSX.js";
|
|
47
47
|
import {
|
|
48
48
|
PolygonPipeline_default,
|
|
49
49
|
WindingOrder_default
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-BZP4T2JJ.js";
|
|
51
|
+
import "./chunk-RAEV7K66.js";
|
|
52
|
+
import "./chunk-OVLG3FRS.js";
|
|
53
|
+
import "./chunk-VRGFV2UO.js";
|
|
54
|
+
import "./chunk-XWXM2O2R.js";
|
|
55
55
|
import {
|
|
56
56
|
IndexDatatype_default
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-S6SKF6DT.js";
|
|
58
58
|
import {
|
|
59
59
|
GeometryAttributes_default
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-VK3EJHWI.js";
|
|
61
61
|
import {
|
|
62
62
|
GeometryAttribute_default,
|
|
63
63
|
Geometry_default,
|
|
64
64
|
PrimitiveType_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-JY5YEZFA.js";
|
|
66
66
|
import {
|
|
67
67
|
BoundingSphere_default
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-F6SE42BK.js";
|
|
69
|
+
import "./chunk-WZU2YLWG.js";
|
|
70
|
+
import "./chunk-QZAD5O7I.js";
|
|
71
71
|
import {
|
|
72
72
|
ComponentDatatype_default
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-GEJTYLCO.js";
|
|
74
74
|
import {
|
|
75
75
|
Cartesian3_default,
|
|
76
76
|
Ellipsoid_default
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-72SANQJV.js";
|
|
78
78
|
import {
|
|
79
79
|
Math_default
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
80
|
+
} from "./chunk-RV7ZYPFT.js";
|
|
81
|
+
import "./chunk-6HZQPRUS.js";
|
|
82
|
+
import "./chunk-JXDC723O.js";
|
|
83
83
|
import {
|
|
84
84
|
defaultValue_default
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-5M3U6ZMA.js";
|
|
86
86
|
import {
|
|
87
87
|
Check_default,
|
|
88
88
|
DeveloperError_default
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-S4MAZ3SS.js";
|
|
90
90
|
import {
|
|
91
91
|
defined_default
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-UGK3FCDY.js";
|
|
93
93
|
|
|
94
94
|
// packages/engine/Source/Core/PolygonOutlineGeometry.js
|
|
95
95
|
var createGeometryFromPositionsPositions = [];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.114
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,61 +25,61 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Color_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AR5DNBJ4.js";
|
|
29
29
|
import {
|
|
30
30
|
ArcType_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IX2JCCNM.js";
|
|
32
32
|
import {
|
|
33
33
|
PolylinePipeline_default
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-JCNXK6EL.js";
|
|
35
|
+
import "./chunk-L2ZN645J.js";
|
|
36
36
|
import {
|
|
37
37
|
VertexFormat_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-46UD5ABS.js";
|
|
39
39
|
import {
|
|
40
40
|
arrayRemoveDuplicates_default
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-RAEV7K66.js";
|
|
42
|
+
import "./chunk-OVLG3FRS.js";
|
|
43
|
+
import "./chunk-VRGFV2UO.js";
|
|
44
|
+
import "./chunk-XWXM2O2R.js";
|
|
45
45
|
import {
|
|
46
46
|
IndexDatatype_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-S6SKF6DT.js";
|
|
48
48
|
import {
|
|
49
49
|
GeometryAttributes_default
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-VK3EJHWI.js";
|
|
51
51
|
import {
|
|
52
52
|
GeometryAttribute_default,
|
|
53
53
|
GeometryType_default,
|
|
54
54
|
Geometry_default,
|
|
55
55
|
PrimitiveType_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-JY5YEZFA.js";
|
|
57
57
|
import {
|
|
58
58
|
BoundingSphere_default
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-F6SE42BK.js";
|
|
60
|
+
import "./chunk-WZU2YLWG.js";
|
|
61
|
+
import "./chunk-QZAD5O7I.js";
|
|
62
62
|
import {
|
|
63
63
|
ComponentDatatype_default
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-GEJTYLCO.js";
|
|
65
65
|
import {
|
|
66
66
|
Cartesian3_default,
|
|
67
67
|
Ellipsoid_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-72SANQJV.js";
|
|
69
69
|
import {
|
|
70
70
|
Math_default
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-RV7ZYPFT.js";
|
|
72
|
+
import "./chunk-6HZQPRUS.js";
|
|
73
|
+
import "./chunk-JXDC723O.js";
|
|
74
74
|
import {
|
|
75
75
|
defaultValue_default
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-5M3U6ZMA.js";
|
|
77
77
|
import {
|
|
78
78
|
DeveloperError_default
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-S4MAZ3SS.js";
|
|
80
80
|
import {
|
|
81
81
|
defined_default
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-UGK3FCDY.js";
|
|
83
83
|
|
|
84
84
|
// packages/engine/Source/Core/PolylineGeometry.js
|
|
85
85
|
var scratchInterpolateColorsArray = [];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.114
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,74 +25,72 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
BoundingRectangle_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IQBYFRVW.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryPipeline_default
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-LZGHD6NY.js";
|
|
32
|
+
import "./chunk-R5X4OQT4.js";
|
|
33
|
+
import "./chunk-WBQCVXR3.js";
|
|
34
34
|
import {
|
|
35
35
|
CornerType_default,
|
|
36
|
-
PolylineVolumeGeometryLibrary_default
|
|
37
|
-
} from "./chunk-QTZQZY2C.js";
|
|
38
|
-
import {
|
|
36
|
+
PolylineVolumeGeometryLibrary_default,
|
|
39
37
|
oneTimeWarning_default
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-7XEAYGZK.js";
|
|
39
|
+
import "./chunk-JCNXK6EL.js";
|
|
40
|
+
import "./chunk-L2ZN645J.js";
|
|
43
41
|
import {
|
|
44
42
|
VertexFormat_default
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-46UD5ABS.js";
|
|
44
|
+
import "./chunk-PNBGBETF.js";
|
|
45
|
+
import "./chunk-AIPU2VSX.js";
|
|
48
46
|
import {
|
|
49
47
|
PolygonPipeline_default,
|
|
50
48
|
WindingOrder_default
|
|
51
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-BZP4T2JJ.js";
|
|
52
50
|
import {
|
|
53
51
|
arrayRemoveDuplicates_default
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-RAEV7K66.js";
|
|
53
|
+
import "./chunk-OVLG3FRS.js";
|
|
54
|
+
import "./chunk-VRGFV2UO.js";
|
|
55
|
+
import "./chunk-XWXM2O2R.js";
|
|
58
56
|
import {
|
|
59
57
|
IndexDatatype_default
|
|
60
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-S6SKF6DT.js";
|
|
61
59
|
import {
|
|
62
60
|
GeometryAttributes_default
|
|
63
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-VK3EJHWI.js";
|
|
64
62
|
import {
|
|
65
63
|
GeometryAttribute_default,
|
|
66
64
|
Geometry_default,
|
|
67
65
|
PrimitiveType_default
|
|
68
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JY5YEZFA.js";
|
|
69
67
|
import {
|
|
70
68
|
BoundingSphere_default
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-F6SE42BK.js";
|
|
70
|
+
import "./chunk-WZU2YLWG.js";
|
|
71
|
+
import "./chunk-QZAD5O7I.js";
|
|
74
72
|
import {
|
|
75
73
|
ComponentDatatype_default
|
|
76
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-GEJTYLCO.js";
|
|
77
75
|
import {
|
|
78
76
|
Cartesian2_default,
|
|
79
77
|
Cartesian3_default,
|
|
80
78
|
Ellipsoid_default
|
|
81
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-72SANQJV.js";
|
|
82
80
|
import {
|
|
83
81
|
Math_default
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
82
|
+
} from "./chunk-RV7ZYPFT.js";
|
|
83
|
+
import "./chunk-6HZQPRUS.js";
|
|
84
|
+
import "./chunk-JXDC723O.js";
|
|
87
85
|
import {
|
|
88
86
|
defaultValue_default
|
|
89
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-5M3U6ZMA.js";
|
|
90
88
|
import {
|
|
91
89
|
DeveloperError_default
|
|
92
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-S4MAZ3SS.js";
|
|
93
91
|
import {
|
|
94
92
|
defined_default
|
|
95
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-UGK3FCDY.js";
|
|
96
94
|
|
|
97
95
|
// packages/engine/Source/Core/PolylineVolumeGeometry.js
|
|
98
96
|
function computeAttributes(combinedPositions, shape, boundingRectangle, vertexFormat) {
|