QuantizedMeshTerrainProvider Class |
Namespace: AGI.Foundation.Terrain
The QuantizedMeshTerrainProvider type exposes the following members.
Name | Description | |
---|---|---|
QuantizedMeshTerrainProvider(QuantizedMeshTilesetMetadata) |
Initializes a new instance as a member of the default TerrainCacheGroup.
| |
QuantizedMeshTerrainProvider(QuantizedMeshTilesetMetadata, TerrainCacheGroup) | Initializes a new instance. |
Name | Description | |
---|---|---|
BoundingExtent |
Gets or sets the smallest rectangular extent that bounds the terrain provided by this terrain provider.
The returned extent's edges are expressed in radians.
(Inherited from TerrainProvider.) | |
BoundingExtentNativeUnits |
Gets or sets the smallest rectangular extent that bounds the terrain provided by this terrain provider.
The returned extent's edges are expressed in the native units of the terrain provider.
(Inherited from TerrainProvider.) | |
Cache |
Gets the cache for this terrain provider.
| |
DefaultInterpolator |
Gets or sets the default interpolator to use to interpolate heights
when a specific interpolator is not specified in the call to GetHeight(Double, Double)
or GetHeightNativeUnits(Double, Double).
| |
HeightReference |
Gets or sets an enumeration indicating whether the heights returned by the GetHeight(Double, Double) method
are relative to the Shape or to the ReferenceSurface.
(Inherited from TerrainProvider.) | |
MaximumLevel |
Gets the maximum zoom level.
| |
Metadata |
Gets the metadata for this tileset.
| |
MinimumSampleSpacing |
Gets the smallest distance between the successive height samples of the terrain data, in radians.
If the return value is 0.0, then the minimum sample spacing is unknown.
(Overrides TerrainProviderMinimumSampleSpacing.) | |
NativeToMeters |
Gets or sets the value to multiply a height in the native units of the terrain provider
to convert it to meters.
(Inherited from TerrainProvider.) | |
RadiansToNative |
Gets or sets the value to multiply an angle in radians by in order to convert it to the
internal units of the terrain provider.
(Inherited from TerrainProvider.) | |
ReferenceSurface |
Gets or sets the reference surface.
The GetHeight(Double, Double) method returns heights relative to this reference surface.
If this property is , the heights are relative to the surface of the Shape ellipsoid instead.
(Inherited from TerrainProvider.) | |
Shape |
Gets or sets the shape on which the longitude and latitude are defined.
If ReferenceSurface is ,
the heights returned by GetHeight(Double, Double) are relative to this ellipsoid as well.
(Inherited from TerrainProvider.) | |
ShapeFixedFrame |
Gets or sets the reference frame fixed to the Shape in which the
longitude and latitude are defined.
(Inherited from TerrainProvider.) | |
ZoomLevel |
Gets or sets the zoom level to request tiles at. If the tile is unavailable at this level,
the highest level available tile will be used instead.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExtentToCoordinateExtent |
Gets a QuantizedMeshTileCoordinateExtent which contains a given CartographicExtent.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindMostDetailedAvailableTile |
Find the most detailed tile that is available and which overlaps the given tile coordinates.
| |
GetFirstPartials(Double, Double) |
Get the partial derivatives of height with respect to the specified longitude and
latitude relative to the provider's Shape.
(Overrides TerrainProviderGetFirstPartials(Double, Double).) | |
GetFirstPartials(Double, Double, TerrainInterpolatorQuantizedMeshTerrainTile) |
Get the interpolated partial derivatives of height with respect to the specified longitude and
latitude relative to the provider's Shape.
| |
GetGradient | Get the interpolated gradient of height with respect to the terrain at the specified longitude and latitude relative to the provider's Shape. This method produces a vector representing the gradient of height in the ShapeFixedFrame. Note: The direction for the gradient is defined for use as the outward facing surface normal direction. To obtain the directional derivative for the height (rate of change of height with respect to time), take the negative gradient and dot it with a unit vector along the desired azimuth (change in height with respect to distance), times the speed along that direction in meters/second. The gradient, as defined above, is parallel to the upward facing terrain surface normal, but its magnitude indicates the rate of change in the height at that location. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHeight(Double, Double) |
Gets the interpolated height of the terrain at the specified longitude and latitude using the
default interpolator for this terrain provider.
(Overrides TerrainProviderGetHeight(Double, Double).) | |
GetHeight(Double, Double, TerrainInterpolatorQuantizedMeshTerrainTile) |
Gets the interpolated height of the terrain at the specified longitude and latitude using the
specified TerrainInterpolatorTData.
| |
GetHeightNativeUnits |
Gets the interpolated height of the terrain at the specified longitude and latitude.
(Overrides TerrainProviderGetHeightNativeUnits(Double, Double).) | |
GetHeightRelativeToShape |
Gets the interpolated height of the terrain at the specified longitude and latitude
relative to the provider's Shape.
This method takes into account the heights of any reference surfaces.
(Inherited from TerrainProvider.) | |
GetHessian | Get the interpolated hessian matrix based on the function of height with respect to the specified longitude and latitude relative to the provider's Shape. This method produces a matrix representing the mixed second order partial derivatives of height in the ShapeFixedFrame. Note: The direction for the gradient and hessian is defined for use with the directional derivative on the surface. The gradient is defined to be orthogonal to the terrain surface with its surface projection in the direction of the greatest increase in the height. To obtain the second directional derivative for the height (acceleration of height along a particular azimuth), take the negative of the hessian then pre and post multiply it by the velocity vector along the desired azimuth. Then add the negative gradient dotted with the derivative of the velocity vector along the surface. | |
GetLocalMinimumSampleSpacing |
Gets the smallest distance between the successive height samples of the terrain data, in radians, at the specified coordinates.
If the return value is 0.0, then the minimum sample spacing is unknown.
(Overrides TerrainProviderGetLocalMinimumSampleSpacing(Double, Double).) | |
GetMesh |
Gets a mesh for a specified set of coordinates.
This method is not expected to do any caching.
| |
GetNormal |
Get the normal vector to the terrain surface at the specified location.
(Inherited from TerrainProvider.) | |
GetNumberOfXTilesAtLevel |
Gets the number of tiles in the X direction at a given zoom level.
| |
GetNumberOfYTilesAtLevel |
Gets the number of tiles in the Y direction at a given zoom level.
| |
GetSecondPartials(Double, Double) |
Get the second order (mixed) partial derivatives of height with respect to the specified
longitude and latitude relative to the provider's Shape.
(Overrides TerrainProviderGetSecondPartials(Double, Double).) | |
GetSecondPartials(Double, Double, TerrainInterpolatorQuantizedMeshTerrainTile) |
Get the second order (mixed) partial derivatives of height with respect to the specified
longitude and latitude relative to the provider's Shape.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InGlobalBounds |
Returns if the coordinates are in global bounds which is:
[-π, π] for longitude and
[-π/2, π/2] for latitude.
(Inherited from TerrainProvider.) | |
IsTileAvailable |
Determines whether a tile with the given tile coordinates is available.
| |
LatitudeToYTileCoordinate |
Gets the Y tile coordinate for a given latitude.
| |
LongitudeToXTileCoordinate |
Gets the X tile coordinate for a given longitude.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PreloadExtent |
Loads the terrain data in a given CartographicExtent into the terrain cache.
This method does not return until the terrain data is fully loaded. All terrain data within the extent is loaded into
memory, even if doing so would exceed the TerrainCacheGroup'sMaximumSize. Furthermore, the loaded terrain data is locked
in memory (meaning it will not be unloaded) until the user calls UnloadExtent(CartographicExtent).
This method is safe to call from any thread.
(Overrides TerrainProviderPreloadExtent(CartographicExtent).) | |
TileCoordinatesToExtent |
Gets the bounding extent of a tile with the given tile coordinates.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnloadExtent |
Unloads the cached terrain data for a given CartographicExtent.
This method unloads all cached regions where any part of the region falls within
the extent. It does not return until the regions have been unloaded. However,
if a region within the extent is being used in another thread while this method
is executing, the region may be reloaded immediately after this method unloads it.
This method is safe to call from any thread.
(Overrides TerrainProviderUnloadExtent(CartographicExtent).) | |
ValidateTileCoordinates |
Determines whether the given tile coordinates are valid, that is, whether
the coordinates define a tile that could possibly exist, and throws an
ArgumentOutOfRangeException if one of the coordinates is invalid.
This method does not determine whether the tile actually exists.
|