@pggis/pg-sdk 3.2.9 → 3.2.11
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 +14767 -13
- package/dist/pggis.min.css +1 -1
- package/dist/pggis.min.js +14789 -35
- 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-RH4N2ONY.js → chunk-23UFSGND.js} +7 -7
- package/dist/resources/Workers/{chunk-HPP4JLNH.js → chunk-2A75IWRS.js} +7 -7
- package/dist/resources/Workers/{chunk-5IRLXUTA.js → chunk-2FRVPMCS.js} +10 -10
- package/dist/resources/Workers/{chunk-ZQRZBHYI.js → chunk-2FWRMUTY.js} +4 -4
- package/dist/resources/Workers/{chunk-Z2SIPUKB.js → chunk-2UPKWTMJ.js} +6 -6
- package/dist/resources/Workers/{chunk-434ZTTFX.js → chunk-34FXV7D7.js} +2 -2
- package/dist/resources/Workers/{chunk-MW3CJYLX.js → chunk-3VAZEH7M.js} +2 -2
- package/dist/resources/Workers/{chunk-HUPNRBWW.js → chunk-4DO5W5XZ.js} +6 -6
- package/dist/resources/Workers/{chunk-PIXK6KHB.js → chunk-4H7PY4U5.js} +2 -2
- package/dist/resources/Workers/{chunk-BP467WX3.js → chunk-5QULIR53.js} +4 -4
- package/dist/resources/Workers/{chunk-R3HUGXBH.js → chunk-7TC63SJW.js} +8 -8
- package/dist/resources/Workers/{chunk-SQVTYRZY.js → chunk-7ZFGPDJA.js} +4 -4
- package/dist/resources/Workers/{chunk-TIXXVKUY.js → chunk-A5DWLWCY.js} +10 -10
- package/dist/resources/Workers/{chunk-CWJQGBWT.js → chunk-BBWDMCVU.js} +1 -1
- package/dist/resources/Workers/{chunk-4KP73B43.js → chunk-BG4UCVXN.js} +3 -3
- package/dist/resources/Workers/{chunk-Y4OJ4B23.js → chunk-BIKA3NRA.js} +5 -5
- package/dist/resources/Workers/{chunk-DR5XZ6K5.js → chunk-BROJAZRZ.js} +13 -13
- package/dist/resources/Workers/{chunk-FWGNCYP6.js → chunk-DDUQAJ4P.js} +7 -7
- package/dist/resources/Workers/{chunk-QRBRVGZC.js → chunk-EERJKOAF.js} +4 -4
- package/dist/resources/Workers/{chunk-52VSIKEA.js → chunk-EG6PTBY2.js} +15 -15
- package/dist/resources/Workers/{chunk-O43GWBSF.js → chunk-EHWHNOEX.js} +1 -1
- package/dist/resources/Workers/{chunk-MN34FIF5.js → chunk-F3YA3Y2Z.js} +1 -1
- package/dist/resources/Workers/{chunk-GF5TNNKP.js → chunk-F4HFJMGM.js} +6 -6
- package/dist/resources/Workers/{chunk-HOT2SNXP.js → chunk-FJKNFAKQ.js} +133 -553
- package/dist/resources/Workers/{chunk-TMPVBFJQ.js → chunk-FNIRWHJB.js} +10 -10
- package/dist/resources/Workers/{chunk-DMCSY5BU.js → chunk-FZRIVR7Y.js} +5 -5
- package/dist/resources/Workers/{chunk-Z4JUBRHP.js → chunk-G43QFN4Q.js} +6 -6
- package/dist/resources/Workers/{chunk-HPH5HSFE.js → chunk-GATZHF3K.js} +2 -2
- package/dist/resources/Workers/{chunk-CSIZ3BGT.js → chunk-GRC2ZTAF.js} +14 -14
- package/dist/resources/Workers/{chunk-NE4JNU6H.js → chunk-HU6N6EXB.js} +10 -10
- package/dist/resources/Workers/{chunk-GVL5I7TC.js → chunk-I46ZRR5W.js} +17 -17
- package/dist/resources/Workers/{chunk-5GDBZTHX.js → chunk-JURN7NPV.js} +17 -17
- package/dist/resources/Workers/{chunk-H5DUXHCV.js → chunk-KKCR2YOP.js} +11 -11
- package/dist/resources/Workers/{chunk-LX6XV4DK.js → chunk-LPR3YNP2.js} +5 -5
- package/dist/resources/Workers/{chunk-HFKSAB5K.js → chunk-M7ERACJJ.js} +13 -13
- package/dist/resources/Workers/{chunk-BUZDZBUH.js → chunk-MDWEGWPA.js} +10 -10
- package/dist/resources/Workers/{chunk-LGJUI2CE.js → chunk-OGXZVPPM.js} +9 -5
- package/dist/resources/Workers/{chunk-PZ2WJWUG.js → chunk-PGSJK77E.js} +6 -6
- package/dist/resources/Workers/{chunk-ARPTYYKS.js → chunk-PPH7OFP3.js} +5 -5
- package/dist/resources/Workers/{chunk-R4OZKBXH.js → chunk-SH5USDPI.js} +6 -6
- package/dist/resources/Workers/{chunk-SV7DDPAC.js → chunk-SOWMRMWA.js} +1 -1
- package/dist/resources/Workers/{chunk-RIDPF7PO.js → chunk-STW2DGFI.js} +2 -2
- package/dist/resources/Workers/{chunk-CDGHUKQ4.js → chunk-T3XIFPYR.js} +13 -13
- package/dist/resources/Workers/chunk-TTUZP4BO.js +501 -0
- package/dist/resources/Workers/{chunk-QTZQZY2C.js → chunk-UEXTBDBE.js} +34 -10
- package/dist/resources/Workers/{chunk-XUTVA4K5.js → chunk-VOXYEYJT.js} +11 -11
- package/dist/resources/Workers/{chunk-AXFRNOVC.js → chunk-X4356LRH.js} +12 -12
- package/dist/resources/Workers/{chunk-5HLGKKG3.js → chunk-XGI5BXZY.js} +2 -2
- package/dist/resources/Workers/{chunk-SNN7WOC2.js → chunk-Y2ME2IJV.js} +13 -13
- package/dist/resources/Workers/{chunk-LGL4P5KL.js → chunk-Y5UQJLYE.js} +6 -6
- package/dist/resources/Workers/{chunk-3PW6ZBN4.js → chunk-YJEBABKH.js} +7 -7
- package/dist/resources/Workers/{chunk-YBKFS53K.js → chunk-YWTJ2B4B.js} +1 -1
- package/dist/resources/Workers/{chunk-5SK36PU4.js → chunk-Z3TIFFGF.js} +7 -7
- package/dist/resources/Workers/{chunk-JGG36SQV.js → chunk-ZT7KWISZ.js} +4 -4
- package/dist/resources/Workers/combineGeometry.js +24 -23
- package/dist/resources/Workers/createBoxGeometry.js +18 -17
- package/dist/resources/Workers/createBoxOutlineGeometry.js +16 -15
- package/dist/resources/Workers/createCircleGeometry.js +26 -25
- package/dist/resources/Workers/createCircleOutlineGeometry.js +19 -18
- package/dist/resources/Workers/createCoplanarPolygonGeometry.js +33 -32
- package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +31 -30
- package/dist/resources/Workers/createCorridorGeometry.js +29 -29
- package/dist/resources/Workers/createCorridorOutlineGeometry.js +28 -28
- package/dist/resources/Workers/createCylinderGeometry.js +20 -19
- package/dist/resources/Workers/createCylinderOutlineGeometry.js +18 -17
- package/dist/resources/Workers/createEllipseGeometry.js +26 -25
- package/dist/resources/Workers/createEllipseOutlineGeometry.js +19 -18
- package/dist/resources/Workers/createEllipsoidGeometry.js +19 -18
- package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +18 -17
- package/dist/resources/Workers/createFrustumGeometry.js +18 -17
- package/dist/resources/Workers/createFrustumOutlineGeometry.js +18 -17
- package/dist/resources/Workers/createGeometry.js +54 -33
- package/dist/resources/Workers/createGroundPolylineGeometry.js +22 -21
- package/dist/resources/Workers/createPlaneGeometry.js +16 -15
- package/dist/resources/Workers/createPlaneOutlineGeometry.js +15 -14
- package/dist/resources/Workers/createPolygonGeometry.js +32 -166
- package/dist/resources/Workers/createPolygonOutlineGeometry.js +30 -29
- package/dist/resources/Workers/createPolylineGeometry.js +25 -24
- package/dist/resources/Workers/createPolylineVolumeGeometry.js +32 -33
- package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/dist/resources/Workers/createRectangleGeometry.js +27 -26
- package/dist/resources/Workers/createRectangleOutlineGeometry.js +20 -19
- package/dist/resources/Workers/createSimplePolylineGeometry.js +23 -22
- package/dist/resources/Workers/createSphereGeometry.js +19 -18
- package/dist/resources/Workers/createSphereOutlineGeometry.js +18 -17
- package/dist/resources/Workers/createTaskProcessorWorker.js +3 -3
- package/dist/resources/Workers/createVectorTileClampedPolylines.js +14 -14
- package/dist/resources/Workers/createVectorTileGeometries.js +24 -23
- package/dist/resources/Workers/createVectorTilePoints.js +12 -12
- package/dist/resources/Workers/createVectorTilePolygons.js +22 -21
- package/dist/resources/Workers/createVectorTilePolylines.js +14 -14
- package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -21
- package/dist/resources/Workers/createVerticesFromHeightmap.js +22 -21
- package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -18
- package/dist/resources/Workers/createWallGeometry.js +24 -23
- package/dist/resources/Workers/createWallOutlineGeometry.js +23 -22
- package/dist/resources/Workers/decodeDraco.js +11 -11
- package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/dist/resources/Workers/decodeI3S.js +601 -92
- package/dist/resources/Workers/transcodeKTX2.js +7 -7
- package/dist/resources/Workers/transferTypedArrayTest.js +1 -1
- package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +22 -21
- package/package.json +5 -10
- 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.115
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,98 +25,84 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
BoundingRectangle_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2A75IWRS.js";
|
|
29
29
|
import {
|
|
30
30
|
PolygonGeometryLibrary_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-I46ZRR5W.js";
|
|
32
32
|
import {
|
|
33
33
|
ArcType_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-EHWHNOEX.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryInstance_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BIKA3NRA.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-EG6PTBY2.js";
|
|
41
|
+
import "./chunk-Z3TIFFGF.js";
|
|
42
|
+
import "./chunk-ZT7KWISZ.js";
|
|
49
43
|
import {
|
|
50
44
|
GeometryOffsetAttribute_default
|
|
51
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-F3YA3Y2Z.js";
|
|
52
46
|
import {
|
|
53
47
|
VertexFormat_default
|
|
54
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-2FWRMUTY.js";
|
|
55
49
|
import {
|
|
56
50
|
EllipsoidTangentPlane_default
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-FNIRWHJB.js";
|
|
52
|
+
import "./chunk-G43QFN4Q.js";
|
|
59
53
|
import {
|
|
60
54
|
PolygonPipeline_default,
|
|
61
55
|
WindingOrder_default
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-MDWEGWPA.js";
|
|
57
|
+
import "./chunk-FZRIVR7Y.js";
|
|
58
|
+
import "./chunk-SH5USDPI.js";
|
|
65
59
|
import {
|
|
66
60
|
IntersectionTests_default,
|
|
67
61
|
Ray_default
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-2FRVPMCS.js";
|
|
63
|
+
import "./chunk-Y5UQJLYE.js";
|
|
70
64
|
import {
|
|
71
65
|
IndexDatatype_default
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-LPR3YNP2.js";
|
|
67
|
+
import "./chunk-4H7PY4U5.js";
|
|
74
68
|
import {
|
|
75
69
|
GeometryAttribute_default,
|
|
76
70
|
Geometry_default
|
|
77
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-7TC63SJW.js";
|
|
78
72
|
import {
|
|
79
73
|
BoundingSphere_default,
|
|
80
74
|
Quaternion_default
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
75
|
+
} from "./chunk-FJKNFAKQ.js";
|
|
76
|
+
import "./chunk-TTUZP4BO.js";
|
|
77
|
+
import "./chunk-BG4UCVXN.js";
|
|
83
78
|
import {
|
|
84
79
|
Rectangle_default
|
|
85
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-YJEBABKH.js";
|
|
86
81
|
import {
|
|
87
82
|
ComponentDatatype_default
|
|
88
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-PPH7OFP3.js";
|
|
89
84
|
import {
|
|
90
85
|
Cartesian2_default,
|
|
91
86
|
Cartesian3_default,
|
|
92
87
|
Cartographic_default,
|
|
93
88
|
Ellipsoid_default,
|
|
94
89
|
Matrix3_default
|
|
95
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-OGXZVPPM.js";
|
|
96
91
|
import {
|
|
97
92
|
Math_default
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
93
|
+
} from "./chunk-5QULIR53.js";
|
|
94
|
+
import "./chunk-SOWMRMWA.js";
|
|
95
|
+
import "./chunk-STW2DGFI.js";
|
|
101
96
|
import {
|
|
102
97
|
defaultValue_default
|
|
103
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-BBWDMCVU.js";
|
|
104
99
|
import {
|
|
105
100
|
Check_default,
|
|
106
101
|
DeveloperError_default
|
|
107
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-XGI5BXZY.js";
|
|
108
103
|
import {
|
|
109
104
|
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;
|
|
105
|
+
} from "./chunk-YWTJ2B4B.js";
|
|
120
106
|
|
|
121
107
|
// packages/engine/Source/Core/Stereographic.js
|
|
122
108
|
function Stereographic(position, tangentPlane) {
|
|
@@ -620,99 +606,6 @@ function computeAttributes(options) {
|
|
|
620
606
|
}
|
|
621
607
|
return geometry;
|
|
622
608
|
}
|
|
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
609
|
var createGeometryFromPositionsExtrudedPositions = [];
|
|
717
610
|
function createGeometryFromPositionsExtruded(ellipsoid, polygon2, textureCoordinates, granularity, hierarchy, perPositionHeight, closeTop, closeBottom, vertexFormat, arcType) {
|
|
718
611
|
const geos = {
|
|
@@ -1144,33 +1037,6 @@ PolygonGeometry.computeRectangleFromPositions = function(positions, ellipsoid, a
|
|
|
1144
1037
|
}
|
|
1145
1038
|
return result;
|
|
1146
1039
|
};
|
|
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
1040
|
var scratchPolarForPlane = new Stereographic_default();
|
|
1175
1041
|
function getTangentPlane(rectangle, positions, ellipsoid) {
|
|
1176
1042
|
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.115
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,71 +25,72 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
PolygonGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-I46ZRR5W.js";
|
|
29
29
|
import {
|
|
30
30
|
ArcType_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EHWHNOEX.js";
|
|
32
32
|
import {
|
|
33
33
|
GeometryInstance_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BIKA3NRA.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryPipeline_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-EG6PTBY2.js";
|
|
38
|
+
import "./chunk-Z3TIFFGF.js";
|
|
39
|
+
import "./chunk-ZT7KWISZ.js";
|
|
40
40
|
import {
|
|
41
41
|
GeometryOffsetAttribute_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-F3YA3Y2Z.js";
|
|
43
43
|
import {
|
|
44
44
|
EllipsoidTangentPlane_default
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-FNIRWHJB.js";
|
|
46
|
+
import "./chunk-G43QFN4Q.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-MDWEGWPA.js";
|
|
51
|
+
import "./chunk-FZRIVR7Y.js";
|
|
52
|
+
import "./chunk-SH5USDPI.js";
|
|
53
|
+
import "./chunk-2FRVPMCS.js";
|
|
54
|
+
import "./chunk-Y5UQJLYE.js";
|
|
55
55
|
import {
|
|
56
56
|
IndexDatatype_default
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-LPR3YNP2.js";
|
|
58
58
|
import {
|
|
59
59
|
GeometryAttributes_default
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-4H7PY4U5.js";
|
|
61
61
|
import {
|
|
62
62
|
GeometryAttribute_default,
|
|
63
63
|
Geometry_default,
|
|
64
64
|
PrimitiveType_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-7TC63SJW.js";
|
|
66
66
|
import {
|
|
67
67
|
BoundingSphere_default
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-FJKNFAKQ.js";
|
|
69
|
+
import "./chunk-TTUZP4BO.js";
|
|
70
|
+
import "./chunk-BG4UCVXN.js";
|
|
71
|
+
import "./chunk-YJEBABKH.js";
|
|
71
72
|
import {
|
|
72
73
|
ComponentDatatype_default
|
|
73
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-PPH7OFP3.js";
|
|
74
75
|
import {
|
|
75
76
|
Cartesian3_default,
|
|
76
77
|
Ellipsoid_default
|
|
77
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-OGXZVPPM.js";
|
|
78
79
|
import {
|
|
79
80
|
Math_default
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
81
|
+
} from "./chunk-5QULIR53.js";
|
|
82
|
+
import "./chunk-SOWMRMWA.js";
|
|
83
|
+
import "./chunk-STW2DGFI.js";
|
|
83
84
|
import {
|
|
84
85
|
defaultValue_default
|
|
85
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-BBWDMCVU.js";
|
|
86
87
|
import {
|
|
87
88
|
Check_default,
|
|
88
89
|
DeveloperError_default
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-XGI5BXZY.js";
|
|
90
91
|
import {
|
|
91
92
|
defined_default
|
|
92
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-YWTJ2B4B.js";
|
|
93
94
|
|
|
94
95
|
// packages/engine/Source/Core/PolygonOutlineGeometry.js
|
|
95
96
|
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.115
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,61 +25,62 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Color_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PGSJK77E.js";
|
|
29
29
|
import {
|
|
30
30
|
ArcType_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EHWHNOEX.js";
|
|
32
32
|
import {
|
|
33
33
|
PolylinePipeline_default
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-KKCR2YOP.js";
|
|
35
|
+
import "./chunk-F4HFJMGM.js";
|
|
36
36
|
import {
|
|
37
37
|
VertexFormat_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2FWRMUTY.js";
|
|
39
39
|
import {
|
|
40
40
|
arrayRemoveDuplicates_default
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-FZRIVR7Y.js";
|
|
42
|
+
import "./chunk-SH5USDPI.js";
|
|
43
|
+
import "./chunk-2FRVPMCS.js";
|
|
44
|
+
import "./chunk-Y5UQJLYE.js";
|
|
45
45
|
import {
|
|
46
46
|
IndexDatatype_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-LPR3YNP2.js";
|
|
48
48
|
import {
|
|
49
49
|
GeometryAttributes_default
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-4H7PY4U5.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-7TC63SJW.js";
|
|
57
57
|
import {
|
|
58
58
|
BoundingSphere_default
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-FJKNFAKQ.js";
|
|
60
|
+
import "./chunk-TTUZP4BO.js";
|
|
61
|
+
import "./chunk-BG4UCVXN.js";
|
|
62
|
+
import "./chunk-YJEBABKH.js";
|
|
62
63
|
import {
|
|
63
64
|
ComponentDatatype_default
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-PPH7OFP3.js";
|
|
65
66
|
import {
|
|
66
67
|
Cartesian3_default,
|
|
67
68
|
Ellipsoid_default
|
|
68
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-OGXZVPPM.js";
|
|
69
70
|
import {
|
|
70
71
|
Math_default
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
72
|
+
} from "./chunk-5QULIR53.js";
|
|
73
|
+
import "./chunk-SOWMRMWA.js";
|
|
74
|
+
import "./chunk-STW2DGFI.js";
|
|
74
75
|
import {
|
|
75
76
|
defaultValue_default
|
|
76
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-BBWDMCVU.js";
|
|
77
78
|
import {
|
|
78
79
|
DeveloperError_default
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-XGI5BXZY.js";
|
|
80
81
|
import {
|
|
81
82
|
defined_default
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-YWTJ2B4B.js";
|
|
83
84
|
|
|
84
85
|
// packages/engine/Source/Core/PolylineGeometry.js
|
|
85
86
|
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.115
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,74 +25,73 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
BoundingRectangle_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2A75IWRS.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryPipeline_default
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-EG6PTBY2.js";
|
|
32
|
+
import "./chunk-Z3TIFFGF.js";
|
|
33
|
+
import "./chunk-ZT7KWISZ.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-UEXTBDBE.js";
|
|
39
|
+
import "./chunk-KKCR2YOP.js";
|
|
40
|
+
import "./chunk-F4HFJMGM.js";
|
|
43
41
|
import {
|
|
44
42
|
VertexFormat_default
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-2FWRMUTY.js";
|
|
44
|
+
import "./chunk-FNIRWHJB.js";
|
|
45
|
+
import "./chunk-G43QFN4Q.js";
|
|
48
46
|
import {
|
|
49
47
|
PolygonPipeline_default,
|
|
50
48
|
WindingOrder_default
|
|
51
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-MDWEGWPA.js";
|
|
52
50
|
import {
|
|
53
51
|
arrayRemoveDuplicates_default
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-FZRIVR7Y.js";
|
|
53
|
+
import "./chunk-SH5USDPI.js";
|
|
54
|
+
import "./chunk-2FRVPMCS.js";
|
|
55
|
+
import "./chunk-Y5UQJLYE.js";
|
|
58
56
|
import {
|
|
59
57
|
IndexDatatype_default
|
|
60
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-LPR3YNP2.js";
|
|
61
59
|
import {
|
|
62
60
|
GeometryAttributes_default
|
|
63
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-4H7PY4U5.js";
|
|
64
62
|
import {
|
|
65
63
|
GeometryAttribute_default,
|
|
66
64
|
Geometry_default,
|
|
67
65
|
PrimitiveType_default
|
|
68
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-7TC63SJW.js";
|
|
69
67
|
import {
|
|
70
68
|
BoundingSphere_default
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-FJKNFAKQ.js";
|
|
70
|
+
import "./chunk-TTUZP4BO.js";
|
|
71
|
+
import "./chunk-BG4UCVXN.js";
|
|
72
|
+
import "./chunk-YJEBABKH.js";
|
|
74
73
|
import {
|
|
75
74
|
ComponentDatatype_default
|
|
76
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-PPH7OFP3.js";
|
|
77
76
|
import {
|
|
78
77
|
Cartesian2_default,
|
|
79
78
|
Cartesian3_default,
|
|
80
79
|
Ellipsoid_default
|
|
81
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-OGXZVPPM.js";
|
|
82
81
|
import {
|
|
83
82
|
Math_default
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
83
|
+
} from "./chunk-5QULIR53.js";
|
|
84
|
+
import "./chunk-SOWMRMWA.js";
|
|
85
|
+
import "./chunk-STW2DGFI.js";
|
|
87
86
|
import {
|
|
88
87
|
defaultValue_default
|
|
89
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-BBWDMCVU.js";
|
|
90
89
|
import {
|
|
91
90
|
DeveloperError_default
|
|
92
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-XGI5BXZY.js";
|
|
93
92
|
import {
|
|
94
93
|
defined_default
|
|
95
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-YWTJ2B4B.js";
|
|
96
95
|
|
|
97
96
|
// packages/engine/Source/Core/PolylineVolumeGeometry.js
|
|
98
97
|
function computeAttributes(combinedPositions, shape, boundingRectangle, vertexFormat) {
|