@cesium/engine 9.2.0 → 10.1.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/Workers/{chunk-GOQEANLM.js → chunk-2GEAGYUY.js} +13 -13
- package/Build/Workers/{chunk-WOYQB5HM.js → chunk-2J3JKXCP.js} +5 -5
- package/Build/Workers/{chunk-IXYFH7DV.js → chunk-3WUV74WM.js} +2 -2
- package/Build/Workers/{chunk-WHDEZSAL.js → chunk-4MSUJ4I7.js} +8 -8
- package/Build/Workers/chunk-4RMIRG6T.js +1800 -0
- package/Build/Workers/{chunk-CVCVMOQA.js → chunk-4VFBBNQ3.js} +1 -1
- package/Build/Workers/{chunk-ZHJDE6JN.js → chunk-4YSNMHZ4.js} +6 -6
- package/Build/Workers/{chunk-YGNQJ4YI.js → chunk-5BLJ5ZM6.js} +5 -5
- package/Build/Workers/{chunk-4RG6WOXH.js → chunk-5KWHSZYL.js} +11 -11
- package/Build/Workers/{chunk-BBBTT36L.js → chunk-5O6JWQ4E.js} +14 -14
- package/Build/Workers/{chunk-GX2BWBN2.js → chunk-65MZOUNU.js} +14 -14
- package/Build/Workers/{chunk-K5F23SZO.js → chunk-6D66DPRV.js} +7 -7
- package/Build/Workers/{chunk-2TRB253J.js → chunk-6OFDHMHR.js} +7 -7
- package/Build/Workers/{chunk-U6MTSO6A.js → chunk-76BYYG7N.js} +424 -449
- package/Build/Workers/{chunk-3PV5HQ2R.js → chunk-A5CODJ4M.js} +6 -6
- package/Build/Workers/{chunk-IF2OX6R4.js → chunk-AA4GZKOT.js} +1 -1
- package/Build/Workers/{chunk-OYP23VAL.js → chunk-ACRTCBN5.js} +11 -11
- package/Build/Workers/chunk-B75IEX2S.js +390 -0
- package/Build/Workers/{chunk-EODIOQ35.js → chunk-BAVI3ZS2.js} +1 -1
- package/Build/Workers/{chunk-CFBGPZU6.js → chunk-BBDZYSZB.js} +10 -10
- package/Build/Workers/{chunk-LZFFO4KB.js → chunk-BGE4QVG7.js} +12 -12
- package/Build/Workers/chunk-BY3E4ONI.js +456 -0
- package/Build/Workers/{chunk-RDR4KVPA.js → chunk-C3Z23UUJ.js} +18 -18
- package/Build/Workers/{chunk-I6CW7ZE5.js → chunk-C45MU4GZ.js} +10 -8
- package/Build/Workers/chunk-CF7P7K7E.js +684 -0
- package/Build/Workers/{chunk-KTZK2UDR.js → chunk-D2U4RI64.js} +7 -7
- package/Build/Workers/{chunk-QZIWFSRM.js → chunk-D4K27X2M.js} +4 -4
- package/Build/Workers/{chunk-UYKG3UFK.js → chunk-DKVHRNFY.js} +5 -5
- package/Build/Workers/{chunk-5OK5JFDP.js → chunk-EB7PNZTK.js} +5 -5
- package/Build/Workers/{chunk-7PFZ4Z7C.js → chunk-ELI4BUOT.js} +11 -9
- package/Build/Workers/chunk-F3NDOSTZ.js +963 -0
- package/Build/Workers/{chunk-3VDHTBY5.js → chunk-FDCLACT5.js} +10 -10
- package/Build/Workers/{chunk-BNT2SNWU.js → chunk-FEVVHITK.js} +4 -4
- package/Build/Workers/{chunk-7HLZRYGD.js → chunk-FOZWUH4T.js} +7 -7
- package/Build/Workers/chunk-FQPSOOPH.js +258 -0
- package/Build/Workers/{chunk-A5CSB5ZE.js → chunk-G5V4GPZE.js} +9 -9
- package/Build/Workers/{chunk-TDIGL45B.js → chunk-GNHZH7HP.js} +1 -1
- package/Build/Workers/{chunk-26NE4LRW.js → chunk-GPJR7MPQ.js} +11 -8
- package/Build/Workers/chunk-GWT64LKY.js +171 -0
- package/Build/Workers/{chunk-PUQR43HZ.js → chunk-HGEEOMSC.js} +6 -6
- package/Build/Workers/{chunk-SC3TBKST.js → chunk-I2RC4XVN.js} +4 -4
- package/Build/Workers/chunk-IUROUBPA.js +300 -0
- package/Build/Workers/{chunk-G7IAO7CW.js → chunk-J7MQUQJY.js} +7 -7
- package/Build/Workers/chunk-JNLWLSTP.js +476 -0
- package/Build/Workers/{chunk-TP4FFUAH.js → chunk-JYQNWIQQ.js} +2 -2
- package/Build/Workers/{chunk-RRUO4QEK.js → chunk-KUN2ZA5X.js} +4 -4
- package/Build/Workers/chunk-KV4EQHK4.js +1477 -0
- package/Build/Workers/chunk-LSSWVB2X.js +138 -0
- package/Build/Workers/{chunk-EJZVBTX4.js → chunk-LXQ5QAEJ.js} +6 -6
- package/Build/Workers/chunk-MBZH7YZ7.js +945 -0
- package/Build/Workers/{chunk-WP3LCUOE.js → chunk-MKXWJTFQ.js} +13 -13
- package/Build/Workers/{chunk-AROLUUGS.js → chunk-MMV6TO3P.js} +2 -2
- package/Build/Workers/{chunk-ETC45PHH.js → chunk-MSKXMXJI.js} +4 -4
- package/Build/Workers/chunk-N4QEHO3U.js +75 -0
- package/Build/Workers/chunk-NVOABL76.js +100 -0
- package/Build/Workers/chunk-OAPA2RTG.js +239 -0
- package/Build/Workers/{chunk-PHT53MCH.js → chunk-OE4MCOC7.js} +13 -13
- package/Build/Workers/chunk-OJF4RTJG.js +634 -0
- package/Build/Workers/{chunk-UICVDDCQ.js → chunk-OOK53QUQ.js} +1 -1
- package/Build/Workers/{chunk-W4OS542B.js → chunk-OOMCT7OL.js} +13 -13
- package/Build/Workers/{chunk-YGTWKLFY.js → chunk-OWGTMVDB.js} +19 -19
- package/Build/Workers/{chunk-GUFV24F4.js → chunk-OXALEQPI.js} +61 -17
- package/Build/Workers/chunk-OXSI7N4C.js +768 -0
- package/Build/Workers/{chunk-26XJDV3D.js → chunk-PNFHVBSF.js} +15 -15
- package/Build/Workers/chunk-POSRARY7.js +834 -0
- package/Build/Workers/{chunk-GX5LMUGZ.js → chunk-PYHLO636.js} +42 -13
- package/Build/Workers/chunk-Q55ECN3Y.js +37 -0
- package/Build/Workers/chunk-QD4KM3GO.js +138 -0
- package/Build/Workers/chunk-QMLTCCYG.js +55 -0
- package/Build/Workers/chunk-QX5XS4LC.js +101 -0
- package/Build/Workers/{chunk-UKJCFXVV.js → chunk-QYQIVZBU.js} +6 -6
- package/Build/Workers/chunk-R3TKLC6E.js +1075 -0
- package/Build/Workers/chunk-R4OIEIPE.js +500 -0
- package/Build/Workers/chunk-R4ZEWO4I.js +122 -0
- package/Build/Workers/chunk-R6B7UCQB.js +44 -0
- package/Build/Workers/chunk-RCK55EDX.js +691 -0
- package/Build/Workers/chunk-RHBWXX7C.js +629 -0
- package/Build/Workers/chunk-RZLZWKFN.js +305 -0
- package/Build/Workers/{chunk-DIVFF6DK.js → chunk-S3PI2KFM.js} +2 -2
- package/Build/Workers/chunk-SAPFXU5X.js +102 -0
- package/Build/Workers/chunk-T6LPN7RI.js +2857 -0
- package/Build/Workers/{chunk-U2LSTOMA.js → chunk-T77JILCU.js} +2 -2
- package/Build/Workers/chunk-TBBFDFCS.js +368 -0
- package/Build/Workers/chunk-TF776XCO.js +1258 -0
- package/Build/Workers/chunk-TGY6H6N6.js +163 -0
- package/Build/Workers/{chunk-RTIT7UDN.js → chunk-TO2PVHKI.js} +2 -2
- package/Build/Workers/chunk-UCIPJSZX.js +398 -0
- package/Build/Workers/chunk-UOEUCKKU.js +59 -0
- package/Build/Workers/chunk-VE7BFUIX.js +39 -0
- package/Build/Workers/chunk-VFBNELXB.js +353 -0
- package/Build/Workers/chunk-VRZ46QZ5.js +781 -0
- package/Build/Workers/chunk-VYWUFRRR.js +1052 -0
- package/Build/Workers/chunk-WVSELU6O.js +2716 -0
- package/Build/Workers/chunk-X23FRWHJ.js +117 -0
- package/Build/Workers/chunk-X2ZQ7RJR.js +287 -0
- package/Build/Workers/chunk-X43SJLQL.js +10364 -0
- package/Build/Workers/chunk-XLTOBCDI.js +220 -0
- package/Build/Workers/chunk-XQI7XZHX.js +196 -0
- package/Build/Workers/chunk-XUOJCLOH.js +511 -0
- package/Build/Workers/chunk-XZZNKIEV.js +157 -0
- package/Build/Workers/chunk-YLYBLJ3Y.js +73 -0
- package/Build/Workers/chunk-ZEE2EIFD.js +430 -0
- package/Build/Workers/chunk-ZIKGV7EL.js +58 -0
- package/Build/Workers/chunk-ZU334IDQ.js +421 -0
- 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 +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/transcodeKTX2.js +8 -11
- 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/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 +4 -2
- package/Source/Core/SimplePolylineGeometry.js +2 -2
- package/Source/Core/Stereographic.js +2 -2
- package/Source/Core/Transforms.js +154 -19
- 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/DataSources/BillboardGraphics.js +16 -0
- package/Source/DataSources/BillboardVisualizer.js +7 -0
- 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/PathVisualizer.js +4 -4
- package/Source/DataSources/PointGraphics.js +17 -0
- package/Source/DataSources/PointVisualizer.js +12 -0
- package/Source/DataSources/PolygonGeometryUpdater.js +1 -1
- package/Source/DataSources/PolylineGeometryUpdater.js +3 -2
- package/Source/DataSources/PositionProperty.js +4 -7
- 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/AutomaticUniforms.js +1 -1
- package/Source/Renderer/UniformState.js +6 -12
- package/Source/Scene/ArcGisMapServerImageryProvider.js +2 -2
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +35 -6
- package/Source/Scene/BillboardCollection.js +49 -0
- package/Source/Scene/BingMapsImageryProvider.js +11 -2
- 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/GltfLoaderUtil.js +2 -4
- package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +1 -1
- package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +1 -1
- package/Source/Scene/GridImageryProvider.js +2 -2
- package/Source/Scene/ImageBasedLighting.js +2 -2
- package/Source/Scene/ImageryLayerCollection.js +2 -2
- 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/InstancingPipelineStage.js +3 -3
- package/Source/Scene/Model/MaterialPipelineStage.js +49 -0
- package/Source/Scene/Model/Model.js +8 -5
- package/Source/Scene/Model/ModelSceneGraph.js +1 -1
- package/Source/Scene/Model/SceneMode2DPipelineStage.js +3 -3
- package/Source/Scene/Model/pickModel.js +2 -2
- package/Source/Scene/ModelComponents.js +9 -0
- package/Source/Scene/OctahedralProjectedCubeMap.js +5 -6
- package/Source/Scene/Picking.js +4 -13
- package/Source/Scene/PointPrimitive.js +33 -4
- package/Source/Scene/PointPrimitiveCollection.js +22 -9
- 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/BillboardCollectionFS.glsl +4 -0
- package/Source/Shaders/BillboardCollectionFS.js +4 -0
- package/Source/Shaders/BillboardCollectionVS.glsl +3 -1
- package/Source/Shaders/BillboardCollectionVS.js +3 -1
- package/Source/Shaders/BrdfLutGeneratorFS.glsl +30 -13
- package/Source/Shaders/BrdfLutGeneratorFS.js +30 -13
- package/Source/Shaders/Builtin/CzmBuiltins.js +2 -2
- 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/pbrLighting.glsl +40 -39
- package/Source/Shaders/Builtin/Functions/pbrLighting.js +40 -39
- package/Source/Shaders/Builtin/Functions/sampleOctahedralProjection.glsl +1 -1
- package/Source/Shaders/Builtin/Functions/sampleOctahedralProjection.js +1 -1
- 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 +2 -0
- package/Source/Shaders/Builtin/Structs/modelMaterial.js +2 -0
- package/Source/Shaders/EllipsoidFS.glsl +1 -1
- package/Source/Shaders/EllipsoidFS.js +1 -1
- package/Source/Shaders/GlobeFS.glsl +2 -2
- package/Source/Shaders/GlobeFS.js +2 -2
- package/Source/Shaders/Model/ImageBasedLightingStageFS.glsl +23 -23
- package/Source/Shaders/Model/ImageBasedLightingStageFS.js +23 -23
- package/Source/Shaders/Model/LightingStageFS.glsl +6 -5
- package/Source/Shaders/Model/LightingStageFS.js +6 -5
- package/Source/Shaders/Model/MaterialStageFS.glsl +31 -26
- package/Source/Shaders/Model/MaterialStageFS.js +31 -26
- package/Source/Shaders/PointPrimitiveCollectionFS.glsl +4 -0
- package/Source/Shaders/PointPrimitiveCollectionFS.js +4 -0
- package/Source/Shaders/PointPrimitiveCollectionVS.glsl +9 -7
- package/Source/Shaders/PointPrimitiveCollectionVS.js +9 -7
- package/Source/Widget/CesiumWidget.css +0 -5
- package/Source/Widget/CesiumWidget.js +29 -28
- package/index.d.ts +254 -117
- package/index.js +45 -45
- package/package.json +4 -4
- package/Source/Shaders/Builtin/Functions/ellipsoidWgs84TextureCoordinates.glsl +0 -10
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,13 +17285,28 @@ 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.
|
|
17274
17292
|
* @returns The modified result parameter or a new HeadingPitchRoll instance if none was provided.
|
|
17275
17293
|
*/
|
|
17276
17294
|
function fixedFrameToHeadingPitchRoll(transform: Matrix4, ellipsoid?: Ellipsoid, fixedFrameTransform?: Transforms.LocalFrameToFixedFrame, result?: HeadingPitchRoll): HeadingPitchRoll;
|
|
17295
|
+
/**
|
|
17296
|
+
* The default function to compute a rotation matrix to transform a point or vector from the International Celestial
|
|
17297
|
+
* Reference Frame (GCRF/ICRF) inertial frame axes to the central body, typically Earth, fixed frame axis at a given
|
|
17298
|
+
* time for use in lighting and transformation from inertial reference frames. This function may return undefined if
|
|
17299
|
+
* the data necessary to do the transformation is not yet loaded.
|
|
17300
|
+
* @example
|
|
17301
|
+
* // Set the default ICRF to fixed transformation to that of the Moon.
|
|
17302
|
+
* Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;
|
|
17303
|
+
* @param date - The time at which to compute the rotation matrix.
|
|
17304
|
+
* @param [result] - The object onto which to store the result. If this parameter is
|
|
17305
|
+
* not specified, a new instance is created and returned.
|
|
17306
|
+
* @returns The rotation matrix, or undefined if the data necessary to do the
|
|
17307
|
+
* transformation is not yet loaded.
|
|
17308
|
+
*/
|
|
17309
|
+
function computeIcrfToCentralBodyFixedMatrix(date: JulianDate, result?: Matrix3): Matrix3 | undefined;
|
|
17277
17310
|
/**
|
|
17278
17311
|
* Computes a rotation matrix to transform a point or vector from True Equator Mean Equinox (TEME) axes to the
|
|
17279
17312
|
* pseudo-fixed axes at a given time. This method treats the UT1 time standard as equivalent to UTC.
|
|
@@ -17327,7 +17360,39 @@ export namespace Transforms {
|
|
|
17327
17360
|
* @returns The rotation matrix, or undefined if the data necessary to do the
|
|
17328
17361
|
* transformation is not yet loaded.
|
|
17329
17362
|
*/
|
|
17330
|
-
function computeIcrfToFixedMatrix(date: JulianDate, result?: Matrix3): Matrix3;
|
|
17363
|
+
function computeIcrfToFixedMatrix(date: JulianDate, result?: Matrix3): Matrix3 | undefined;
|
|
17364
|
+
/**
|
|
17365
|
+
* Computes a rotation matrix to transform a point or vector from the Moon-Fixed frame axes
|
|
17366
|
+
* to the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes
|
|
17367
|
+
* at a given time.
|
|
17368
|
+
* @example
|
|
17369
|
+
* // Transform a point from the Fixed axes to the ICRF axes.
|
|
17370
|
+
* const now = Cesium.JulianDate.now();
|
|
17371
|
+
* const pointInFixed = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
17372
|
+
* const fixedToIcrf = Cesium.Transforms.computeMoonFixedToIcrfMatrix(now);
|
|
17373
|
+
* let pointInInertial = new Cesium.Cartesian3();
|
|
17374
|
+
* if (Cesium.defined(fixedToIcrf)) {
|
|
17375
|
+
* pointInInertial = Cesium.Matrix3.multiplyByVector(fixedToIcrf, pointInFixed, pointInInertial);
|
|
17376
|
+
* }
|
|
17377
|
+
* @param date - The time at which to compute the rotation matrix.
|
|
17378
|
+
* @param [result] - The object onto which to store the result. If this parameter is
|
|
17379
|
+
* not specified, a new instance is created and returned.
|
|
17380
|
+
* @returns The rotation matrix.
|
|
17381
|
+
*/
|
|
17382
|
+
function computeMoonFixedToIcrfMatrix(date: JulianDate, result?: Matrix3): Matrix3;
|
|
17383
|
+
/**
|
|
17384
|
+
* Computes a rotation matrix to transform a point or vector from the International Celestial
|
|
17385
|
+
* Reference Frame (GCRF/ICRF) inertial frame axes to the Moon-Fixed frame axes
|
|
17386
|
+
* at a given time.
|
|
17387
|
+
* @example
|
|
17388
|
+
* // Set the default ICRF to fixed transformation to that of the Moon.
|
|
17389
|
+
* Cesium.Transforms.computeIcrfToCentralBodyFixedMatrix = Cesium.Transforms.computeIcrfToMoonFixedMatrix;
|
|
17390
|
+
* @param date - The time at which to compute the rotation matrix.
|
|
17391
|
+
* @param [result] - The object onto which to store the result. If this parameter is
|
|
17392
|
+
* not specified, a new instance is created and returned.
|
|
17393
|
+
* @returns The rotation matrix.
|
|
17394
|
+
*/
|
|
17395
|
+
function computeIcrfToMoonFixedMatrix(date: JulianDate, result?: Matrix3): Matrix3;
|
|
17331
17396
|
/**
|
|
17332
17397
|
* Computes a rotation matrix to transform a point or vector from the Earth-Fixed frame axes (ITRF)
|
|
17333
17398
|
* to the International Celestial Reference Frame (GCRF/ICRF) inertial frame axes
|
|
@@ -17348,7 +17413,7 @@ export namespace Transforms {
|
|
|
17348
17413
|
* @returns The rotation matrix, or undefined if the data necessary to do the
|
|
17349
17414
|
* transformation is not yet loaded.
|
|
17350
17415
|
*/
|
|
17351
|
-
function computeFixedToIcrfMatrix(date: JulianDate, result?: Matrix3): Matrix3;
|
|
17416
|
+
function computeFixedToIcrfMatrix(date: JulianDate, result?: Matrix3): Matrix3 | undefined;
|
|
17352
17417
|
/**
|
|
17353
17418
|
* Transform a point from model coordinates to window coordinates.
|
|
17354
17419
|
* @param modelViewProjectionMatrix - The 4x4 model-view-projection matrix.
|
|
@@ -17362,7 +17427,7 @@ export namespace Transforms {
|
|
|
17362
17427
|
* Transform a position and velocity to a rotation matrix.
|
|
17363
17428
|
* @param position - The position to transform.
|
|
17364
17429
|
* @param velocity - The velocity vector to transform.
|
|
17365
|
-
* @param [ellipsoid = Ellipsoid.
|
|
17430
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid whose fixed frame is used in the transformation.
|
|
17366
17431
|
* @param [result] - The object onto which to store the result.
|
|
17367
17432
|
* @returns The modified result parameter or a new Matrix3 instance if none was provided.
|
|
17368
17433
|
*/
|
|
@@ -17479,7 +17544,7 @@ export namespace TrustedServers {
|
|
|
17479
17544
|
export namespace VRTheWorldTerrainProvider {
|
|
17480
17545
|
/**
|
|
17481
17546
|
* Initialization options for the VRTheWorldTerrainProvider constructor
|
|
17482
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
17547
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
17483
17548
|
* @property [credit] - A credit for the data source, which is displayed on the canvas.
|
|
17484
17549
|
*/
|
|
17485
17550
|
type ConstructorOptions = {
|
|
@@ -17792,7 +17857,7 @@ export enum Visibility {
|
|
|
17792
17857
|
* wall at <code>positions</code>. If undefined, the height of each position in used.
|
|
17793
17858
|
* @param [options.minimumHeights] - An array parallel to <code>positions</code> that give the minimum height of the
|
|
17794
17859
|
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
|
|
17795
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
17860
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
|
|
17796
17861
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
17797
17862
|
*/
|
|
17798
17863
|
export class WallGeometry {
|
|
@@ -17847,7 +17912,7 @@ export class WallGeometry {
|
|
|
17847
17912
|
* wall at <code>positions</code>. If undefined, the height of each position in used.
|
|
17848
17913
|
* @param [options.minimumHeight] - A constant that defines the minimum height of the
|
|
17849
17914
|
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
|
|
17850
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
17915
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
|
|
17851
17916
|
* @param [options.vertexFormat = VertexFormat.DEFAULT] - The vertex attributes to be computed.
|
|
17852
17917
|
*/
|
|
17853
17918
|
static fromConstantHeights(options: {
|
|
@@ -17887,7 +17952,7 @@ export class WallGeometry {
|
|
|
17887
17952
|
* wall at <code>positions</code>. If undefined, the height of each position in used.
|
|
17888
17953
|
* @param [options.minimumHeights] - An array parallel to <code>positions</code> that give the minimum height of the
|
|
17889
17954
|
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
|
|
17890
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
17955
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
|
|
17891
17956
|
*/
|
|
17892
17957
|
export class WallOutlineGeometry {
|
|
17893
17958
|
constructor(options: {
|
|
@@ -17940,7 +18005,7 @@ export class WallOutlineGeometry {
|
|
|
17940
18005
|
* wall at <code>positions</code>. If undefined, the height of each position in used.
|
|
17941
18006
|
* @param [options.minimumHeight] - A constant that defines the minimum height of the
|
|
17942
18007
|
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
|
|
17943
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
18008
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for coordinate manipulation
|
|
17944
18009
|
*/
|
|
17945
18010
|
static fromConstantHeights(options: {
|
|
17946
18011
|
positions: Cartesian3[];
|
|
@@ -18021,8 +18086,8 @@ export class WebMercatorProjection {
|
|
|
18021
18086
|
* A tiling scheme for geometry referenced to a {@link WebMercatorProjection}, EPSG:3857. This is
|
|
18022
18087
|
* the tiling scheme used by Google Maps, Microsoft Bing Maps, and most of ESRI ArcGIS Online.
|
|
18023
18088
|
* @param [options] - Object with the following properties:
|
|
18024
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
18025
|
-
* the
|
|
18089
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid whose surface is being tiled. Defaults to
|
|
18090
|
+
* the default ellipsoid.
|
|
18026
18091
|
* @param [options.numberOfLevelZeroTilesX = 1] - The number of tiles in the X direction at level zero of
|
|
18027
18092
|
* the tile tree.
|
|
18028
18093
|
* @param [options.numberOfLevelZeroTilesY = 1] - The number of tiles in the Y direction at level zero of
|
|
@@ -18636,6 +18701,7 @@ export namespace BillboardGraphics {
|
|
|
18636
18701
|
* @property [imageSubRegion] - A Property specifying a {@link BoundingRectangle} that defines a sub-region of the image to use for the billboard, rather than the entire image, measured in pixels from the bottom-left.
|
|
18637
18702
|
* @property [distanceDisplayCondition] - A Property specifying at what distance from the camera that this billboard will be displayed.
|
|
18638
18703
|
* @property [disableDepthTestDistance] - A Property specifying the distance from the camera at which to disable the depth test to.
|
|
18704
|
+
* @property [splitDirection] - A Property specifying the {@link SplitDirection} of the billboard.
|
|
18639
18705
|
*/
|
|
18640
18706
|
type ConstructorOptions = {
|
|
18641
18707
|
show?: Property | boolean;
|
|
@@ -18658,6 +18724,7 @@ export namespace BillboardGraphics {
|
|
|
18658
18724
|
imageSubRegion?: Property | BoundingRectangle;
|
|
18659
18725
|
distanceDisplayCondition?: Property | DistanceDisplayCondition;
|
|
18660
18726
|
disableDepthTestDistance?: Property | number;
|
|
18727
|
+
splitDirection?: Property | SplitDirection;
|
|
18661
18728
|
};
|
|
18662
18729
|
}
|
|
18663
18730
|
|
|
@@ -18824,6 +18891,10 @@ export class BillboardGraphics {
|
|
|
18824
18891
|
* When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied.
|
|
18825
18892
|
*/
|
|
18826
18893
|
disableDepthTestDistance: Property | undefined;
|
|
18894
|
+
/**
|
|
18895
|
+
* Gets or sets the Property specifying the {@link SplitDirection} of this billboard.
|
|
18896
|
+
*/
|
|
18897
|
+
splitDirection: Property | undefined;
|
|
18827
18898
|
/**
|
|
18828
18899
|
* Duplicates this instance.
|
|
18829
18900
|
* @param [result] - The object onto which to store the result.
|
|
@@ -21210,7 +21281,7 @@ export namespace EntityCollection {
|
|
|
21210
21281
|
* A utility object for tracking an entity with the camera.
|
|
21211
21282
|
* @param entity - The entity to track with the camera.
|
|
21212
21283
|
* @param scene - The scene to use.
|
|
21213
|
-
* @param [ellipsoid = Ellipsoid.
|
|
21284
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid to use for orienting the camera.
|
|
21214
21285
|
*/
|
|
21215
21286
|
export class EntityView {
|
|
21216
21287
|
constructor(entity: Entity, scene: Scene, ellipsoid?: Ellipsoid);
|
|
@@ -21847,7 +21918,7 @@ export namespace KmlDataSource {
|
|
|
21847
21918
|
* Initialization options for the `load` method.
|
|
21848
21919
|
* @property [sourceUri] - Overrides the url to use for resolving relative links and other KML network features.
|
|
21849
21920
|
* @property [clampToGround = false] - true if we want the geometry features (Polygons, LineStrings and LinearRings) clamped to the ground.
|
|
21850
|
-
* @property [ellipsoid = Ellipsoid.
|
|
21921
|
+
* @property [ellipsoid = Ellipsoid.default] - The global ellipsoid used for geographical calculations.
|
|
21851
21922
|
* @property [screenOverlayContainer] - A container for ScreenOverlay images.
|
|
21852
21923
|
*/
|
|
21853
21924
|
type LoadOptions = {
|
|
@@ -21863,7 +21934,7 @@ export namespace KmlDataSource {
|
|
|
21863
21934
|
* @property [credit] - A credit for the data source, which is displayed on the canvas.
|
|
21864
21935
|
* @property [sourceUri] - Overrides the url to use for resolving relative links and other KML network features.
|
|
21865
21936
|
* @property [clampToGround = false] - true if we want the geometry features (Polygons, LineStrings and LinearRings) clamped to the ground.
|
|
21866
|
-
* @property [ellipsoid = Ellipsoid.
|
|
21937
|
+
* @property [ellipsoid = Ellipsoid.default] - The global ellipsoid used for geographical calculations.
|
|
21867
21938
|
* @property [screenOverlayContainer] - A container for ScreenOverlay images.
|
|
21868
21939
|
*/
|
|
21869
21940
|
type ConstructorOptions = {
|
|
@@ -22976,6 +23047,7 @@ export namespace PointGraphics {
|
|
|
22976
23047
|
* @property [translucencyByDistance] - A {@link NearFarScalar} Property used to set translucency based on distance from the camera.
|
|
22977
23048
|
* @property [distanceDisplayCondition] - A Property specifying at what distance from the camera that this point will be displayed.
|
|
22978
23049
|
* @property [disableDepthTestDistance] - A Property specifying the distance from the camera at which to disable the depth test to.
|
|
23050
|
+
* @property [splitDirection] - A Property specifying the {@link SplitDirection} split to apply to this point.
|
|
22979
23051
|
*/
|
|
22980
23052
|
type ConstructorOptions = {
|
|
22981
23053
|
show?: Property | boolean;
|
|
@@ -22988,6 +23060,7 @@ export namespace PointGraphics {
|
|
|
22988
23060
|
translucencyByDistance?: Property | NearFarScalar;
|
|
22989
23061
|
distanceDisplayCondition?: Property | DistanceDisplayCondition;
|
|
22990
23062
|
disableDepthTestDistance?: Property | number;
|
|
23063
|
+
splitDirection?: Property | SplitDirection;
|
|
22991
23064
|
};
|
|
22992
23065
|
}
|
|
22993
23066
|
|
|
@@ -23047,6 +23120,10 @@ export class PointGraphics {
|
|
|
23047
23120
|
* When set to zero, the depth test is always applied. When set to Number.POSITIVE_INFINITY, the depth test is never applied.
|
|
23048
23121
|
*/
|
|
23049
23122
|
disableDepthTestDistance: Property | undefined;
|
|
23123
|
+
/**
|
|
23124
|
+
* Gets or sets the Property specifying the {@link SplitDirection} of this point.
|
|
23125
|
+
*/
|
|
23126
|
+
splitDirection: Property | undefined;
|
|
23050
23127
|
/**
|
|
23051
23128
|
* Duplicates this instance.
|
|
23052
23129
|
* @param [result] - The object onto which to store the result.
|
|
@@ -24952,7 +25029,7 @@ export class TimeIntervalCollectionProperty {
|
|
|
24952
25029
|
* orientation : new Cesium.VelocityOrientationProperty(position)
|
|
24953
25030
|
* }));
|
|
24954
25031
|
* @param [position] - The position property used to compute the orientation.
|
|
24955
|
-
* @param [ellipsoid = Ellipsoid.
|
|
25032
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid used to determine which way is up.
|
|
24956
25033
|
*/
|
|
24957
25034
|
export class VelocityOrientationProperty {
|
|
24958
25035
|
constructor(position?: PositionProperty, ellipsoid?: Ellipsoid);
|
|
@@ -25243,7 +25320,7 @@ export type exportKmlResultKmz = {
|
|
|
25243
25320
|
* });
|
|
25244
25321
|
* @param options - An object with the following properties:
|
|
25245
25322
|
* @param options.entities - The EntityCollection to export as KML.
|
|
25246
|
-
* @param [options.ellipsoid = Ellipsoid.
|
|
25323
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The ellipsoid for the output file.
|
|
25247
25324
|
* @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
25325
|
* @param [options.time = entities.computeAvailability().start] - The time value to use to get properties that are not time varying in KML.
|
|
25249
25326
|
* @param [options.defaultAvailability = entities.computeAvailability()] - The interval that will be sampled if an entity doesn't have an availability.
|
|
@@ -25494,9 +25571,9 @@ export namespace ArcGisMapServerImageryProvider {
|
|
|
25494
25571
|
* a tiled layer.
|
|
25495
25572
|
* @property [tilingScheme = new GeographicTilingScheme()] - The tiling scheme to use to divide the world into tiles.
|
|
25496
25573
|
* This parameter is ignored when accessing a tiled server.
|
|
25497
|
-
* @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified and used,
|
|
25574
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified and used,
|
|
25498
25575
|
* this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
|
|
25499
|
-
* parameter is specified, the
|
|
25576
|
+
* parameter is specified, the default ellipsoid is used.
|
|
25500
25577
|
* @property [credit] - A credit for the data source, which is displayed on the canvas. This parameter is ignored when accessing a tiled server.
|
|
25501
25578
|
* @property [tileWidth = 256] - The width of each tile in pixels. This parameter is ignored when accessing a tiled server.
|
|
25502
25579
|
* @property [tileHeight = 256] - The height of each tile in pixels. This parameter is ignored when accessing a tiled server.
|
|
@@ -25847,6 +25924,7 @@ export namespace Billboard {
|
|
|
25847
25924
|
* @property [imageSubRegion] - A {@link BoundingRectangle} Specifying the sub-region of the image to use for the billboard, rather than the entire image.
|
|
25848
25925
|
* @property [distanceDisplayCondition] - A {@link DistanceDisplayCondition} Specifying the distance from the camera at which this billboard will be displayed.
|
|
25849
25926
|
* @property [disableDepthTestDistance] - A number specifying the distance from the camera at which to disable the depth test to, for example, prevent clipping against terrain.
|
|
25927
|
+
* @property [splitDirection] - A {@link SplitDirection} Specifying the split property of the billboard.
|
|
25850
25928
|
*/
|
|
25851
25929
|
type ConstructorOptions = {
|
|
25852
25930
|
position: Cartesian3;
|
|
@@ -25871,6 +25949,7 @@ export namespace Billboard {
|
|
|
25871
25949
|
imageSubRegion?: BoundingRectangle;
|
|
25872
25950
|
distanceDisplayCondition?: DistanceDisplayCondition;
|
|
25873
25951
|
disableDepthTestDistance?: number;
|
|
25952
|
+
splitDirection?: SplitDirection;
|
|
25874
25953
|
};
|
|
25875
25954
|
/**
|
|
25876
25955
|
* A function that creates an image.
|
|
@@ -26137,6 +26216,10 @@ export class Billboard {
|
|
|
26137
26216
|
* has been downloaded and the WebGL resources are created.
|
|
26138
26217
|
*/
|
|
26139
26218
|
readonly ready: boolean;
|
|
26219
|
+
/**
|
|
26220
|
+
* Gets or sets the {@link SplitDirection} of this billboard.
|
|
26221
|
+
*/
|
|
26222
|
+
splitDirection: SplitDirection;
|
|
26140
26223
|
/**
|
|
26141
26224
|
* <p>
|
|
26142
26225
|
* Sets the image to be used for this billboard. If a texture has already been created for the
|
|
@@ -26414,7 +26497,7 @@ export namespace BingMapsImageryProvider {
|
|
|
26414
26497
|
* @property [culture = ''] - The culture to use when requesting Bing Maps imagery. Not
|
|
26415
26498
|
* all cultures are supported. See {@link http://msdn.microsoft.com/en-us/library/hh441729.aspx}
|
|
26416
26499
|
* for information on the supported cultures.
|
|
26417
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
26500
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
26418
26501
|
* @property [tileDiscardPolicy] - The policy that determines if a tile
|
|
26419
26502
|
* is invalid and should be discarded. By default, a {@link DiscardEmptyTileImagePolicy}
|
|
26420
26503
|
* will be used, with the expectation that the Bing Maps server will send a zero-length response for missing tiles.
|
|
@@ -27001,7 +27084,7 @@ export class Camera {
|
|
|
27001
27084
|
* }
|
|
27002
27085
|
* });
|
|
27003
27086
|
* @param options - Object with the following properties:
|
|
27004
|
-
* @param [options.destination] - The final position of the camera in
|
|
27087
|
+
* @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
27088
|
* @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
27089
|
* 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
27090
|
* y direction in Columbus view. Orientation is not used in 2D when in infinite scrolling mode.
|
|
@@ -27251,10 +27334,10 @@ export class Camera {
|
|
|
27251
27334
|
* @example
|
|
27252
27335
|
* const canvas = viewer.scene.canvas;
|
|
27253
27336
|
* const center = new Cesium.Cartesian2(canvas.clientWidth / 2.0, canvas.clientHeight / 2.0);
|
|
27254
|
-
* const ellipsoid = viewer.scene.
|
|
27337
|
+
* const ellipsoid = viewer.scene.ellipsoid;
|
|
27255
27338
|
* const result = viewer.camera.pickEllipsoid(center, ellipsoid);
|
|
27256
27339
|
* @param windowPosition - The x and y coordinates of a pixel.
|
|
27257
|
-
* @param [ellipsoid = Ellipsoid.
|
|
27340
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid to pick.
|
|
27258
27341
|
* @param [result] - The object onto which to store the result.
|
|
27259
27342
|
* @returns If the ellipsoid or map was picked,
|
|
27260
27343
|
* returns the point on the surface of the ellipsoid or map in world
|
|
@@ -27325,7 +27408,7 @@ export class Camera {
|
|
|
27325
27408
|
* }
|
|
27326
27409
|
* });
|
|
27327
27410
|
* @param options - Object with the following properties:
|
|
27328
|
-
* @param options.destination - The final position of the camera in
|
|
27411
|
+
* @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
27412
|
* @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
27413
|
* 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
27414
|
* y direction in Columbus view. Orientation is not used in 2D when in infinite scrolling mode.
|
|
@@ -27408,7 +27491,7 @@ export class Camera {
|
|
|
27408
27491
|
}): void;
|
|
27409
27492
|
/**
|
|
27410
27493
|
* Computes the approximate visible rectangle on the ellipsoid.
|
|
27411
|
-
* @param [ellipsoid = Ellipsoid.
|
|
27494
|
+
* @param [ellipsoid = Ellipsoid.default] - The ellipsoid that you want to know the visible region.
|
|
27412
27495
|
* @param [result] - The rectangle in which to store the result
|
|
27413
27496
|
* @returns The visible rectangle or undefined if the ellipsoid isn't visible at all.
|
|
27414
27497
|
*/
|
|
@@ -30774,7 +30857,7 @@ export class ConeEmitter {
|
|
|
30774
30857
|
* const credit = new Cesium.Credit('<a href="https://cesium.com/" target="_blank">Cesium</a>');
|
|
30775
30858
|
* viewer.creditDisplay.addStaticCredit(credit);
|
|
30776
30859
|
* @param container - The HTML element where credits will be displayed
|
|
30777
|
-
* @param [delimiter = '
|
|
30860
|
+
* @param [delimiter = '•'] - The string to separate text credits
|
|
30778
30861
|
* @param [viewport = document.body] - The HTML element that will contain the credits popup
|
|
30779
30862
|
*/
|
|
30780
30863
|
export class CreditDisplay {
|
|
@@ -31704,7 +31787,7 @@ export class GetFeatureInfoFormat {
|
|
|
31704
31787
|
/**
|
|
31705
31788
|
* The globe rendered in the scene, including its terrain ({@link Globe#terrainProvider})
|
|
31706
31789
|
* and imagery layers ({@link Globe#imageryLayers}). Access the globe using {@link Scene#globe}.
|
|
31707
|
-
* @param [ellipsoid = Ellipsoid.
|
|
31790
|
+
* @param [ellipsoid = Ellipsoid.default] - Determines the size and shape of the
|
|
31708
31791
|
* globe.
|
|
31709
31792
|
*/
|
|
31710
31793
|
export class Globe {
|
|
@@ -32102,7 +32185,7 @@ export function removeExtension(gltf: any, extension: string): any;
|
|
|
32102
32185
|
export namespace GoogleEarthEnterpriseImageryProvider {
|
|
32103
32186
|
/**
|
|
32104
32187
|
* Initialization options for the GoogleEarthEnterpriseImageryProvider constructor
|
|
32105
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
32188
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
32106
32189
|
* @property [tileDiscardPolicy] - The policy that determines if a tile
|
|
32107
32190
|
* is invalid and should be discarded. If this value is not specified, a default
|
|
32108
32191
|
* is to discard tiles that fail to download.
|
|
@@ -32255,7 +32338,7 @@ export namespace GoogleEarthEnterpriseMapsProvider {
|
|
|
32255
32338
|
* @property [tileDiscardPolicy] - The policy that determines if a tile
|
|
32256
32339
|
* is invalid and should be discarded. To ensure that no tiles are discarded, construct and pass
|
|
32257
32340
|
* a {@link NeverTileDiscardPolicy} for this parameter.
|
|
32258
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
32341
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
32259
32342
|
*/
|
|
32260
32343
|
type ConstructorOptions = {
|
|
32261
32344
|
channel: number;
|
|
@@ -32411,9 +32494,9 @@ export namespace GridImageryProvider {
|
|
|
32411
32494
|
/**
|
|
32412
32495
|
* Initialization options for the GridImageryProvider constructor
|
|
32413
32496
|
* @property [tilingScheme = new GeographicTilingScheme()] - The tiling scheme for which to draw tiles.
|
|
32414
|
-
* @property [ellipsoid] - The ellipsoid. If the tilingScheme is specified,
|
|
32497
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If the tilingScheme is specified,
|
|
32415
32498
|
* this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
|
|
32416
|
-
* parameter is specified, the
|
|
32499
|
+
* parameter is specified, the default ellipsoid is used.
|
|
32417
32500
|
* @property [cells = 8] - The number of grids cells.
|
|
32418
32501
|
* @property [color = Color(1.0, 1.0, 1.0, 0.4)] - The color to draw grid lines.
|
|
32419
32502
|
* @property [glowColor = Color(0.0, 1.0, 0.0, 0.05)] - The color to draw glow for grid lines.
|
|
@@ -33523,8 +33606,8 @@ export class ImageBasedLighting {
|
|
|
33523
33606
|
* </p>
|
|
33524
33607
|
*
|
|
33525
33608
|
* These values can be obtained by preprocessing the environment map using the <code>cmgen</code> tool of
|
|
33526
|
-
* {@link https://github.com/google/filament/releases|Google's Filament project}.
|
|
33527
|
-
*
|
|
33609
|
+
* {@link https://github.com/google/filament/releases|Google's Filament project}.
|
|
33610
|
+
* Be sure to use the <code>--no-mirror</code> option in <code>cmgen</code>.
|
|
33528
33611
|
*/
|
|
33529
33612
|
sphericalHarmonicCoefficients: Cartesian3[];
|
|
33530
33613
|
/**
|
|
@@ -34956,7 +35039,7 @@ export namespace MapboxImageryProvider {
|
|
|
34956
35039
|
* @property mapId - The Mapbox Map ID.
|
|
34957
35040
|
* @property accessToken - The public access token for the imagery.
|
|
34958
35041
|
* @property [format = 'png'] - The format of the image request.
|
|
34959
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
35042
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
34960
35043
|
* @property [minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider. Take care when specifying
|
|
34961
35044
|
* this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
|
|
34962
35045
|
* to result in rendering problems.
|
|
@@ -35093,7 +35176,7 @@ export namespace MapboxStyleImageryProvider {
|
|
|
35093
35176
|
* @property accessToken - The public access token for the imagery.
|
|
35094
35177
|
* @property [tilesize = 512] - The size of the image tiles.
|
|
35095
35178
|
* @property [scaleFactor] - Determines if tiles are rendered at a @2x scale factor.
|
|
35096
|
-
* @property [ellipsoid] - The ellipsoid. If not specified, the
|
|
35179
|
+
* @property [ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
35097
35180
|
* @property [minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider. Take care when specifying
|
|
35098
35181
|
* this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
|
|
35099
35182
|
* to result in rendering problems.
|
|
@@ -38309,6 +38392,10 @@ export class PointPrimitive {
|
|
|
38309
38392
|
* Gets or sets the user-defined value returned when the point is picked.
|
|
38310
38393
|
*/
|
|
38311
38394
|
id: any;
|
|
38395
|
+
/**
|
|
38396
|
+
* The {@link SplitDirection} to apply to this point.
|
|
38397
|
+
*/
|
|
38398
|
+
splitDirection: SplitDirection;
|
|
38312
38399
|
/**
|
|
38313
38400
|
* Computes the screen-space position of the point's origin.
|
|
38314
38401
|
* The screen space origin is the top, left corner of the canvas; <code>x</code> increases from
|
|
@@ -39948,7 +40035,8 @@ export class PrimitiveCollection {
|
|
|
39948
40035
|
* @param [options.contextOptions] - Context and WebGL creation properties.
|
|
39949
40036
|
* @param [options.creditContainer] - The HTML element in which the credits will be displayed.
|
|
39950
40037
|
* @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.
|
|
40038
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The default ellipsoid. If not specified, the default ellipsoid is used.
|
|
40039
|
+
* @param [options.mapProjection = new GeographicProjection(options.ellipsoid)] - The map projection to use in 2D and Columbus View modes.
|
|
39952
40040
|
* @param [options.orderIndependentTranslucency = true] - If true and the configuration supports it, use order independent translucency.
|
|
39953
40041
|
* @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
40042
|
* @param [options.shadows = false] - Determines if shadows are cast by light sources.
|
|
@@ -39964,6 +40052,7 @@ export class Scene {
|
|
|
39964
40052
|
contextOptions?: ContextOptions;
|
|
39965
40053
|
creditContainer?: Element;
|
|
39966
40054
|
creditViewport?: Element;
|
|
40055
|
+
ellipsoid?: Ellipsoid;
|
|
39967
40056
|
mapProjection?: MapProjection;
|
|
39968
40057
|
orderIndependentTranslucency?: boolean;
|
|
39969
40058
|
scene3DOnly?: boolean;
|
|
@@ -40153,6 +40242,8 @@ export class Scene {
|
|
|
40153
40242
|
/**
|
|
40154
40243
|
* Blends the atmosphere to geometry far from the camera for horizon views. Allows for additional
|
|
40155
40244
|
* performance improvements by rendering less geometry and dispatching less terrain requests.
|
|
40245
|
+
*
|
|
40246
|
+
* Disbaled by default if an ellipsoid other than WGS84 is used.
|
|
40156
40247
|
*/
|
|
40157
40248
|
fog: Fog;
|
|
40158
40249
|
/**
|
|
@@ -40255,6 +40346,10 @@ export class Scene {
|
|
|
40255
40346
|
* Returns <code>true</code> if specular environment maps are supported.
|
|
40256
40347
|
*/
|
|
40257
40348
|
readonly specularEnvironmentMapsSupported: boolean;
|
|
40349
|
+
/**
|
|
40350
|
+
* The ellipsoid. If not specified, the default ellipsoid is used.
|
|
40351
|
+
*/
|
|
40352
|
+
readonly ellipsoid: Ellipsoid;
|
|
40258
40353
|
/**
|
|
40259
40354
|
* Gets or sets the depth-test ellipsoid.
|
|
40260
40355
|
*/
|
|
@@ -40575,7 +40670,6 @@ export class Scene {
|
|
|
40575
40670
|
* @example
|
|
40576
40671
|
* // Output the canvas position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40577
40672
|
* const scene = widget.scene;
|
|
40578
|
-
* const ellipsoid = scene.globe.ellipsoid;
|
|
40579
40673
|
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40580
40674
|
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40581
40675
|
* handler.setInputAction(function(movement) {
|
|
@@ -40670,13 +40764,29 @@ export enum SceneMode {
|
|
|
40670
40764
|
* Functions that do scene-dependent transforms between rendering-related coordinate systems.
|
|
40671
40765
|
*/
|
|
40672
40766
|
export namespace SceneTransforms {
|
|
40767
|
+
/**
|
|
40768
|
+
* Transforms a position in world (WGS84 or alternative ellipsoid) coordinates to window coordinates. This is commonly used to place an
|
|
40769
|
+
* HTML element at the same screen position as an object in the scene.
|
|
40770
|
+
* @example
|
|
40771
|
+
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40772
|
+
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40773
|
+
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40774
|
+
* handler.setInputAction(function(movement) {
|
|
40775
|
+
* console.log(Cesium.SceneTransforms.worldToWindowCoordinates(scene, position));
|
|
40776
|
+
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
40777
|
+
* @param scene - The scene.
|
|
40778
|
+
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
40779
|
+
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40780
|
+
* @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.
|
|
40781
|
+
*/
|
|
40782
|
+
function worldToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40673
40783
|
/**
|
|
40674
40784
|
* Transforms a position in WGS84 coordinates to window coordinates. This is commonly used to place an
|
|
40675
40785
|
* HTML element at the same screen position as an object in the scene.
|
|
40676
40786
|
* @example
|
|
40677
40787
|
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40678
40788
|
* const scene = widget.scene;
|
|
40679
|
-
* const ellipsoid = scene.
|
|
40789
|
+
* const ellipsoid = scene.ellipsoid;
|
|
40680
40790
|
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40681
40791
|
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40682
40792
|
* handler.setInputAction(function(movement) {
|
|
@@ -40687,25 +40797,39 @@ export namespace SceneTransforms {
|
|
|
40687
40797
|
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40688
40798
|
* @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
40799
|
*/
|
|
40690
|
-
function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2;
|
|
40800
|
+
function wgs84ToWindowCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40801
|
+
/**
|
|
40802
|
+
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
40803
|
+
* results from SceneTransforms.worldToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
40804
|
+
* @example
|
|
40805
|
+
* // Output the window position of longitude/latitude (0, 0) every time the mouse moves.
|
|
40806
|
+
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40807
|
+
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40808
|
+
* handler.setInputAction(function(movement) {
|
|
40809
|
+
* console.log(Cesium.SceneTransforms.worldToDrawingBufferCoordinates(scene, position));
|
|
40810
|
+
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
40811
|
+
* @param scene - The scene.
|
|
40812
|
+
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
40813
|
+
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40814
|
+
* @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.
|
|
40815
|
+
*/
|
|
40816
|
+
function worldToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40691
40817
|
/**
|
|
40692
|
-
* Transforms a position in
|
|
40818
|
+
* Transforms a position in world coordinates to drawing buffer coordinates. This may produce different
|
|
40693
40819
|
* results from SceneTransforms.wgs84ToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays.
|
|
40694
40820
|
* @example
|
|
40695
40821
|
* // 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
40822
|
* const position = Cesium.Cartesian3.fromDegrees(0.0, 0.0);
|
|
40699
40823
|
* const handler = new Cesium.ScreenSpaceEventHandler(scene.canvas);
|
|
40700
40824
|
* handler.setInputAction(function(movement) {
|
|
40701
40825
|
* console.log(Cesium.SceneTransforms.wgs84ToWindowCoordinates(scene, position));
|
|
40702
40826
|
* }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
40703
40827
|
* @param scene - The scene.
|
|
40704
|
-
* @param position - The position in WGS84
|
|
40828
|
+
* @param position - The position in world (WGS84 or alternative ellipsoid) coordinates.
|
|
40705
40829
|
* @param [result] - An optional object to return the input position transformed to window coordinates.
|
|
40706
40830
|
* @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
40831
|
*/
|
|
40708
|
-
function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2;
|
|
40832
|
+
function wgs84ToDrawingBufferCoordinates(scene: Scene, position: Cartesian3, result?: Cartesian2): Cartesian2 | undefined;
|
|
40709
40833
|
}
|
|
40710
40834
|
|
|
40711
40835
|
/**
|
|
@@ -40831,20 +40955,20 @@ export class ScreenSpaceCameraController {
|
|
|
40831
40955
|
*/
|
|
40832
40956
|
lookEventTypes: CameraEventType | any[] | undefined;
|
|
40833
40957
|
/**
|
|
40834
|
-
* The minimum height the camera must be before picking the terrain or scene content instead of the ellipsoid.
|
|
40958
|
+
* 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
40959
|
*/
|
|
40836
40960
|
minimumPickingTerrainHeight: number;
|
|
40837
40961
|
/**
|
|
40838
|
-
* The minimum distance the camera must be before testing for collision with terrain when zoom with inertia.
|
|
40962
|
+
* 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
40963
|
*/
|
|
40840
40964
|
minimumPickingTerrainDistanceWithInertia: number;
|
|
40841
40965
|
/**
|
|
40842
|
-
* The minimum height the camera must be before testing for collision with terrain.
|
|
40966
|
+
* 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
40967
|
*/
|
|
40844
40968
|
minimumCollisionTerrainHeight: number;
|
|
40845
40969
|
/**
|
|
40846
40970
|
* 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.
|
|
40971
|
+
* 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
40972
|
*/
|
|
40849
40973
|
minimumTrackBallHeight: number;
|
|
40850
40974
|
/**
|
|
@@ -41242,6 +41366,13 @@ export class SkyBox {
|
|
|
41242
41366
|
* skyBox = skyBox && skyBox.destroy();
|
|
41243
41367
|
*/
|
|
41244
41368
|
destroy(): void;
|
|
41369
|
+
/**
|
|
41370
|
+
* Creates a skybox instance with the default starmap for the Earth.
|
|
41371
|
+
* @example
|
|
41372
|
+
* viewer.scene.skyBox = Cesium.SkyBox.createEarthSkyBox();
|
|
41373
|
+
* @returns The default skybox for the Earth
|
|
41374
|
+
*/
|
|
41375
|
+
static createEarthSkyBox(): SkyBox;
|
|
41245
41376
|
}
|
|
41246
41377
|
|
|
41247
41378
|
/**
|
|
@@ -43364,16 +43495,17 @@ export function createWorldImageryAsync(options?: {
|
|
|
43364
43495
|
* @param container - The DOM element or ID that will contain the widget.
|
|
43365
43496
|
* @param [options] - Object with the following properties:
|
|
43366
43497
|
* @param [options.clock = new Clock()] - The clock to use to control current time.
|
|
43498
|
+
* @param [options.ellipsoid = Ellipsoid.default] - The default ellipsoid.
|
|
43367
43499
|
* @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.
|
|
43500
|
+
* @param [options.terrainProvider = new EllipsoidTerrainProvider(options.ellipsoid)] - The terrain provider.
|
|
43369
43501
|
* @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.
|
|
43502
|
+
* @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.
|
|
43503
|
+
* @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
43504
|
* @param [options.sceneMode = SceneMode.SCENE3D] - The initial scene mode.
|
|
43373
43505
|
* @param [options.scene3DOnly = false] - When <code>true</code>, each geometry instance will only be rendered in 3D to save GPU memory.
|
|
43374
43506
|
* @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(
|
|
43507
|
+
* @param [options.mapProjection = new GeographicProjection(options.ellipsoid)] - The map projection to use in 2D and Columbus View modes.
|
|
43508
|
+
* @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
43509
|
* @param [options.useDefaultRenderLoop = true] - True if this widget should control the render loop, false otherwise.
|
|
43378
43510
|
* @param [options.useBrowserRecommendedResolution = true] - If true, render at the browser's recommended resolution and ignore <code>window.devicePixelRatio</code>.
|
|
43379
43511
|
* @param [options.targetFrameRate] - The target frame rate when using the default render loop.
|
|
@@ -43393,6 +43525,7 @@ export function createWorldImageryAsync(options?: {
|
|
|
43393
43525
|
export class CesiumWidget {
|
|
43394
43526
|
constructor(container: Element | string, options?: {
|
|
43395
43527
|
clock?: Clock;
|
|
43528
|
+
ellipsoid?: Ellipsoid;
|
|
43396
43529
|
baseLayer?: ImageryLayer | false;
|
|
43397
43530
|
terrainProvider?: TerrainProvider;
|
|
43398
43531
|
terrain?: Terrain;
|
|
@@ -43454,6 +43587,10 @@ export class CesiumWidget {
|
|
|
43454
43587
|
* Gets the camera.
|
|
43455
43588
|
*/
|
|
43456
43589
|
readonly camera: Camera;
|
|
43590
|
+
/**
|
|
43591
|
+
* Gets the default ellipsoid for the scene.
|
|
43592
|
+
*/
|
|
43593
|
+
readonly ellipsoid: Ellipsoid;
|
|
43457
43594
|
/**
|
|
43458
43595
|
* Gets the clock.
|
|
43459
43596
|
*/
|