@cesium/engine 9.1.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Build/ThirdParty/Workers/pako_deflate.min.js +108 -210
- package/Build/ThirdParty/Workers/pako_inflate.min.js +466 -568
- package/Build/ThirdParty/Workers/z-worker-pako.js +54 -104
- package/Build/Workers/{chunk-TMMOULW3.js → chunk-2J3JKXCP.js} +5 -5
- package/Build/Workers/{chunk-ZDP32RQI.js → chunk-3WUV74WM.js} +95 -155
- package/Build/Workers/{chunk-FOZQIHZK.js → chunk-4BAE4PWO.js} +6 -6
- package/Build/Workers/{chunk-CYAJYEKW.js → chunk-4MSUJ4I7.js} +8 -8
- package/Build/Workers/{chunk-KPY4F4BW.js → chunk-4YSNMHZ4.js} +6 -6
- package/Build/Workers/{chunk-66E3H2KU.js → chunk-5S7OLEPK.js} +12 -12
- package/Build/Workers/{chunk-4AJGCQFX.js → chunk-7XGC6YB2.js} +14 -14
- package/Build/Workers/{chunk-BDUJXBVF.js → chunk-AA4GZKOT.js} +3 -5
- package/Build/Workers/{chunk-7LPEGKOF.js → chunk-AD5HBJ2F.js} +11 -8
- package/Build/Workers/{chunk-XHLDDE65.js → chunk-AVI4IUWC.js} +11 -11
- package/Build/Workers/{chunk-MWYZ64MH.js → chunk-BCL4PHHT.js} +10 -10
- package/Build/Workers/{chunk-PWF3YJJ5.js → chunk-BDFNKFOE.js} +13 -13
- package/Build/Workers/{chunk-7VZNXIKG.js → chunk-BJF5LOWE.js} +7 -7
- package/Build/Workers/{chunk-3S2MFY4B.js → chunk-C2CGMAIU.js} +13 -13
- package/Build/Workers/{chunk-UAJEGIWA.js → chunk-COYFZ5VA.js} +6 -6
- package/Build/Workers/{chunk-ZWPIM77Q.js → chunk-DGS5QNIO.js} +13 -13
- package/Build/Workers/{chunk-V7JB576Q.js → chunk-DKVHRNFY.js} +5 -5
- package/Build/Workers/{chunk-NI2R52QD.js → chunk-DOXCPOG4.js} +11 -9
- package/Build/Workers/{chunk-XWML5Y7N.js → chunk-FXIHSF7O.js} +9 -9
- package/Build/Workers/{chunk-LW7WGHEU.js → chunk-G3YR53LY.js} +13 -13
- package/Build/Workers/{chunk-34DGOKCO.js → chunk-GR3CDLCP.js} +7 -7
- package/Build/Workers/{chunk-AOIKO5Y7.js → chunk-GRAT5GE7.js} +5 -5
- package/Build/Workers/{chunk-AOFMPKUB.js → chunk-I2RC4XVN.js} +4 -4
- package/Build/Workers/{chunk-PK7TEP3J.js → chunk-JYAHOGGL.js} +15 -15
- package/Build/Workers/{chunk-4KIUON73.js → chunk-KUN2ZA5X.js} +4 -4
- package/Build/Workers/{chunk-POLFRINT.js → chunk-L6RTJ3RE.js} +14 -14
- package/Build/Workers/{chunk-LVJCR7DH.js → chunk-LCLJJ2MZ.js} +18 -18
- package/Build/Workers/{chunk-3RZK5NNV.js → chunk-LEABCTLP.js} +4 -4
- package/Build/Workers/{chunk-QKF7XXEQ.js → chunk-MDHQR3ZS.js} +10 -8
- package/Build/Workers/{chunk-4PHPQRSH.js → chunk-MSKXMXJI.js} +5 -6
- package/Build/Workers/{chunk-GIFJ77E4.js → chunk-NTXTUNEF.js} +4 -4
- package/Build/Workers/{chunk-I5TDPPC4.js → chunk-O3JCMSS3.js} +17 -17
- package/Build/Workers/{chunk-PEABJLCK.js → chunk-OOK53QUQ.js} +1 -1
- package/Build/Workers/{chunk-PS6AEMBR.js → chunk-OORVMGDU.js} +7 -7
- package/Build/Workers/{chunk-JI2445T5.js → chunk-PCP4YQST.js} +11 -11
- package/Build/Workers/{chunk-C5CE4OG6.js → chunk-PYHLO636.js} +42 -13
- package/Build/Workers/{chunk-S4XDCPKD.js → chunk-Q55ECN3Y.js} +1 -1
- package/Build/Workers/{chunk-WWP3I7R5.js → chunk-QD4KM3GO.js} +5 -5
- package/Build/Workers/{chunk-YLZTCEBJ.js → chunk-QMLTCCYG.js} +1 -1
- package/Build/Workers/{chunk-IBXGK4WV.js → chunk-QX5XS4LC.js} +2 -2
- package/Build/Workers/{chunk-RL73GOEF.js → chunk-R6B7UCQB.js} +2 -2
- package/Build/Workers/{chunk-RR7EOKGZ.js → chunk-RJYML24O.js} +48 -85
- package/Build/Workers/{chunk-U4IMCOF5.js → chunk-S3PI2KFM.js} +2 -2
- package/Build/Workers/{chunk-6HCAQOVK.js → chunk-STBBMQGG.js} +6 -6
- package/Build/Workers/{chunk-CE6GTZ4I.js → chunk-SYCPRK3D.js} +10 -10
- package/Build/Workers/{chunk-WFICTTOE.js → chunk-T77JILCU.js} +2 -2
- package/Build/Workers/{chunk-ZC4AGBZK.js → chunk-TO2PVHKI.js} +2 -2
- package/Build/Workers/{chunk-UCPPWV64.js → chunk-VE7BFUIX.js} +1 -1
- package/Build/Workers/{chunk-2CSEEWHN.js → chunk-VFBNELXB.js} +7 -7
- package/Build/Workers/{chunk-A6NCZSL3.js → chunk-VO3ACQB2.js} +19 -19
- package/Build/Workers/{chunk-WEGCQ5DY.js → chunk-X23FRWHJ.js} +6 -6
- package/Build/Workers/{chunk-G7CJQKKD.js → chunk-XD445VDH.js} +7 -7
- package/Build/Workers/combineGeometry.js +22 -22
- package/Build/Workers/createBoxGeometry.js +16 -16
- package/Build/Workers/createBoxOutlineGeometry.js +14 -14
- package/Build/Workers/createCircleGeometry.js +29 -25
- package/Build/Workers/createCircleOutlineGeometry.js +17 -17
- package/Build/Workers/createCoplanarPolygonGeometry.js +32 -32
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
- package/Build/Workers/createCorridorGeometry.js +29 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +27 -27
- package/Build/Workers/createCylinderGeometry.js +18 -18
- package/Build/Workers/createCylinderOutlineGeometry.js +16 -16
- package/Build/Workers/createEllipseGeometry.js +24 -24
- package/Build/Workers/createEllipseOutlineGeometry.js +17 -17
- package/Build/Workers/createEllipsoidGeometry.js +17 -17
- package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -16
- package/Build/Workers/createFrustumGeometry.js +16 -16
- package/Build/Workers/createFrustumOutlineGeometry.js +16 -16
- package/Build/Workers/createGeometry.js +22 -22
- package/Build/Workers/createGroundPolylineGeometry.js +24 -24
- package/Build/Workers/createPlaneGeometry.js +14 -14
- package/Build/Workers/createPlaneOutlineGeometry.js +13 -13
- package/Build/Workers/createPolygonGeometry.js +32 -32
- package/Build/Workers/createPolygonOutlineGeometry.js +29 -29
- package/Build/Workers/createPolylineGeometry.js +24 -24
- package/Build/Workers/createPolylineVolumeGeometry.js +30 -30
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +26 -26
- package/Build/Workers/createRectangleGeometry.js +27 -27
- package/Build/Workers/createRectangleOutlineGeometry.js +19 -19
- package/Build/Workers/createSimplePolylineGeometry.js +22 -22
- package/Build/Workers/createSphereGeometry.js +17 -17
- package/Build/Workers/createSphereOutlineGeometry.js +16 -16
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +13 -13
- package/Build/Workers/createVectorTileGeometries.js +22 -22
- package/Build/Workers/createVectorTilePoints.js +12 -12
- package/Build/Workers/createVectorTilePolygons.js +20 -20
- package/Build/Workers/createVectorTilePolylines.js +13 -13
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
- package/Build/Workers/createVerticesFromHeightmap.js +21 -21
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
- package/Build/Workers/createWallGeometry.js +23 -23
- package/Build/Workers/createWallOutlineGeometry.js +22 -22
- package/Build/Workers/decodeDraco.js +11 -11
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +12 -19
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/transcodeKTX2.js +43 -79
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
- package/Source/Core/ApproximateTerrainHeights.js +4 -4
- package/Source/Core/ArcGISTiledElevationTerrainProvider.js +12 -8
- package/Source/Core/BoundingRectangle.js +2 -0
- package/Source/Core/BoundingSphere.js +4 -2
- package/Source/Core/Cartesian3.js +13 -10
- package/Source/Core/Cartographic.js +11 -8
- package/Source/Core/CesiumTerrainProvider.js +3 -2
- package/Source/Core/CircleGeometry.js +6 -2
- package/Source/Core/CircleOutlineGeometry.js +1 -1
- package/Source/Core/CoplanarPolygonGeometry.js +3 -3
- package/Source/Core/CorridorGeometry.js +4 -4
- package/Source/Core/CorridorOutlineGeometry.js +2 -2
- package/Source/Core/Credit.js +3 -2
- package/Source/Core/CustomHeightmapTerrainProvider.js +17 -3
- package/Source/Core/EllipseGeometry.js +4 -4
- package/Source/Core/EllipseOutlineGeometry.js +2 -2
- package/Source/Core/Ellipsoid.js +34 -0
- package/Source/Core/EllipsoidGeodesic.js +2 -2
- package/Source/Core/EllipsoidRhumbLine.js +4 -4
- package/Source/Core/EllipsoidTangentPlane.js +3 -3
- package/Source/Core/EllipsoidTerrainProvider.js +3 -3
- package/Source/Core/GeographicProjection.js +4 -3
- package/Source/Core/GeographicTilingScheme.js +3 -3
- package/Source/Core/GeometryPipeline.js +2 -2
- package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +1 -1
- package/Source/Core/GoogleMaps.js +1 -1
- package/Source/Core/GroundPolylineGeometry.js +1 -1
- package/Source/Core/HeightmapTessellator.js +2 -2
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/Math.js +0 -5
- package/Source/Core/Occluder.js +3 -3
- package/Source/Core/OrientedBoundingBox.js +2 -2
- package/Source/Core/PolygonGeometry.js +4 -4
- package/Source/Core/PolygonGeometryLibrary.js +1 -1
- package/Source/Core/PolygonOutlineGeometry.js +3 -3
- package/Source/Core/PolygonPipeline.js +2 -2
- package/Source/Core/PolylineGeometry.js +2 -2
- package/Source/Core/PolylinePipeline.js +6 -6
- package/Source/Core/PolylineVolumeGeometry.js +2 -2
- package/Source/Core/PolylineVolumeOutlineGeometry.js +2 -2
- package/Source/Core/Rectangle.js +6 -6
- package/Source/Core/RectangleGeometry.js +6 -6
- package/Source/Core/RectangleGeometryLibrary.js +3 -0
- package/Source/Core/RectangleOutlineGeometry.js +2 -2
- package/Source/Core/Simon1994PlanetaryPositions.js +3 -2
- package/Source/Core/SimplePolylineGeometry.js +2 -2
- package/Source/Core/Stereographic.js +2 -2
- package/Source/Core/TaskProcessor.js +19 -3
- package/Source/Core/Transforms.js +17 -17
- package/Source/Core/VRTheWorldTerrainProvider.js +2 -2
- package/Source/Core/WallGeometry.js +3 -3
- package/Source/Core/WallOutlineGeometry.js +3 -3
- package/Source/Core/WebMercatorTilingScheme.js +3 -3
- package/Source/Core/createWorldTerrainAsync.js +2 -0
- package/Source/Core/sampleTerrain.js +3 -3
- package/Source/DataSources/BoxGeometryUpdater.js +2 -2
- package/Source/DataSources/CylinderGeometryUpdater.js +2 -2
- package/Source/DataSources/CzmlDataSource.js +8 -8
- package/Source/DataSources/EllipsoidGeometryUpdater.js +3 -3
- package/Source/DataSources/EntityCluster.js +1 -1
- package/Source/DataSources/EntityView.js +2 -2
- package/Source/DataSources/KmlDataSource.js +4 -4
- package/Source/DataSources/ModelVisualizer.js +1 -2
- package/Source/DataSources/PolygonGeometryUpdater.js +1 -1
- package/Source/DataSources/PolylineGeometryUpdater.js +3 -2
- package/Source/DataSources/RectangleGeometryUpdater.js +1 -1
- package/Source/DataSources/ScaledPositionProperty.js +2 -2
- package/Source/DataSources/TerrainOffsetProperty.js +3 -7
- package/Source/DataSources/VelocityOrientationProperty.js +2 -2
- package/Source/DataSources/exportKml.js +2 -2
- package/Source/Renderer/UniformState.js +1 -1
- package/Source/Scene/ArcGisMapServerImageryProvider.js +2 -2
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +8 -6
- package/Source/Scene/BingMapsImageryProvider.js +1 -1
- package/Source/Scene/Camera.js +16 -10
- package/Source/Scene/Cesium3DTileset.js +1 -1
- package/Source/Scene/ClippingPolygon.js +2 -2
- package/Source/Scene/ClippingPolygonCollection.js +1 -1
- package/Source/Scene/CreditDisplay.js +94 -104
- package/Source/Scene/Globe.js +16 -13
- package/Source/Scene/GltfLoader.js +458 -435
- package/Source/Scene/GltfLoaderUtil.js +5 -16
- package/Source/Scene/GltfPipeline/forEachTextureInMaterial.js +23 -7
- package/Source/Scene/GltfStructuralMetadataLoader.js +11 -9
- package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +1 -1
- package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +1 -1
- package/Source/Scene/GridImageryProvider.js +2 -2
- package/Source/Scene/ImageryLayerCollection.js +2 -2
- package/Source/Scene/Label.js +1 -1
- package/Source/Scene/MapboxImageryProvider.js +1 -1
- package/Source/Scene/MapboxStyleImageryProvider.js +1 -1
- package/Source/Scene/MetadataSemantic.js +4 -4
- package/Source/Scene/Model/AlphaPipelineStage.js +1 -1
- package/Source/Scene/Model/GeometryPipelineStage.js +15 -43
- package/Source/Scene/Model/ImageBasedLightingPipelineStage.js +7 -0
- package/Source/Scene/Model/InstancingPipelineStage.js +3 -3
- package/Source/Scene/Model/LightingPipelineStage.js +2 -4
- package/Source/Scene/Model/MaterialPipelineStage.js +395 -29
- package/Source/Scene/Model/Model.js +15 -7
- package/Source/Scene/Model/ModelSceneGraph.js +1 -1
- package/Source/Scene/Model/ModelUtility.js +3 -0
- package/Source/Scene/Model/SceneMode2DPipelineStage.js +3 -3
- package/Source/Scene/Model/VerticalExaggerationPipelineStage.js +4 -6
- package/Source/Scene/Model/pickModel.js +2 -2
- package/Source/Scene/ModelComponents.js +178 -1
- package/Source/Scene/PickDepth.js +23 -15
- package/Source/Scene/Picking.js +4 -13
- package/Source/Scene/PointPrimitive.js +5 -2
- package/Source/Scene/ResourceCache.js +41 -50
- package/Source/Scene/ResourceCacheKey.js +41 -53
- package/Source/Scene/Scene.js +39 -31
- package/Source/Scene/SceneTransforms.js +78 -20
- package/Source/Scene/SceneTransitioner.js +2 -2
- package/Source/Scene/ScreenSpaceCameraController.js +29 -19
- package/Source/Scene/SkyBox.js +26 -0
- package/Source/Scene/Sun.js +1 -1
- package/Source/Shaders/Builtin/CzmBuiltins.js +4 -10
- package/Source/Shaders/Builtin/Functions/ellipsoidTextureCoordinates.glsl +10 -0
- package/Source/Shaders/Builtin/Functions/{ellipsoidWgs84TextureCoordinates.js → ellipsoidTextureCoordinates.js} +3 -3
- package/Source/Shaders/Builtin/Functions/maximumComponent.glsl +21 -0
- package/Source/Shaders/Builtin/Functions/maximumComponent.js +23 -0
- package/Source/Shaders/Builtin/Functions/pbrLighting.glsl +108 -44
- package/Source/Shaders/Builtin/Functions/pbrLighting.js +108 -44
- package/Source/Shaders/Builtin/Structs/materialInput.glsl +1 -1
- package/Source/Shaders/Builtin/Structs/materialInput.js +1 -1
- package/Source/Shaders/Builtin/Structs/modelMaterial.glsl +16 -0
- package/Source/Shaders/Builtin/Structs/modelMaterial.js +16 -0
- package/Source/Shaders/EllipsoidFS.glsl +1 -1
- package/Source/Shaders/EllipsoidFS.js +1 -1
- package/Source/Shaders/GlobeFS.glsl +3 -3
- package/Source/Shaders/GlobeFS.js +3 -3
- package/Source/Shaders/Model/ImageBasedLightingStageFS.glsl +211 -133
- package/Source/Shaders/Model/ImageBasedLightingStageFS.js +212 -133
- package/Source/Shaders/Model/LightingStageFS.glsl +113 -48
- package/Source/Shaders/Model/LightingStageFS.js +113 -48
- package/Source/Shaders/Model/MaterialStageFS.glsl +407 -136
- package/Source/Shaders/Model/MaterialStageFS.js +407 -136
- package/Source/Widget/CesiumWidget.css +0 -5
- package/Source/Widget/CesiumWidget.js +29 -28
- package/index.d.ts +184 -116
- package/index.js +92 -95
- package/package.json +2 -2
- package/Source/Shaders/Builtin/Functions/defaultPbrMaterial.glsl +0 -16
- package/Source/Shaders/Builtin/Functions/defaultPbrMaterial.js +0 -18
- package/Source/Shaders/Builtin/Functions/ellipsoidWgs84TextureCoordinates.glsl +0 -10
- package/Source/Shaders/Builtin/Functions/pbrMetallicRoughnessMaterial.glsl +0 -37
- package/Source/Shaders/Builtin/Functions/pbrMetallicRoughnessMaterial.js +0 -39
- package/Source/Shaders/Builtin/Functions/pbrSpecularGlossinessMaterial.glsl +0 -30
- package/Source/Shaders/Builtin/Functions/pbrSpecularGlossinessMaterial.js +0 -32
- package/Source/Shaders/Builtin/Structs/pbrParameters.glsl +0 -16
- package/Source/Shaders/Builtin/Structs/pbrParameters.js +0 -18
package/index.d.ts
CHANGED
|
@@ -597,9 +597,9 @@ export namespace ArcGISTiledElevationTerrainProvider {
|
|
|
597
597
|
/**
|
|
598
598
|
* Initialization options for the ArcGISTiledElevationTerrainProvider constructor
|
|
599
599
|
* @property [token] - The authorization token to use to connect to the service.
|
|
600
|
-
* @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified,
|
|
600
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
|
|
601
601
|
* this parameter is ignored and the tiling scheme's ellipsoid is used instead.
|
|
602
|
-
* If neither parameter is specified, the
|
|
602
|
+
* If neither parameter is specified, the default ellipsoid is used.
|
|
603
603
|
*/
|
|
604
604
|
type ConstructorOptions = {
|
|
605
605
|
token?: string;
|
|
@@ -1055,7 +1055,7 @@ export class BoundingSphere {
|
|
|
1055
1055
|
* Computes a bounding sphere from a rectangle in 3D. The bounding sphere is created using a subsample of points
|
|
1056
1056
|
* on the ellipsoid and contained in the rectangle. It may not be accurate for all rectangles on all types of ellipsoids.
|
|
1057
1057
|
* @param [rectangle] - The valid rectangle used to create a bounding sphere.
|
|
1058
|
-
* @param [ellipsoid = Ellipsoid.
|
|
1058
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid used to determine positions of the rectangle.
|
|
1059
1059
|
* @param [surfaceHeight = 0.0] - The height above the surface of the ellipsoid.
|
|
1060
1060
|
* @param [result] - The object onto which to store the result.
|
|
1061
1061
|
* @returns The modified result parameter or a new BoundingSphere instance if none was provided.
|
|
@@ -2135,7 +2135,7 @@ export class Cartesian3 {
|
|
|
2135
2135
|
* @param longitude - The longitude, in degrees
|
|
2136
2136
|
* @param latitude - The latitude, in degrees
|
|
2137
2137
|
* @param [height = 0.0] - The height, in meters, above the ellipsoid.
|
|
2138
|
-
* @param [ellipsoid = Ellipsoid.
|
|
2138
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
|
|
2139
2139
|
* @param [result] - The object onto which to store the result.
|
|
2140
2140
|
* @returns The position
|
|
2141
2141
|
*/
|
|
@@ -2147,7 +2147,7 @@ export class Cartesian3 {
|
|
|
2147
2147
|
* @param longitude - The longitude, in radians
|
|
2148
2148
|
* @param latitude - The latitude, in radians
|
|
2149
2149
|
* @param [height = 0.0] - The height, in meters, above the ellipsoid.
|
|
2150
|
-
* @param [ellipsoid = Ellipsoid.
|
|
2150
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
|
|
2151
2151
|
* @param [result] - The object onto which to store the result.
|
|
2152
2152
|
* @returns The position
|
|
2153
2153
|
*/
|
|
@@ -2157,7 +2157,7 @@ export class Cartesian3 {
|
|
|
2157
2157
|
* @example
|
|
2158
2158
|
* const positions = Cesium.Cartesian3.fromDegreesArray([-115.0, 37.0, -107.0, 33.0]);
|
|
2159
2159
|
* @param coordinates - A list of longitude and latitude values. Values alternate [longitude, latitude, longitude, latitude...].
|
|
2160
|
-
* @param [ellipsoid = Ellipsoid.
|
|
2160
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the coordinates lie.
|
|
2161
2161
|
* @param [result] - An array of Cartesian3 objects to store the result.
|
|
2162
2162
|
* @returns The array of positions.
|
|
2163
2163
|
*/
|
|
@@ -2167,7 +2167,7 @@ export class Cartesian3 {
|
|
|
2167
2167
|
* @example
|
|
2168
2168
|
* const positions = Cesium.Cartesian3.fromRadiansArray([-2.007, 0.645, -1.867, .575]);
|
|
2169
2169
|
* @param coordinates - A list of longitude and latitude values. Values alternate [longitude, latitude, longitude, latitude...].
|
|
2170
|
-
* @param [ellipsoid = Ellipsoid.
|
|
2170
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the coordinates lie.
|
|
2171
2171
|
* @param [result] - An array of Cartesian3 objects to store the result.
|
|
2172
2172
|
* @returns The array of positions.
|
|
2173
2173
|
*/
|
|
@@ -2177,7 +2177,7 @@ export class Cartesian3 {
|
|
|
2177
2177
|
* @example
|
|
2178
2178
|
* const positions = Cesium.Cartesian3.fromDegreesArrayHeights([-115.0, 37.0, 100000.0, -107.0, 33.0, 150000.0]);
|
|
2179
2179
|
* @param coordinates - A list of longitude, latitude and height values. Values alternate [longitude, latitude, height, longitude, latitude, height...].
|
|
2180
|
-
* @param [ellipsoid = Ellipsoid.
|
|
2180
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
|
|
2181
2181
|
* @param [result] - An array of Cartesian3 objects to store the result.
|
|
2182
2182
|
* @returns The array of positions.
|
|
2183
2183
|
*/
|
|
@@ -2187,7 +2187,7 @@ export class Cartesian3 {
|
|
|
2187
2187
|
* @example
|
|
2188
2188
|
* const positions = Cesium.Cartesian3.fromRadiansArrayHeights([-2.007, 0.645, 100000.0, -1.867, .575, 150000.0]);
|
|
2189
2189
|
* @param coordinates - A list of longitude, latitude and height values. Values alternate [longitude, latitude, height, longitude, latitude, height...].
|
|
2190
|
-
* @param [ellipsoid = Ellipsoid.
|
|
2190
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
|
|
2191
2191
|
* @param [result] - An array of Cartesian3 objects to store the result.
|
|
2192
2192
|
* @returns The array of positions.
|
|
2193
2193
|
*/
|
|
@@ -2633,7 +2633,7 @@ export class Cartographic {
|
|
|
2633
2633
|
* Creates a new Cartographic instance from a Cartesian position. The values in the
|
|
2634
2634
|
* resulting object will be in radians.
|
|
2635
2635
|
* @param cartesian - The Cartesian position to convert to cartographic representation.
|
|
2636
|
-
* @param [ellipsoid = Ellipsoid.
|
|
2636
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
|
|
2637
2637
|
* @param [result] - The object onto which to store the result.
|
|
2638
2638
|
* @returns The modified result parameter, new Cartographic instance if none was provided, or undefined if the cartesian is at the center of the ellipsoid.
|
|
2639
2639
|
*/
|
|
@@ -2642,7 +2642,7 @@ export class Cartographic {
|
|
|
2642
2642
|
* Creates a new Cartesian3 instance from a Cartographic input. The values in the inputted
|
|
2643
2643
|
* object should be in radians.
|
|
2644
2644
|
* @param cartographic - Input to be converted into a Cartesian3 output.
|
|
2645
|
-
* @param [ellipsoid = Ellipsoid.
|
|
2645
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the position lies.
|
|
2646
2646
|
* @param [result] - The object onto which to store the result.
|
|
2647
2647
|
* @returns The position
|
|
2648
2648
|
*/
|
|
@@ -2807,7 +2807,7 @@ export namespace CesiumTerrainProvider {
|
|
|
2807
2807
|
* @property [requestVertexNormals = false] - Flag that indicates if the client should request additional lighting information from the server, in the form of per vertex normals if available.
|
|
2808
2808
|
* @property [requestWaterMask = false] - Flag that indicates if the client should request per tile water masks from the server, if available.
|
|
2809
2809
|
* @property [requestMetadata = true] - Flag that indicates if the client should request per tile metadata from the server, if available.
|
|
2810
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
2810
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
2811
2811
|
* @property [credit] - A credit for the data source, which is displayed on the canvas.
|
|
2812
2812
|
*/
|
|
2813
2813
|
type ConstructorOptions = {
|
|
@@ -3124,7 +3124,7 @@ export const Check: {
|
|
|
3124
3124
|
* @param options - Object with the following properties:
|
|
3125
3125
|
* @param options.center - The circle's center point in the fixed frame.
|
|
3126
3126
|
* @param options.radius - The radius in meters.
|
|
3127
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
3127
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the circle will be on.
|
|
3128
3128
|
* @param [options.height = 0.0] - The distance in meters between the circle and the ellipsoid surface.
|
|
3129
3129
|
* @param [options.granularity = 0.02] - The angular distance between points on the circle in radians.
|
|
3130
3130
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
@@ -3182,7 +3182,7 @@ export class CircleGeometry {
|
|
|
3182
3182
|
* @param options - Object with the following properties:
|
|
3183
3183
|
* @param options.center - The circle's center point in the fixed frame.
|
|
3184
3184
|
* @param options.radius - The radius in meters.
|
|
3185
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
3185
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the circle will be on.
|
|
3186
3186
|
* @param [options.height = 0.0] - The distance in meters between the circle and the ellipsoid surface.
|
|
3187
3187
|
* @param [options.granularity = 0.02] - The angular distance between points on the circle in radians.
|
|
3188
3188
|
* @param [options.extrudedHeight = 0.0] - The distance in meters between the circle's extruded face and the ellipsoid surface.
|
|
@@ -4662,7 +4662,7 @@ export class ConstantSpline {
|
|
|
4662
4662
|
* @param options.polygonHierarchy - A polygon hierarchy that can include holes.
|
|
4663
4663
|
* @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
|
|
4664
4664
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
4665
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
4665
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
4666
4666
|
* @param [options.textureCoordinates] - Texture coordinates as a {@link PolygonHierarchy} of {@link Cartesian2} points.
|
|
4667
4667
|
*/
|
|
4668
4668
|
export class CoplanarPolygonGeometry {
|
|
@@ -4695,7 +4695,7 @@ export class CoplanarPolygonGeometry {
|
|
|
4695
4695
|
* @param options.positions - An array of positions that defined the corner points of the polygon.
|
|
4696
4696
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
4697
4697
|
* @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
|
|
4698
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
4698
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
4699
4699
|
* @param [options.textureCoordinates] - Texture coordinates as a {@link PolygonHierarchy} of {@link Cartesian2} points.
|
|
4700
4700
|
*/
|
|
4701
4701
|
static fromPositions(options: {
|
|
@@ -4819,7 +4819,7 @@ export enum CornerType {
|
|
|
4819
4819
|
* @param options - Object with the following properties:
|
|
4820
4820
|
* @param options.positions - An array of positions that define the center of the corridor.
|
|
4821
4821
|
* @param options.width - The distance between the edges of the corridor in meters.
|
|
4822
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
4822
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
4823
4823
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
4824
4824
|
* @param [options.height = 0] - The distance in meters between the ellipsoid surface and the positions.
|
|
4825
4825
|
* @param [options.extrudedHeight] - The distance in meters between the ellipsoid surface and the extruded face.
|
|
@@ -4862,7 +4862,7 @@ export class CorridorGeometry {
|
|
|
4862
4862
|
* @param options - Object with the following properties:
|
|
4863
4863
|
* @param options.positions - An array of positions that define the center of the corridor.
|
|
4864
4864
|
* @param options.width - The distance between the edges of the corridor in meters.
|
|
4865
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
4865
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
4866
4866
|
* @param [options.cornerType = CornerType.ROUNDED] - Determines the style of the corners.
|
|
4867
4867
|
* @param [result] - An object in which to store the result.
|
|
4868
4868
|
* @returns The result rectangle.
|
|
@@ -4891,7 +4891,7 @@ export class CorridorGeometry {
|
|
|
4891
4891
|
* @param options - Object with the following properties:
|
|
4892
4892
|
* @param options.positions - An array of positions that define the center of the corridor outline.
|
|
4893
4893
|
* @param options.width - The distance between the edges of the corridor outline.
|
|
4894
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
4894
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
4895
4895
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
4896
4896
|
* @param [options.height = 0] - The distance in meters between the positions and the ellipsoid surface.
|
|
4897
4897
|
* @param [options.extrudedHeight] - The distance in meters between the extruded face and the ellipsoid surface.
|
|
@@ -4939,9 +4939,9 @@ export class CorridorOutlineGeometry {
|
|
|
4939
4939
|
* A credit contains data pertaining to how to display attributions/credits for certain content on the screen.
|
|
4940
4940
|
* @example
|
|
4941
4941
|
* // Create a credit with a tooltip, image and link
|
|
4942
|
-
* const credit = new Cesium.Credit('<a href="https://cesium.com/" target="_blank"><img src="/images/cesium_logo.png" title="Cesium"/></a>');
|
|
4942
|
+
* const credit = new Cesium.Credit('<a href="https://cesium.com/" target="_blank"><img src="/images/cesium_logo.png" style="vertical-align: -7px" title="Cesium"/></a>');
|
|
4943
4943
|
* @param html - An string representing an html code snippet
|
|
4944
|
-
* @param [showOnScreen = false] - If true, the credit will be visible in the main credit container. Otherwise, it will appear in a popover
|
|
4944
|
+
* @param [showOnScreen = false] - If true, the credit will be visible in the main credit container. Otherwise, it will appear in a popover. All credits are displayed `inline`, if you have an image we recommend sizing it correctly to match the text or use css to `vertical-align` it.
|
|
4945
4945
|
*/
|
|
4946
4946
|
export class Credit {
|
|
4947
4947
|
constructor(html: string, showOnScreen?: boolean);
|
|
@@ -5064,9 +5064,9 @@ export namespace CustomHeightmapTerrainProvider {
|
|
|
5064
5064
|
* @param [options.tilingScheme] - The tiling scheme specifying how the ellipsoidal
|
|
5065
5065
|
* surface is broken into tiles. If this parameter is not provided, a {@link GeographicTilingScheme}
|
|
5066
5066
|
* is used.
|
|
5067
|
-
* @param [options.ellipsoid] - The ellipsoid. If the tilingScheme is specified,
|
|
5067
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
|
|
5068
5068
|
* this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
|
|
5069
|
-
* parameter is specified, the
|
|
5069
|
+
* parameter is specified, the default ellipsoid is used.
|
|
5070
5070
|
* @param [options.credit] - A credit for the data source, which is displayed on the canvas.
|
|
5071
5071
|
*/
|
|
5072
5072
|
export class CustomHeightmapTerrainProvider {
|
|
@@ -5107,6 +5107,12 @@ export class CustomHeightmapTerrainProvider {
|
|
|
5107
5107
|
* value will always be false.
|
|
5108
5108
|
*/
|
|
5109
5109
|
readonly hasVertexNormals: boolean;
|
|
5110
|
+
/**
|
|
5111
|
+
* Gets an object that can be used to determine availability of terrain from this provider, such as
|
|
5112
|
+
* at points and in rectangles. This property may be undefined if availability
|
|
5113
|
+
* information is not available.
|
|
5114
|
+
*/
|
|
5115
|
+
readonly availability: TileAvailability;
|
|
5110
5116
|
/**
|
|
5111
5117
|
* Gets the number of columns per heightmap tile.
|
|
5112
5118
|
*/
|
|
@@ -5591,7 +5597,7 @@ export namespace EasingFunction {
|
|
|
5591
5597
|
* @param options.center - The ellipse's center point in the fixed frame.
|
|
5592
5598
|
* @param options.semiMajorAxis - The length of the ellipse's semi-major axis in meters.
|
|
5593
5599
|
* @param options.semiMinorAxis - The length of the ellipse's semi-minor axis in meters.
|
|
5594
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
5600
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the ellipse will be on.
|
|
5595
5601
|
* @param [options.height = 0.0] - The distance in meters between the ellipse and the ellipsoid surface.
|
|
5596
5602
|
* @param [options.extrudedHeight] - The distance in meters between the ellipse's extruded face and the ellipsoid surface.
|
|
5597
5603
|
* @param [options.rotation = 0.0] - The angle of rotation counter-clockwise from north.
|
|
@@ -5638,7 +5644,7 @@ export class EllipseGeometry {
|
|
|
5638
5644
|
* @param options.center - The ellipse's center point in the fixed frame.
|
|
5639
5645
|
* @param options.semiMajorAxis - The length of the ellipse's semi-major axis in meters.
|
|
5640
5646
|
* @param options.semiMinorAxis - The length of the ellipse's semi-minor axis in meters.
|
|
5641
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
5647
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the ellipse will be on.
|
|
5642
5648
|
* @param [options.rotation = 0.0] - The angle of rotation counter-clockwise from north.
|
|
5643
5649
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The angular distance between points on the ellipse in radians.
|
|
5644
5650
|
* @param [result] - An object in which to store the result
|
|
@@ -5674,7 +5680,7 @@ export class EllipseGeometry {
|
|
|
5674
5680
|
* @param options.center - The ellipse's center point in the fixed frame.
|
|
5675
5681
|
* @param options.semiMajorAxis - The length of the ellipse's semi-major axis in meters.
|
|
5676
5682
|
* @param options.semiMinorAxis - The length of the ellipse's semi-minor axis in meters.
|
|
5677
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
5683
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid the ellipse will be on.
|
|
5678
5684
|
* @param [options.height = 0.0] - The distance in meters between the ellipse and the ellipsoid surface.
|
|
5679
5685
|
* @param [options.extrudedHeight] - The distance in meters between the ellipse's extruded face and the ellipsoid surface.
|
|
5680
5686
|
* @param [options.rotation = 0.0] - The angle from north (counter-clockwise) in radians.
|
|
@@ -5790,6 +5796,18 @@ export class Ellipsoid {
|
|
|
5790
5796
|
* An Ellipsoid instance initialized to a sphere with the lunar radius.
|
|
5791
5797
|
*/
|
|
5792
5798
|
static readonly MOON: Ellipsoid;
|
|
5799
|
+
/**
|
|
5800
|
+
* The default ellipsoid used when not otherwise specified.
|
|
5801
|
+
* @example
|
|
5802
|
+
* Cesium.Ellipsoid.default = Cesium.Ellipsoid.MOON;
|
|
5803
|
+
*
|
|
5804
|
+
* // Apollo 11 landing site
|
|
5805
|
+
* const position = Cesium.Cartesian3.fromRadians(
|
|
5806
|
+
* 0.67416,
|
|
5807
|
+
* 23.47315,
|
|
5808
|
+
* );
|
|
5809
|
+
*/
|
|
5810
|
+
static default: Ellipsoid;
|
|
5793
5811
|
/**
|
|
5794
5812
|
* Duplicates an Ellipsoid instance.
|
|
5795
5813
|
* @param [result] - The object onto which to store the result, or undefined if a new
|
|
@@ -5968,7 +5986,7 @@ export class Ellipsoid {
|
|
|
5968
5986
|
* Initializes a geodesic on the ellipsoid connecting the two provided planetodetic points.
|
|
5969
5987
|
* @param [start] - The initial planetodetic point on the path.
|
|
5970
5988
|
* @param [end] - The final planetodetic point on the path.
|
|
5971
|
-
* @param [ellipsoid = Ellipsoid.
|
|
5989
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the geodesic lies.
|
|
5972
5990
|
*/
|
|
5973
5991
|
export class EllipsoidGeodesic {
|
|
5974
5992
|
constructor(start?: Cartographic, end?: Cartographic, ellipsoid?: Ellipsoid);
|
|
@@ -6141,7 +6159,7 @@ export class EllipsoidOutlineGeometry {
|
|
|
6141
6159
|
* Initializes a rhumb line on the ellipsoid connecting the two provided planetodetic points.
|
|
6142
6160
|
* @param [start] - The initial planetodetic point on the path.
|
|
6143
6161
|
* @param [end] - The final planetodetic point on the path.
|
|
6144
|
-
* @param [ellipsoid = Ellipsoid.
|
|
6162
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the rhumb line lies.
|
|
6145
6163
|
*/
|
|
6146
6164
|
export class EllipsoidRhumbLine {
|
|
6147
6165
|
constructor(start?: Cartographic, end?: Cartographic, ellipsoid?: Ellipsoid);
|
|
@@ -6170,7 +6188,7 @@ export class EllipsoidRhumbLine {
|
|
|
6170
6188
|
* @param start - The initial planetodetic point on the path.
|
|
6171
6189
|
* @param heading - The heading in radians.
|
|
6172
6190
|
* @param distance - The rhumb line distance between the start and end point.
|
|
6173
|
-
* @param [ellipsoid = Ellipsoid.
|
|
6191
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the rhumb line lies.
|
|
6174
6192
|
* @param [result] - The object in which to store the result.
|
|
6175
6193
|
* @returns The EllipsoidRhumbLine object.
|
|
6176
6194
|
*/
|
|
@@ -6218,7 +6236,7 @@ export class EllipsoidRhumbLine {
|
|
|
6218
6236
|
* If origin is not on the surface of the ellipsoid, it's surface projection will be used.
|
|
6219
6237
|
* If origin is at the center of the ellipsoid, an exception will be thrown.
|
|
6220
6238
|
* @param origin - The point on the surface of the ellipsoid where the tangent plane touches.
|
|
6221
|
-
* @param [ellipsoid = Ellipsoid.
|
|
6239
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use.
|
|
6222
6240
|
*/
|
|
6223
6241
|
export class EllipsoidTangentPlane {
|
|
6224
6242
|
constructor(origin: Cartesian3, ellipsoid?: Ellipsoid);
|
|
@@ -6250,7 +6268,7 @@ export class EllipsoidTangentPlane {
|
|
|
6250
6268
|
* Creates a new instance from the provided ellipsoid and the center
|
|
6251
6269
|
* point of the provided Cartesians.
|
|
6252
6270
|
* @param cartesians - The list of positions surrounding the center point.
|
|
6253
|
-
* @param [ellipsoid = Ellipsoid.
|
|
6271
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use.
|
|
6254
6272
|
* @returns The new instance of EllipsoidTangentPlane.
|
|
6255
6273
|
*/
|
|
6256
6274
|
static fromPoints(cartesians: Cartesian3[], ellipsoid?: Ellipsoid): EllipsoidTangentPlane;
|
|
@@ -6306,9 +6324,9 @@ export class EllipsoidTangentPlane {
|
|
|
6306
6324
|
* @param [options.tilingScheme] - The tiling scheme specifying how the ellipsoidal
|
|
6307
6325
|
* surface is broken into tiles. If this parameter is not provided, a {@link GeographicTilingScheme}
|
|
6308
6326
|
* is used.
|
|
6309
|
-
* @param [options.ellipsoid] - The ellipsoid. If the tilingScheme is specified,
|
|
6327
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
|
|
6310
6328
|
* this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
|
|
6311
|
-
* parameter is specified, the
|
|
6329
|
+
* parameter is specified, the default ellipsoid is used.
|
|
6312
6330
|
*/
|
|
6313
6331
|
export class EllipsoidTerrainProvider {
|
|
6314
6332
|
constructor(options?: {
|
|
@@ -6742,9 +6760,9 @@ export class GeocoderService {
|
|
|
6742
6760
|
/**
|
|
6743
6761
|
* A simple map projection where longitude and latitude are linearly mapped to X and Y by multiplying
|
|
6744
6762
|
* them by the {@link Ellipsoid#maximumRadius}. This projection
|
|
6745
|
-
* is commonly known as geographic, equirectangular, equidistant cylindrical, or plate carrée.
|
|
6763
|
+
* is commonly known as geographic, equirectangular, equidistant cylindrical, or plate carrée. When using the WGS84 ellipsoid, it
|
|
6746
6764
|
* is also known as EPSG:4326.
|
|
6747
|
-
* @param [ellipsoid = Ellipsoid.
|
|
6765
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid.
|
|
6748
6766
|
*/
|
|
6749
6767
|
export class GeographicProjection {
|
|
6750
6768
|
constructor(ellipsoid?: Ellipsoid);
|
|
@@ -6783,8 +6801,8 @@ export class GeographicProjection {
|
|
|
6783
6801
|
* longitude and latitude are directly mapped to X and Y. This projection is commonly
|
|
6784
6802
|
* known as geographic, equirectangular, equidistant cylindrical, or plate carrée.
|
|
6785
6803
|
* @param [options] - Object with the following properties:
|
|
6786
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
6787
|
-
* the
|
|
6804
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid whose surface is being tiled. Defaults to
|
|
6805
|
+
* the default ellipsoid.
|
|
6788
6806
|
* @param [options.rectangle = Rectangle.MAX_VALUE] - The rectangle, in radians, covered by the tiling scheme.
|
|
6789
6807
|
* @param [options.numberOfLevelZeroTilesX = 2] - The number of tiles in the X direction at level zero of
|
|
6790
6808
|
* the tile tree.
|
|
@@ -7597,7 +7615,7 @@ export class GoogleEarthEnterpriseTerrainData {
|
|
|
7597
7615
|
export namespace GoogleEarthEnterpriseTerrainProvider {
|
|
7598
7616
|
/**
|
|
7599
7617
|
* Initialization options for GoogleEarthEnterpriseTerrainProvider constructor
|
|
7600
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
7618
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
7601
7619
|
* @property [credit] - A credit for the data source, which is displayed on the canvas.
|
|
7602
7620
|
*/
|
|
7603
7621
|
type ConstructorOptions = {
|
|
@@ -11681,7 +11699,7 @@ export class Occluder {
|
|
|
11681
11699
|
/**
|
|
11682
11700
|
* Computes a point that can be used as the occludee position to the visibility functions from a rectangle.
|
|
11683
11701
|
* @param rectangle - The rectangle used to create a bounding sphere.
|
|
11684
|
-
* @param [ellipsoid = Ellipsoid.
|
|
11702
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid used to determine positions of the rectangle.
|
|
11685
11703
|
* @returns An object containing two attributes: <code>occludeePoint</code> and <code>valid</code>
|
|
11686
11704
|
* which is a boolean value.
|
|
11687
11705
|
*/
|
|
@@ -11799,7 +11817,7 @@ export class OrientedBoundingBox {
|
|
|
11799
11817
|
* @param rectangle - The cartographic rectangle on the surface of the ellipsoid.
|
|
11800
11818
|
* @param [minimumHeight = 0.0] - The minimum height (elevation) within the tile.
|
|
11801
11819
|
* @param [maximumHeight = 0.0] - The maximum height (elevation) within the tile.
|
|
11802
|
-
* @param [ellipsoid = Ellipsoid.
|
|
11820
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid on which the rectangle is defined.
|
|
11803
11821
|
* @param [result] - The object onto which to store the result.
|
|
11804
11822
|
* @returns The modified result parameter or a new OrientedBoundingBox instance if none was provided.
|
|
11805
11823
|
*/
|
|
@@ -12926,7 +12944,7 @@ export class PlaneOutlineGeometry {
|
|
|
12926
12944
|
* @param [options.extrudedHeight] - The distance in meters between the polygon's extruded face and the ellipsoid surface.
|
|
12927
12945
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
12928
12946
|
* @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
|
|
12929
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
12947
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
12930
12948
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
12931
12949
|
* @param [options.perPositionHeight = false] - Use the height of options.positions for each position instead of using options.height to determine the height.
|
|
12932
12950
|
* @param [options.closeTop = true] - When false, leaves off the top of an extruded polygon open.
|
|
@@ -12973,7 +12991,7 @@ export class PolygonGeometry {
|
|
|
12973
12991
|
* @param [options.extrudedHeight] - The height of the polygon extrusion.
|
|
12974
12992
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
12975
12993
|
* @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
|
|
12976
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
12994
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
12977
12995
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
12978
12996
|
* @param [options.perPositionHeight = false] - Use the height of options.positions for each position instead of using options.height to determine the height.
|
|
12979
12997
|
* @param [options.closeTop = true] - When false, leaves off the top of an extruded polygon open.
|
|
@@ -13013,7 +13031,7 @@ export class PolygonGeometry {
|
|
|
13013
13031
|
/**
|
|
13014
13032
|
* Computes a rectangle which encloses the polygon defined by the list of positions, including cases over the international date line and the poles.
|
|
13015
13033
|
* @param positions - A linear ring defining the outer boundary of the polygon.
|
|
13016
|
-
* @param [ellipsoid = Ellipsoid.
|
|
13034
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
13017
13035
|
* @param [arcType = ArcType.GEODESIC] - The type of line the polygon edges must follow. Valid options are {@link ArcType.GEODESIC} and {@link ArcType.RHUMB}.
|
|
13018
13036
|
* @param [result] - An object in which to store the result.
|
|
13019
13037
|
* @returns The result rectangle
|
|
@@ -13118,7 +13136,7 @@ export class PolygonHierarchy {
|
|
|
13118
13136
|
* @param [options.height = 0.0] - The distance in meters between the polygon and the ellipsoid surface.
|
|
13119
13137
|
* @param [options.extrudedHeight] - The distance in meters between the polygon's extruded face and the ellipsoid surface.
|
|
13120
13138
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
13121
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
13139
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
13122
13140
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
13123
13141
|
* @param [options.perPositionHeight = false] - Use the height of options.positions for each position instead of using options.height to determine the height.
|
|
13124
13142
|
* @param [options.arcType = ArcType.GEODESIC] - The type of path the outline must follow. Valid options are {@link ArcType.GEODESIC} and {@link ArcType.RHUMB}.
|
|
@@ -13172,7 +13190,7 @@ export class PolygonOutlineGeometry {
|
|
|
13172
13190
|
* @param options.positions - An array of positions that defined the corner points of the polygon.
|
|
13173
13191
|
* @param [options.height = 0.0] - The height of the polygon.
|
|
13174
13192
|
* @param [options.extrudedHeight] - The height of the polygon extrusion.
|
|
13175
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
13193
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
13176
13194
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
13177
13195
|
* @param [options.perPositionHeight = false] - Use the height of options.positions for each position instead of using options.height to determine the height.
|
|
13178
13196
|
* @param [options.arcType = ArcType.GEODESIC] - The type of path the outline must follow. Valid options are {@link LinkType.GEODESIC} and {@link ArcType.RHUMB}.
|
|
@@ -13217,7 +13235,7 @@ export class PolygonOutlineGeometry {
|
|
|
13217
13235
|
* @param [options.arcType = ArcType.GEODESIC] - The type of line the polyline segments must follow.
|
|
13218
13236
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer.
|
|
13219
13237
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
13220
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
13238
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
13221
13239
|
*/
|
|
13222
13240
|
export class PolylineGeometry {
|
|
13223
13241
|
constructor(options: {
|
|
@@ -13281,7 +13299,7 @@ export class PolylineGeometry {
|
|
|
13281
13299
|
* @param options - Object with the following properties:
|
|
13282
13300
|
* @param options.polylinePositions - An array of {@link Cartesian3} positions that define the center of the polyline volume.
|
|
13283
13301
|
* @param options.shapePositions - An array of {@link Cartesian2} positions that define the shape to be extruded along the polyline
|
|
13284
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
13302
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
13285
13303
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
13286
13304
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
13287
13305
|
* @param [options.cornerType = CornerType.ROUNDED] - Determines the style of the corners.
|
|
@@ -13345,7 +13363,7 @@ export class PolylineVolumeGeometry {
|
|
|
13345
13363
|
* @param options - Object with the following properties:
|
|
13346
13364
|
* @param options.polylinePositions - An array of positions that define the center of the polyline volume.
|
|
13347
13365
|
* @param options.shapePositions - An array of positions that define the shape to be extruded along the polyline
|
|
13348
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
13366
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
13349
13367
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
13350
13368
|
* @param [options.cornerType = CornerType.ROUNDED] - Determines the style of the corners.
|
|
13351
13369
|
*/
|
|
@@ -14205,7 +14223,7 @@ export class Rectangle {
|
|
|
14205
14223
|
/**
|
|
14206
14224
|
* Creates the smallest possible Rectangle that encloses all positions in the provided array.
|
|
14207
14225
|
* @param cartesians - The list of Cartesian instances.
|
|
14208
|
-
* @param [ellipsoid = Ellipsoid.
|
|
14226
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid the cartesians are on.
|
|
14209
14227
|
* @param [result] - The object onto which to store the result, or undefined if a new instance should be created.
|
|
14210
14228
|
* @returns The modified result parameter or a new Rectangle instance if none was provided.
|
|
14211
14229
|
*/
|
|
@@ -14213,7 +14231,7 @@ export class Rectangle {
|
|
|
14213
14231
|
/**
|
|
14214
14232
|
* Create a rectangle from a bounding sphere, ignoring height.
|
|
14215
14233
|
* @param boundingSphere - The bounding sphere.
|
|
14216
|
-
* @param [ellipsoid = Ellipsoid.
|
|
14234
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid.
|
|
14217
14235
|
* @param [result] - The object onto which to store the result, or undefined if a new instance should be created.
|
|
14218
14236
|
* @returns The modified result parameter or a new Rectangle instance if none was provided.
|
|
14219
14237
|
*/
|
|
@@ -14356,7 +14374,7 @@ export class Rectangle {
|
|
|
14356
14374
|
* {@link BoundingSphere#fromPoints}. Sampling is necessary to account
|
|
14357
14375
|
* for rectangles that cover the poles or cross the equator.
|
|
14358
14376
|
* @param rectangle - The rectangle to subsample.
|
|
14359
|
-
* @param [ellipsoid = Ellipsoid.
|
|
14377
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use.
|
|
14360
14378
|
* @param [surfaceHeight = 0.0] - The height of the rectangle above the ellipsoid.
|
|
14361
14379
|
* @param [result] - The array of Cartesians onto which to store the result.
|
|
14362
14380
|
* @returns The modified result parameter or a new Array of Cartesians instances if none was provided.
|
|
@@ -14384,7 +14402,7 @@ export class Rectangle {
|
|
|
14384
14402
|
* @example
|
|
14385
14403
|
* // 1. create a rectangle
|
|
14386
14404
|
* const rectangle = new Cesium.RectangleGeometry({
|
|
14387
|
-
* ellipsoid : Cesium.Ellipsoid.
|
|
14405
|
+
* ellipsoid : Cesium.Ellipsoid.default,
|
|
14388
14406
|
* rectangle : Cesium.Rectangle.fromDegrees(-80.0, 39.0, -74.0, 42.0),
|
|
14389
14407
|
* height : 10000.0
|
|
14390
14408
|
* });
|
|
@@ -14392,7 +14410,7 @@ export class Rectangle {
|
|
|
14392
14410
|
*
|
|
14393
14411
|
* // 2. create an extruded rectangle without a top
|
|
14394
14412
|
* const rectangle = new Cesium.RectangleGeometry({
|
|
14395
|
-
* ellipsoid : Cesium.Ellipsoid.
|
|
14413
|
+
* ellipsoid : Cesium.Ellipsoid.default,
|
|
14396
14414
|
* rectangle : Cesium.Rectangle.fromDegrees(-80.0, 39.0, -74.0, 42.0),
|
|
14397
14415
|
* height : 10000.0,
|
|
14398
14416
|
* extrudedHeight: 300000
|
|
@@ -14401,7 +14419,7 @@ export class Rectangle {
|
|
|
14401
14419
|
* @param options - Object with the following properties:
|
|
14402
14420
|
* @param options.rectangle - A cartographic rectangle with north, south, east and west properties in radians.
|
|
14403
14421
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
14404
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
14422
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid on which the rectangle lies.
|
|
14405
14423
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
14406
14424
|
* @param [options.height = 0.0] - The distance in meters between the rectangle and the ellipsoid surface.
|
|
14407
14425
|
* @param [options.rotation = 0.0] - The rotation of the rectangle, in radians. A positive rotation is counter-clockwise.
|
|
@@ -14443,7 +14461,7 @@ export class RectangleGeometry {
|
|
|
14443
14461
|
* Computes the bounding rectangle based on the provided options
|
|
14444
14462
|
* @param options - Object with the following properties:
|
|
14445
14463
|
* @param options.rectangle - A cartographic rectangle with north, south, east and west properties in radians.
|
|
14446
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
14464
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid on which the rectangle lies.
|
|
14447
14465
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
14448
14466
|
* @param [options.rotation = 0.0] - The rotation of the rectangle, in radians. A positive rotation is counter-clockwise.
|
|
14449
14467
|
* @param [result] - An object in which to store the result.
|
|
@@ -14474,7 +14492,7 @@ export class RectangleGeometry {
|
|
|
14474
14492
|
* const geometry = Cesium.RectangleOutlineGeometry.createGeometry(rectangle);
|
|
14475
14493
|
* @param options - Object with the following properties:
|
|
14476
14494
|
* @param options.rectangle - A cartographic rectangle with north, south, east and west properties in radians.
|
|
14477
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
14495
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid on which the rectangle lies.
|
|
14478
14496
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
|
|
14479
14497
|
* @param [options.height = 0.0] - The distance in meters between the rectangle and the ellipsoid surface.
|
|
14480
14498
|
* @param [options.rotation = 0.0] - The rotation of the rectangle, in radians. A positive rotation is counter-clockwise.
|
|
@@ -15872,7 +15890,7 @@ export namespace Simon1994PlanetaryPositions {
|
|
|
15872
15890
|
function computeSunPositionInEarthInertialFrame(julianDate?: JulianDate, result?: Cartesian3): Cartesian3;
|
|
15873
15891
|
/**
|
|
15874
15892
|
* Computes the position of the Moon in the Earth-centered inertial frame
|
|
15875
|
-
* @param [julianDate] - The time at which to compute the
|
|
15893
|
+
* @param [julianDate] - The time at which to compute the moon's position, if not provided the current system time is used.
|
|
15876
15894
|
* @param [result] - The object onto which to store the result.
|
|
15877
15895
|
* @returns Calculated moon position
|
|
15878
15896
|
*/
|
|
@@ -15898,7 +15916,7 @@ export namespace Simon1994PlanetaryPositions {
|
|
|
15898
15916
|
* @param [options.colorsPerVertex = false] - A boolean that determines whether the colors will be flat across each segment of the line or interpolated across the vertices.
|
|
15899
15917
|
* @param [options.arcType = ArcType.GEODESIC] - The type of line the polyline segments must follow.
|
|
15900
15918
|
* @param [options.granularity = Math.RADIANS_PER_DEGREE] - The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer.
|
|
15901
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
15919
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid to be used as a reference.
|
|
15902
15920
|
*/
|
|
15903
15921
|
export class SimplePolylineGeometry {
|
|
15904
15922
|
constructor(options: {
|
|
@@ -17138,7 +17156,7 @@ export namespace Transforms {
|
|
|
17138
17156
|
* Computes a 4x4 transformation matrix from a reference frame
|
|
17139
17157
|
* centered at the provided origin to the provided ellipsoid's fixed reference frame.
|
|
17140
17158
|
* @param origin - The center point of the local reference frame.
|
|
17141
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17159
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17142
17160
|
* @param [result] - The object onto which to store the result.
|
|
17143
17161
|
*/
|
|
17144
17162
|
type LocalFrameToFixedFrame = (origin: Cartesian3, ellipsoid?: Ellipsoid, result?: Matrix4) => Matrix4;
|
|
@@ -17156,7 +17174,7 @@ export namespace Transforms {
|
|
|
17156
17174
|
* const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
17157
17175
|
* const transform = Cesium.Transforms.eastNorthUpToFixedFrame(center);
|
|
17158
17176
|
* @param origin - The center point of the local reference frame.
|
|
17159
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17177
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17160
17178
|
* @param [result] - The object onto which to store the result.
|
|
17161
17179
|
* @returns The modified result parameter or a new Matrix4 instance if none was provided.
|
|
17162
17180
|
*/
|
|
@@ -17175,7 +17193,7 @@ export namespace Transforms {
|
|
|
17175
17193
|
* const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
17176
17194
|
* const transform = Cesium.Transforms.northEastDownToFixedFrame(center);
|
|
17177
17195
|
* @param origin - The center point of the local reference frame.
|
|
17178
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17196
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17179
17197
|
* @param [result] - The object onto which to store the result.
|
|
17180
17198
|
* @returns The modified result parameter or a new Matrix4 instance if none was provided.
|
|
17181
17199
|
*/
|
|
@@ -17194,7 +17212,7 @@ export namespace Transforms {
|
|
|
17194
17212
|
* const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
17195
17213
|
* const transform = Cesium.Transforms.northUpEastToFixedFrame(center);
|
|
17196
17214
|
* @param origin - The center point of the local reference frame.
|
|
17197
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17215
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17198
17216
|
* @param [result] - The object onto which to store the result.
|
|
17199
17217
|
* @returns The modified result parameter or a new Matrix4 instance if none was provided.
|
|
17200
17218
|
*/
|
|
@@ -17213,7 +17231,7 @@ export namespace Transforms {
|
|
|
17213
17231
|
* const center = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
17214
17232
|
* const transform = Cesium.Transforms.northWestUpToFixedFrame(center);
|
|
17215
17233
|
* @param origin - The center point of the local reference frame.
|
|
17216
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17234
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17217
17235
|
* @param [result] - The object onto which to store the result.
|
|
17218
17236
|
* @returns The modified result parameter or a new Matrix4 instance if none was provided.
|
|
17219
17237
|
*/
|
|
@@ -17233,7 +17251,7 @@ export namespace Transforms {
|
|
|
17233
17251
|
* const transform = Cesium.Transforms.headingPitchRollToFixedFrame(center, hpr);
|
|
17234
17252
|
* @param origin - The center point of the local reference frame.
|
|
17235
17253
|
* @param headingPitchRoll - The heading, pitch, and roll.
|
|
17236
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17254
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17237
17255
|
* @param [fixedFrameTransform = Transforms.eastNorthUpToFixedFrame] - A 4x4 transformation
|
|
17238
17256
|
* matrix from a reference frame to the provided ellipsoid's fixed reference frame
|
|
17239
17257
|
* @param [result] - The object onto which to store the result.
|
|
@@ -17255,7 +17273,7 @@ export namespace Transforms {
|
|
|
17255
17273
|
* const quaternion = Cesium.Transforms.headingPitchRollQuaternion(center, hpr);
|
|
17256
17274
|
* @param origin - The center point of the local reference frame.
|
|
17257
17275
|
* @param headingPitchRoll - The heading, pitch, and roll.
|
|
17258
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17276
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17259
17277
|
* @param [fixedFrameTransform = Transforms.eastNorthUpToFixedFrame] - A 4x4 transformation
|
|
17260
17278
|
* matrix from a reference frame to the provided ellipsoid's fixed reference frame
|
|
17261
17279
|
* @param [result] - The object onto which to store the result.
|
|
@@ -17267,7 +17285,7 @@ export namespace Transforms {
|
|
|
17267
17285
|
* direction where a positive angle is increasing eastward. Pitch is the rotation from the local east-north plane. Positive pitch angles
|
|
17268
17286
|
* are above the plane. Negative pitch angles are below the plane. Roll is the first rotation applied about the local east axis.
|
|
17269
17287
|
* @param transform - The transform
|
|
17270
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17288
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17271
17289
|
* @param [fixedFrameTransform = Transforms.eastNorthUpToFixedFrame] - A 4x4 transformation
|
|
17272
17290
|
* matrix from a reference frame to the provided ellipsoid's fixed reference frame
|
|
17273
17291
|
* @param [result] - The object onto which to store the result.
|
|
@@ -17362,7 +17380,7 @@ export namespace Transforms {
|
|
|
17362
17380
|
* Transform a position and velocity to a rotation matrix.
|
|
17363
17381
|
* @param position - The position to transform.
|
|
17364
17382
|
* @param velocity - The velocity vector to transform.
|
|
17365
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17383
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17366
17384
|
* @param [result] - The object onto which to store the result.
|
|
17367
17385
|
* @returns The modified result parameter or a new Matrix3 instance if none was provided.
|
|
17368
17386
|
*/
|
|
@@ -17479,7 +17497,7 @@ export namespace TrustedServers {
|
|
|
17479
17497
|
export namespace VRTheWorldTerrainProvider {
|
|
17480
17498
|
/**
|
|
17481
17499
|
* Initialization options for the VRTheWorldTerrainProvider constructor
|
|
17482
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
17500
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
17483
17501
|
* @property [credit] - A credit for the data source, which is displayed on the canvas.
|
|
17484
17502
|
*/
|
|
17485
17503
|
type ConstructorOptions = {
|
|
@@ -17792,7 +17810,7 @@ export enum Visibility {
|
|
|
17792
17810
|
* wall at <code>positions</code>. If undefined, the height of each position in used.
|
|
17793
17811
|
* @param [options.minimumHeights] - An array parallel to <code>positions</code> that give the minimum height of the
|
|
17794
17812
|
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
|
|
17795
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
17813
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
|
|
17796
17814
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
17797
17815
|
*/
|
|
17798
17816
|
export class WallGeometry {
|
|
@@ -17847,7 +17865,7 @@ export class WallGeometry {
|
|
|
17847
17865
|
* wall at <code>positions</code>. If undefined, the height of each position in used.
|
|
17848
17866
|
* @param [options.minimumHeight] - A constant that defines the minimum height of the
|
|
17849
17867
|
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
|
|
17850
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
17868
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
|
|
17851
17869
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
17852
17870
|
*/
|
|
17853
17871
|
static fromConstantHeights(options: {
|
|
@@ -17887,7 +17905,7 @@ export class WallGeometry {
|
|
|
17887
17905
|
* wall at <code>positions</code>. If undefined, the height of each position in used.
|
|
17888
17906
|
* @param [options.minimumHeights] - An array parallel to <code>positions</code> that give the minimum height of the
|
|
17889
17907
|
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
|
|
17890
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
17908
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
|
|
17891
17909
|
*/
|
|
17892
17910
|
export class WallOutlineGeometry {
|
|
17893
17911
|
constructor(options: {
|
|
@@ -17940,7 +17958,7 @@ export class WallOutlineGeometry {
|
|
|
17940
17958
|
* wall at <code>positions</code>. If undefined, the height of each position in used.
|
|
17941
17959
|
* @param [options.minimumHeight] - A constant that defines the minimum height of the
|
|
17942
17960
|
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
|
|
17943
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
17961
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
|
|
17944
17962
|
*/
|
|
17945
17963
|
static fromConstantHeights(options: {
|
|
17946
17964
|
positions: Cartesian3[];
|
|
@@ -18021,8 +18039,8 @@ export class WebMercatorProjection {
|
|
|
18021
18039
|
* A tiling scheme for geometry referenced to a {@link WebMercatorProjection}, EPSG:3857. This is
|
|
18022
18040
|
* the tiling scheme used by Google Maps, Microsoft Bing Maps, and most of ESRI ArcGIS Online.
|
|
18023
18041
|
* @param [options] - Object with the following properties:
|
|
18024
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
18025
|
-
* the
|
|
18042
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid whose surface is being tiled. Defaults to
|
|
18043
|
+
* the default ellipsoid.
|
|
18026
18044
|
* @param [options.numberOfLevelZeroTilesX = 1] - The number of tiles in the X direction at level zero of
|
|
18027
18045
|
* the tile tree.
|
|
18028
18046
|
* @param [options.numberOfLevelZeroTilesY = 1] - The number of tiles in the Y direction at level zero of
|
|
@@ -18532,7 +18550,7 @@ export function queryToObject(queryString: string): any;
|
|
|
18532
18550
|
* @param terrainProvider - The terrain provider from which to query heights.
|
|
18533
18551
|
* @param level - The terrain level-of-detail from which to query terrain heights.
|
|
18534
18552
|
* @param positions - The positions to update with terrain heights.
|
|
18535
|
-
* @param [rejectOnTileFail = false] - If true, for
|
|
18553
|
+
* @param [rejectOnTileFail = false] - If true, for any failed terrain tile requests, the promise will be rejected. If false, returned heights will be undefined.
|
|
18536
18554
|
* @returns A promise that resolves to the provided list of positions when terrain the query has completed.
|
|
18537
18555
|
*/
|
|
18538
18556
|
export function sampleTerrain(terrainProvider: TerrainProvider, level: number, positions: Cartographic[], rejectOnTileFail?: boolean): Promise<Cartographic[]>;
|
|
@@ -21210,7 +21228,7 @@ export namespace EntityCollection {
|
|
|
21210
21228
|
* A utility object for tracking an entity with the camera.
|
|
21211
21229
|
* @param entity - The entity to track with the camera.
|
|
21212
21230
|
* @param scene - The scene to use.
|
|
21213
|
-
* @param [ellipsoid = Ellipsoid.
|
|
21231
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use for orienting the camera.
|
|
21214
21232
|
*/
|
|
21215
21233
|
export class EntityView {
|
|
21216
21234
|
constructor(entity: Entity, scene: Scene, ellipsoid?: Ellipsoid);
|
|
@@ -21847,7 +21865,7 @@ export namespace KmlDataSource {
|
|
|
21847
21865
|
* Initialization options for the `load` method.
|
|
21848
21866
|
* @property [sourceUri] - Overrides the url to use for resolving relative links and other KML network features.
|
|
21849
21867
|
* @property [clampToGround = false] - true if we want the geometry features (Polygons, LineStrings and LinearRings) clamped to the ground.
|
|
21850
|
-
* @property [ellipsoid = Ellipsoid.
|
|
21868
|
+
* @property [ellipsoid = Ellipsoid.default] - The global ellipsoid used for geographical calculations.
|
|
21851
21869
|
* @property [screenOverlayContainer] - A container for ScreenOverlay images.
|
|
21852
21870
|
*/
|
|
21853
21871
|
type LoadOptions = {
|
|
@@ -21863,7 +21881,7 @@ export namespace KmlDataSource {
|
|
|
21863
21881
|
* @property [credit] - A credit for the data source, which is displayed on the canvas.
|
|
21864
21882
|
* @property [sourceUri] - Overrides the url to use for resolving relative links and other KML network features.
|
|
21865
21883
|
* @property [clampToGround = false] - true if we want the geometry features (Polygons, LineStrings and LinearRings) clamped to the ground.
|
|
21866
|
-
* @property [ellipsoid = Ellipsoid.
|
|
21884
|
+
* @property [ellipsoid = Ellipsoid.default] - The global ellipsoid used for geographical calculations.
|
|
21867
21885
|
* @property [screenOverlayContainer] - A container for ScreenOverlay images.
|
|
21868
21886
|
*/
|
|
21869
21887
|
type ConstructorOptions = {
|
|
@@ -24952,7 +24970,7 @@ export class TimeIntervalCollectionProperty {
|
|
|
24952
24970
|
* orientation : new Cesium.VelocityOrientationProperty(position)
|
|
24953
24971
|
* }));
|
|
24954
24972
|
* @param [position] - The position property used to compute the orientation.
|
|
24955
|
-
* @param [ellipsoid = Ellipsoid.
|
|
24973
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid used to determine which way is up.
|
|
24956
24974
|
*/
|
|
24957
24975
|
export class VelocityOrientationProperty {
|
|
24958
24976
|
constructor(position?: PositionProperty, ellipsoid?: Ellipsoid);
|
|
@@ -25243,7 +25261,7 @@ export type exportKmlResultKmz = {
|
|
|
25243
25261
|
* });
|
|
25244
25262
|
* @param options - An object with the following properties:
|
|
25245
25263
|
* @param options.entities - The EntityCollection to export as KML.
|
|
25246
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
25264
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for the output file.
|
|
25247
25265
|
* @param [options.modelCallback] - A callback that will be called with a {@link ModelGraphics} instance and should return the URI to use in the KML. Required if a model exists in the entity collection.
|
|
25248
25266
|
* @param [options.time = entities.computeAvailability().start] - The time value to use to get properties that are not time varying in KML.
|
|
25249
25267
|
* @param [options.defaultAvailability = entities.computeAvailability()] - The interval that will be sampled if an entity doesn't have an availability.
|
|
@@ -25494,9 +25512,9 @@ export namespace ArcGisMapServerImageryProvider {
|
|
|
25494
25512
|
* a tiled layer.
|
|
25495
25513
|
* @property [tilingScheme = new GeographicTilingScheme()] - The tiling scheme to use to divide the world into tiles.
|
|
25496
25514
|
* This parameter is ignored when accessing a tiled server.
|
|
25497
|
-
* @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified and used,
|
|
25515
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified and used,
|
|
25498
25516
|
* this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
|
|
25499
|
-
* parameter is specified, the
|
|
25517
|
+
* parameter is specified, the default ellipsoid is used.
|
|
25500
25518
|
* @property [credit] - A credit for the data source, which is displayed on the canvas. This parameter is ignored when accessing a tiled server.
|
|
25501
25519
|
* @property [tileWidth = 256] - The width of each tile in pixels. This parameter is ignored when accessing a tiled server.
|
|
25502
25520
|
* @property [tileHeight = 256] - The height of each tile in pixels. This parameter is ignored when accessing a tiled server.
|
|
@@ -25850,7 +25868,7 @@ export namespace Billboard {
|
|
|
25850
25868
|
*/
|
|
25851
25869
|
type ConstructorOptions = {
|
|
25852
25870
|
position: Cartesian3;
|
|
25853
|
-
id?:
|
|
25871
|
+
id?: any;
|
|
25854
25872
|
show?: boolean;
|
|
25855
25873
|
image?: string | HTMLCanvasElement;
|
|
25856
25874
|
scale?: number;
|
|
@@ -26414,7 +26432,7 @@ export namespace BingMapsImageryProvider {
|
|
|
26414
26432
|
* @property [culture = ''] - The culture to use when requesting Bing Maps imagery. Not
|
|
26415
26433
|
* all cultures are supported. See {@link http://msdn.microsoft.com/en-us/library/hh441729.aspx}
|
|
26416
26434
|
* for information on the supported cultures.
|
|
26417
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
26435
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
26418
26436
|
* @property [tileDiscardPolicy] - The policy that determines if a tile
|
|
26419
26437
|
* is invalid and should be discarded. By default, a {@link DiscardEmptyTileImagePolicy}
|
|
26420
26438
|
* will be used, with the expectation that the Bing Maps server will send a zero-length response for missing tiles.
|
|
@@ -27001,7 +27019,7 @@ export class Camera {
|
|
|
27001
27019
|
* }
|
|
27002
27020
|
* });
|
|
27003
27021
|
* @param options - Object with the following properties:
|
|
27004
|
-
* @param [options.destination] - The final position of the camera in
|
|
27022
|
+
* @param [options.destination] - The final position of the camera in world coordinates or a rectangle that would be visible from a top-down view.
|
|
27005
27023
|
* @param [options.orientation] - An object that contains either direction and up properties or heading, pitch and roll properties. By default, the direction will point
|
|
27006
27024
|
* towards the center of the frame in 3D and in the negative z direction in Columbus view. The up direction will point towards local north in 3D and in the positive
|
|
27007
27025
|
* y direction in Columbus view. Orientation is not used in 2D when in infinite scrolling mode.
|
|
@@ -27251,10 +27269,10 @@ export class Camera {
|
|
|
27251
27269
|
* @example
|
|
27252
27270
|
* const canvas = viewer.scene.canvas;
|
|
27253
27271
|
* const center = new Cesium.Cartesian2(canvas.clientWidth / 2.0, canvas.clientHeight / 2.0);
|
|
27254
|
-
* const ellipsoid = viewer.scene.
|
|
27272
|
+
* const ellipsoid = viewer.scene.ellipsoid;
|
|
27255
27273
|
* const result = viewer.camera.pickEllipsoid(center, ellipsoid);
|
|
27256
27274
|
* @param windowPosition - The x and y coordinates of a pixel.
|
|
27257
|
-
* @param [ellipsoid = Ellipsoid.
|
|
27275
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid to pick.
|
|
27258
27276
|
* @param [result] - The object onto which to store the result.
|
|
27259
27277
|
* @returns If the ellipsoid or map was picked,
|
|
27260
27278
|
* returns the point on the surface of the ellipsoid or map in world
|
|
@@ -27325,7 +27343,7 @@ export class Camera {
|
|
|
27325
27343
|
* }
|
|
27326
27344
|
* });
|
|
27327
27345
|
* @param options - Object with the following properties:
|
|
27328
|
-
* @param options.destination - The final position of the camera in
|
|
27346
|
+
* @param options.destination - The final position of the camera in world coordinates or a rectangle that would be visible from a top-down view.
|
|
27329
27347
|
* @param [options.orientation] - An object that contains either direction and up properties or heading, pitch and roll properties. By default, the direction will point
|
|
27330
27348
|
* towards the center of the frame in 3D and in the negative z direction in Columbus view. The up direction will point towards local north in 3D and in the positive
|
|
27331
27349
|
* y direction in Columbus view. Orientation is not used in 2D when in infinite scrolling mode.
|
|
@@ -27408,7 +27426,7 @@ export class Camera {
|
|
|
27408
27426
|
}): void;
|
|
27409
27427
|
/**
|
|
27410
27428
|
* Computes the approximate visible rectangle on the ellipsoid.
|
|
27411
|
-
* @param [ellipsoid = Ellipsoid.
|
|
27429
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid that you want to know the visible region.
|
|
27412
27430
|
* @param [result] - The rectangle in which to store the result
|
|
27413
27431
|
* @returns The visible rectangle or undefined if the ellipsoid isn't visible at all.
|
|
27414
27432
|
*/
|
|
@@ -30774,7 +30792,7 @@ export class ConeEmitter {
|
|
|
30774
30792
|
* const credit = new Cesium.Credit('<a href="https://cesium.com/" target="_blank">Cesium</a>');
|
|
30775
30793
|
* viewer.creditDisplay.addStaticCredit(credit);
|
|
30776
30794
|
* @param container - The HTML element where credits will be displayed
|
|
30777
|
-
* @param [delimiter = '
|
|
30795
|
+
* @param [delimiter = '•'] - The string to separate text credits
|
|
30778
30796
|
* @param [viewport = document.body] - The HTML element that will contain the credits popup
|
|
30779
30797
|
*/
|
|
30780
30798
|
export class CreditDisplay {
|
|
@@ -31704,7 +31722,7 @@ export class GetFeatureInfoFormat {
|
|
|
31704
31722
|
/**
|
|
31705
31723
|
* The globe rendered in the scene, including its terrain ({@link Globe#terrainProvider})
|
|
31706
31724
|
* and imagery layers ({@link Globe#imageryLayers}). Access the globe using {@link Scene#globe}.
|
|
31707
|
-
* @param [ellipsoid = Ellipsoid.
|
|
31725
|
+
* @param [ellipsoid = Ellipsoid.default] - Determines the size and shape of the
|
|
31708
31726
|
* globe.
|
|
31709
31727
|
*/
|
|
31710
31728
|
export class Globe {
|
|
@@ -32102,7 +32120,7 @@ export function removeExtension(gltf: any, extension: string): any;
|
|
|
32102
32120
|
export namespace GoogleEarthEnterpriseImageryProvider {
|
|
32103
32121
|
/**
|
|
32104
32122
|
* Initialization options for the GoogleEarthEnterpriseImageryProvider constructor
|
|
32105
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
32123
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
32106
32124
|
* @property [tileDiscardPolicy] - The policy that determines if a tile
|
|
32107
32125
|
* is invalid and should be discarded. If this value is not specified, a default
|
|
32108
32126
|
* is to discard tiles that fail to download.
|
|
@@ -32255,7 +32273,7 @@ export namespace GoogleEarthEnterpriseMapsProvider {
|
|
|
32255
32273
|
* @property [tileDiscardPolicy] - The policy that determines if a tile
|
|
32256
32274
|
* is invalid and should be discarded. To ensure that no tiles are discarded, construct and pass
|
|
32257
32275
|
* a {@link NeverTileDiscardPolicy} for this parameter.
|
|
32258
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
32276
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
32259
32277
|
*/
|
|
32260
32278
|
type ConstructorOptions = {
|
|
32261
32279
|
channel: number;
|
|
@@ -32411,9 +32429,9 @@ export namespace GridImageryProvider {
|
|
|
32411
32429
|
/**
|
|
32412
32430
|
* Initialization options for the GridImageryProvider constructor
|
|
32413
32431
|
* @property [tilingScheme = new GeographicTilingScheme()] - The tiling scheme for which to draw tiles.
|
|
32414
|
-
* @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified,
|
|
32432
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
|
|
32415
32433
|
* this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
|
|
32416
|
-
* parameter is specified, the
|
|
32434
|
+
* parameter is specified, the default ellipsoid is used.
|
|
32417
32435
|
* @property [cells = 8] - The number of grids cells.
|
|
32418
32436
|
* @property [color = Color(1.0, 1.0, 1.0, 0.4)] - The color to draw grid lines.
|
|
32419
32437
|
* @property [glowColor = Color(0.0, 1.0, 0.0, 0.05)] - The color to draw glow for grid lines.
|
|
@@ -34422,7 +34440,7 @@ export namespace Label {
|
|
|
34422
34440
|
*/
|
|
34423
34441
|
type ConstructorOptions = {
|
|
34424
34442
|
position: Cartesian3;
|
|
34425
|
-
id?:
|
|
34443
|
+
id?: any;
|
|
34426
34444
|
show?: boolean;
|
|
34427
34445
|
text?: string;
|
|
34428
34446
|
font?: string;
|
|
@@ -34956,7 +34974,7 @@ export namespace MapboxImageryProvider {
|
|
|
34956
34974
|
* @property mapId - The Mapbox Map ID.
|
|
34957
34975
|
* @property accessToken - The public access token for the imagery.
|
|
34958
34976
|
* @property [format = 'png'] - The format of the image request.
|
|
34959
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
34977
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
34960
34978
|
* @property [minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider. Take care when specifying
|
|
34961
34979
|
* this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
|
|
34962
34980
|
* to result in rendering problems.
|
|
@@ -35093,7 +35111,7 @@ export namespace MapboxStyleImageryProvider {
|
|
|
35093
35111
|
* @property accessToken - The public access token for the imagery.
|
|
35094
35112
|
* @property [tilesize = 512] - The size of the image tiles.
|
|
35095
35113
|
* @property [scaleFactor] - Determines if tiles are rendered at a @2x scale factor.
|
|
35096
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
35114
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
35097
35115
|
* @property [minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider. Take care when specifying
|
|
35098
35116
|
* this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
|
|
35099
35117
|
* to result in rendering problems.
|
|
@@ -39948,7 +39966,8 @@ export class PrimitiveCollection {
|
|
|
39948
39966
|
* @param [options.contextOptions] - Context and WebGL creation properties.
|
|
39949
39967
|
* @param [options.creditContainer] - The HTML element in which the credits will be displayed.
|
|
39950
39968
|
* @param [options.creditViewport] - The HTML element in which to display the credit popup. If not specified, the viewport will be a added as a sibling of the canvas.
|
|
39951
|
-
* @param [options.
|
|
39969
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The default ellipsoid. If not specified, the default ellipsoid is used.
|
|
39970
|
+
* @param [options.mapProjection = new GeographicProjection(options.ellipsoid)] - The map projection to use in 2D and Columbus View modes.
|
|
39952
39971
|
* @param [options.orderIndependentTranslucency = true] - If true and the configuration supports it, use order independent translucency.
|
|
39953
39972
|
* @param [options.scene3DOnly = false] - If true, optimizes memory use and performance for 3D mode but disables the ability to use 2D or Columbus View.
|
|
39954
39973
|
* @param [options.shadows = false] - Determines if shadows are cast by light sources.
|
|
@@ -39964,6 +39983,7 @@ export class Scene {
|
|
|
39964
39983
|
contextOptions?: ContextOptions;
|
|
39965
39984
|
creditContainer?: Element;
|
|
39966
39985
|
creditViewport?: Element;
|
|
39986
|
+
ellipsoid?: Ellipsoid;
|
|
39967
39987
|
mapProjection?: MapProjection;
|
|
39968
39988
|
orderIndependentTranslucency?: boolean;
|
|
39969
39989
|
scene3DOnly?: boolean;
|
|
@@ -40153,6 +40173,8 @@ export class Scene {
|
|
|
40153
40173
|
/**
|
|
40154
40174
|
* Blends the atmosphere to geometry far from the camera for horizon views. Allows for additional
|
|
40155
40175
|
* performance improvements by rendering less geometry and dispatching less terrain requests.
|
|
40176
|
+
*
|
|
40177
|
+
* Disbaled by default if an ellipsoid other than WGS84 is used.
|
|
40156
40178
|
*/
|
|
40157
40179
|
fog: Fog;
|
|
40158
40180
|
/**
|
|
@@ -40255,6 +40277,10 @@ export class Scene {
|
|
|
40255
40277
|
* Returns <code>true</code> if specular environment maps are supported.
|
|
40256
40278
|
*/
|
|
40257
40279
|
readonly specularEnvironmentMapsSupported: boolean;
|
|
40280
|
+
/**
|
|
40281
|
+
* The ellipsoid. If not specified, the default ellipsoid is used.
|
|
40282
|
+
*/
|
|
40283
|
+
readonly ellipsoid: Ellipsoid;
|
|
40258
40284
|
/**
|
|
40259
40285
|
* Gets or sets the depth-test ellipsoid.
|
|
40260
40286
|
*/
|
|
@@ -40575,7 +40601,6 @@ export class Scene {
|
|
|
40575
40601
|
* @example
|
|
40576
40602
|
* // Output the canvas position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40577
40603
|
* const scene = widget.scene;
|
|
40578
|
-
* const ellipsoid = scene.globe.ellipsoid;
|
|
40579
40604
|
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40580
40605
|
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40581
40606
|
* handler.setInputAction(function(movement) {
|
|
@@ -40670,13 +40695,29 @@ export enum SceneMode {
|
|
|
40670
40695
|
* Functions that do scene-dependent transforms between rendering-related coordinate systems.
|
|
40671
40696
|
*/
|
|
40672
40697
|
export namespace SceneTransforms {
|
|
40698
|
+
/**
|
|
40699
|
+
* Transforms a position in world (WGS84 or alternative ellipsoid) coordinates to window coordinates. This is commonly used to place an
|
|
40700
|
+
* HTML element at the same screen position as an object in the scene.
|
|
40701
|
+
* @example
|
|
40702
|
+
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40703
|
+
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40704
|
+
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40705
|
+
* handler.setInputAction(function(movement) {
|
|
40706
|
+
* console.log(Cesium.SceneTransforms.worldToWindowCoordinates(scene, position));
|
|
40707
|
+
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
40708
|
+
* @param scene - The scene.
|
|
40709
|
+
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
40710
|
+
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40711
|
+
* @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
|
|
40712
|
+
*/
|
|
40713
|
+
function worldToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40673
40714
|
/**
|
|
40674
40715
|
* Transforms a position in WGS84 coordinates to window coordinates. This is commonly used to place an
|
|
40675
40716
|
* HTML element at the same screen position as an object in the scene.
|
|
40676
40717
|
* @example
|
|
40677
40718
|
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40678
40719
|
* const scene = widget.scene;
|
|
40679
|
-
* const ellipsoid = scene.
|
|
40720
|
+
* const ellipsoid = scene.ellipsoid;
|
|
40680
40721
|
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40681
40722
|
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40682
40723
|
* handler.setInputAction(function(movement) {
|
|
@@ -40687,25 +40728,39 @@ export namespace SceneTransforms {
|
|
|
40687
40728
|
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40688
40729
|
* @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
|
|
40689
40730
|
*/
|
|
40690
|
-
function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2;
|
|
40731
|
+
function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40732
|
+
/**
|
|
40733
|
+
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
40734
|
+
* results from SceneTransforms.worldToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
40735
|
+
* @example
|
|
40736
|
+
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40737
|
+
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40738
|
+
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40739
|
+
* handler.setInputAction(function(movement) {
|
|
40740
|
+
* console.log(Cesium.SceneTransforms.worldToDrawingBufferCoordinates(scene, position));
|
|
40741
|
+
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
40742
|
+
* @param scene - The scene.
|
|
40743
|
+
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
40744
|
+
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40745
|
+
* @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
|
|
40746
|
+
*/
|
|
40747
|
+
function worldToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40691
40748
|
/**
|
|
40692
|
-
* Transforms a position in
|
|
40749
|
+
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
40693
40750
|
* results from SceneTransforms.wgs84ToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
40694
40751
|
* @example
|
|
40695
40752
|
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40696
|
-
* const scene = widget.scene;
|
|
40697
|
-
* const ellipsoid = scene.globe.ellipsoid;
|
|
40698
40753
|
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40699
40754
|
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40700
40755
|
* handler.setInputAction(function(movement) {
|
|
40701
40756
|
* console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
|
|
40702
40757
|
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
40703
40758
|
* @param scene - The scene.
|
|
40704
|
-
* @param position - The position in WGS84
|
|
40759
|
+
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
40705
40760
|
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40706
40761
|
* @returns The modified result parameter or a new Cartesian2 instance if one was not provided. This may be <code>undefined</code> if the input position is near the center of the ellipsoid.
|
|
40707
40762
|
*/
|
|
40708
|
-
function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2;
|
|
40763
|
+
function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40709
40764
|
}
|
|
40710
40765
|
|
|
40711
40766
|
/**
|
|
@@ -40831,20 +40886,20 @@ export class ScreenSpaceCameraController {
|
|
|
40831
40886
|
*/
|
|
40832
40887
|
lookEventTypes: CameraEventType | any[] | undefined;
|
|
40833
40888
|
/**
|
|
40834
|
-
* The minimum height the camera must be before picking the terrain or scene content instead of the ellipsoid.
|
|
40889
|
+
* The minimum height the camera must be before picking the terrain or scene content instead of the ellipsoid. Defaults to scene.ellipsoid.minimumRadius * 0.025 when another ellipsoid than WGS84 is used.
|
|
40835
40890
|
*/
|
|
40836
40891
|
minimumPickingTerrainHeight: number;
|
|
40837
40892
|
/**
|
|
40838
|
-
* The minimum distance the camera must be before testing for collision with terrain when zoom with inertia.
|
|
40893
|
+
* The minimum distance the camera must be before testing for collision with terrain when zoom with inertia. Default to scene.ellipsoid.minimumRadius * 0.00063 when another ellipsoid than WGS84 is used.
|
|
40839
40894
|
*/
|
|
40840
40895
|
minimumPickingTerrainDistanceWithInertia: number;
|
|
40841
40896
|
/**
|
|
40842
|
-
* The minimum height the camera must be before testing for collision with terrain.
|
|
40897
|
+
* The minimum height the camera must be before testing for collision with terrain. Default to scene.ellipsoid.minimumRadius * 0.0025 when another ellipsoid than WGS84 is used.
|
|
40843
40898
|
*/
|
|
40844
40899
|
minimumCollisionTerrainHeight: number;
|
|
40845
40900
|
/**
|
|
40846
40901
|
* The minimum height the camera must be before switching from rotating a track ball to
|
|
40847
|
-
* free look when clicks originate on the sky or in space.
|
|
40902
|
+
* free look when clicks originate on the sky or in space. Defaults to ellipsoid.minimumRadius * 1.175 when another ellipsoid than WGS84 is used.
|
|
40848
40903
|
*/
|
|
40849
40904
|
minimumTrackBallHeight: number;
|
|
40850
40905
|
/**
|
|
@@ -41242,6 +41297,13 @@ export class SkyBox {
|
|
|
41242
41297
|
* skyBox = skyBox && skyBox.destroy();
|
|
41243
41298
|
*/
|
|
41244
41299
|
destroy(): void;
|
|
41300
|
+
/**
|
|
41301
|
+
* Creates a skybox instance with the default starmap for the Earth.
|
|
41302
|
+
* @example
|
|
41303
|
+
* viewer.scene.skyBox = Cesium.SkyBox.createEarthSkyBox();
|
|
41304
|
+
* @returns The default skybox for the Earth
|
|
41305
|
+
*/
|
|
41306
|
+
static createEarthSkyBox(): SkyBox;
|
|
41245
41307
|
}
|
|
41246
41308
|
|
|
41247
41309
|
/**
|
|
@@ -43364,16 +43426,17 @@ export function createWorldImageryAsync(options?: {
|
|
|
43364
43426
|
* @param container - The DOM element or ID that will contain the widget.
|
|
43365
43427
|
* @param [options] - Object with the following properties:
|
|
43366
43428
|
* @param [options.clock = new Clock()] - The clock to use to control current time.
|
|
43429
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The default ellipsoid.
|
|
43367
43430
|
* @param [options.baseLayer = ImageryLayer.fromWorldImagery()] - The bottommost imagery layer applied to the globe. If set to <code>false</code>, no imagery provider will be added.
|
|
43368
|
-
* @param [options.terrainProvider = new EllipsoidTerrainProvider] - The terrain provider.
|
|
43431
|
+
* @param [options.terrainProvider = new EllipsoidTerrainProvider(options.ellipsoid)] - The terrain provider.
|
|
43369
43432
|
* @param [options.terrain] - A terrain object which handles asynchronous terrain provider. Can only specify if options.terrainProvider is undefined.
|
|
43370
|
-
* @param [options.skyBox] - The skybox used to render the stars.
|
|
43371
|
-
* @param [options.skyAtmosphere] - Blue sky, and the glow around the Earth's limb.
|
|
43433
|
+
* @param [options.skyBox] - The skybox used to render the stars. When <code>undefined</code> and the WGS84 ellipsoid used, the default stars are used. If set to <code>false</code>, no skyBox, Sun, or Moon will be added.
|
|
43434
|
+
* @param [options.skyAtmosphere] - Blue sky, and the glow around the Earth's limb. Enabled when the default ellipsoid used. Set to <code>false</code> to turn it off.
|
|
43372
43435
|
* @param [options.sceneMode = SceneMode.SCENE3D] - The initial scene mode.
|
|
43373
43436
|
* @param [options.scene3DOnly = false] - When <code>true</code>, each geometry instance will only be rendered in 3D to save GPU memory.
|
|
43374
43437
|
* @param [options.orderIndependentTranslucency = true] - If true and the configuration supports it, use order independent translucency.
|
|
43375
|
-
* @param [options.mapProjection = new GeographicProjection()] - The map projection to use in 2D and Columbus View modes.
|
|
43376
|
-
* @param [options.globe = new Globe(
|
|
43438
|
+
* @param [options.mapProjection = new GeographicProjection(options.ellipsoid)] - The map projection to use in 2D and Columbus View modes.
|
|
43439
|
+
* @param [options.globe = new Globe(options.ellipsoid)] - The globe to use in the scene. If set to <code>false</code>, no globe will be added and the sky atmosphere will be hidden by default.
|
|
43377
43440
|
* @param [options.useDefaultRenderLoop = true] - True if this widget should control the render loop, false otherwise.
|
|
43378
43441
|
* @param [options.useBrowserRecommendedResolution = true] - If true, render at the browser's recommended resolution and ignore <code>window.devicePixelRatio</code>.
|
|
43379
43442
|
* @param [options.targetFrameRate] - The target frame rate when using the default render loop.
|
|
@@ -43393,6 +43456,7 @@ export function createWorldImageryAsync(options?: {
|
|
|
43393
43456
|
export class CesiumWidget {
|
|
43394
43457
|
constructor(container: Element | string, options?: {
|
|
43395
43458
|
clock?: Clock;
|
|
43459
|
+
ellipsoid?: Ellipsoid;
|
|
43396
43460
|
baseLayer?: ImageryLayer | false;
|
|
43397
43461
|
terrainProvider?: TerrainProvider;
|
|
43398
43462
|
terrain?: Terrain;
|
|
@@ -43454,6 +43518,10 @@ export class CesiumWidget {
|
|
|
43454
43518
|
* Gets the camera.
|
|
43455
43519
|
*/
|
|
43456
43520
|
readonly camera: Camera;
|
|
43521
|
+
/**
|
|
43522
|
+
* Gets the default ellipsoid for the scene.
|
|
43523
|
+
*/
|
|
43524
|
+
readonly ellipsoid: Ellipsoid;
|
|
43457
43525
|
/**
|
|
43458
43526
|
* Gets the clock.
|
|
43459
43527
|
*/
|