You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Computes a rectangle which encloses the polygon defined by the list of positions, including cases over the international date line and the poles.
13188
+
* @param positions - A linear ring defining the outer boundary of the polygon.
13189
+
* @param [ellipsoid = Ellipsoid.WGS84] - The ellipsoid to be used as a reference.
13190
+
* @param [arcType = ArcType.GEODESIC] - The type of line the polygon edges must follow. Valid options are {@link ArcType.GEODESIC} and {@link ArcType.RHUMB}.
13191
+
* @param [result] - An object in which to store the result.
* Represents a point in stereographic coordinates, which can be obtained by projecting a cartesian coordinate from one pole onto a tangent plane at the other pole.
16417
+
* The stereographic projection faithfully represents the relative directions of all great circles passing through its center point.
16418
+
* To faithfully represents angles everywhere, this is a conformal projection, which means points are projected onto an arbrary sphere.
16419
+
* @param [position] - The steroegraphic coordinates.
16420
+
* @param [tangentPlane] - The tangent plane onto which the point was projected.
16421
+
*/
16422
+
export function Stereographic(position?: Cartesian2, tangentPlane?: EllipseGeometry): void
16423
+
16407
16424
/**
16408
16425
* A wrapper around a web worker that allows scheduling tasks for a given worker,
* @param terrainProvider - The terrain provider from which to query heights.
18722
18746
* @param level - The terrain level-of-detail from which to query terrain heights.
18723
18747
* @param positions - The positions to update with terrain heights.
18748
+
* @param [rejectOnTileFail = false] - If true, for a failed terrain tile request the promise will be rejected. If false, returned heights will be undefined.
18724
18749
* @returns A promise that resolves to the provided list of positions when terrain the query has completed.
18725
18750
*/
18726
-
export function sampleTerrain(terrainProvider: TerrainProvider, level: number, positions: Cartographic[]): Promise<Cartographic[]>
18751
+
export function sampleTerrain(
18752
+
terrainProvider: TerrainProvider,
18753
+
level: number,
18754
+
positions: Cartographic[],
18755
+
rejectOnTileFail?: boolean
18756
+
): Promise<Cartographic[]>
18727
18757
18728
18758
/**
18729
18759
* Initiates a sampleTerrain() request at the maximum available tile level for a terrain dataset.
* @param terrainProvider - The terrain provider from which to query heights.
18741
18778
* @param positions - The positions to update with terrain heights.
18779
+
* @param [rejectOnTileFail = false] - If true, for a failed terrain tile request the promise will be rejected. If false, returned heights will be undefined.
18742
18780
* @returns A promise that resolves to the provided list of positions when terrain the query has completed. This
18743
18781
* promise will reject if the terrain provider's `availability` property is undefined.
18744
18782
*/
18745
-
export function sampleTerrainMostDetailed(terrainProvider: TerrainProvider, positions: Cartographic[]): Promise<Cartographic[]>
18783
+
export function sampleTerrainMostDetailed(
18784
+
terrainProvider: TerrainProvider,
18785
+
positions: Cartographic[],
18786
+
rejectOnTileFail?: boolean
18787
+
): Promise<Cartographic[]>
18746
18788
18747
18789
/**
18748
18790
* Subdivides an array into a number of smaller, equal sized arrays.
* @property [modelForwardAxis = Axis.X] - Which axis is considered forward when loading models for tile contents.
28960
29002
* @property [shadows = ShadowMode.ENABLED] - Determines whether the tileset casts or receives shadows from light sources.
28961
29003
* @property [maximumScreenSpaceError = 16] - The maximum screen space error used to drive level of detail refinement.
28962
-
* @property [maximumMemoryUsage = 512] - The maximum amount of memory in MB that can be used by the tileset. Deprecated.
28963
29004
* @property [cacheBytes = 536870912] - The size (in bytes) to which the tile cache will be trimmed, if the cache contains tiles not needed for the current view.
28964
29005
* @property [maximumCacheOverflowBytes = 536870912] - The maximum additional memory (in bytes) to allow for cache headroom, if more than {@link Cesium3DTileset#cacheBytes} are needed for the current view.
28965
29006
* @property [cullWithChildrenBounds = true] - Optimization option. Whether to cull tiles using the union of their children bounding volumes.
* @param [options.scene3DOnly = false] - When <code>true</code>, each geometry instance will only be rendered in 3D to save GPU memory.
42638
42681
* @param [options.orderIndependentTranslucency = true] - If true and the configuration supports it, use order independent translucency.
42639
42682
* @param [options.mapProjection = new GeographicProjection()] - The map projection to use in 2D and Columbus View modes.
42640
-
* @param [options.globe = new Globe(mapProjection.ellipsoid)] - The globe to use in the scene. If set to <code>false</code>, no globe will be added.
42683
+
* @param [options.globe = new Globe(mapProjection.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.
42641
42684
* @param [options.useDefaultRenderLoop = true] - True if this widget should control the render loop, false otherwise.
42642
42685
* @param [options.useBrowserRecommendedResolution = true] - If true, render at the browser's recommended resolution and ignore <code>window.devicePixelRatio</code>.
42643
42686
* @param [options.targetFrameRate] - The target frame rate when using the default render loop.
* @property [contextOptions] - Context and WebGL creation properties passed to {@link Scene}.
44802
44845
* @property [sceneMode = SceneMode.SCENE3D] - The initial scene mode.
44803
44846
* @property [mapProjection = new GeographicProjection()] - The map projection to use in 2D and Columbus View modes.
44804
-
* @property [globe = new Globe(mapProjection.ellipsoid)] - The globe to use in the scene. If set to <code>false</code>, no globe will be added.
44847
+
* @property [globe = new Globe(mapProjection.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.
44805
44848
* @property [orderIndependentTranslucency = true] - If true and the configuration supports it, use order independent translucency.
44806
44849
* @property [creditContainer] - The DOM element or ID that will contain the {@link CreditDisplay}. If not specified, the credits are added to the bottom of the widget itself.
44807
44850
* @property [creditViewport] - The DOM element or ID that will contain the credit pop up created by the {@link CreditDisplay}. If not specified, it will appear over the widget itself.
0 commit comments