Click or drag to resize

QuantizedMeshTerrainProvider.ExtentToCoordinateExtent Method

Gets a QuantizedMeshTileCoordinateExtent which contains a given CartographicExtent.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public QuantizedMeshTileCoordinateExtent ExtentToCoordinateExtent(
	int level,
	CartographicExtent extent
)

Parameters

level
Type: System.Int32
The zoom level.
extent
Type: AGI.Foundation.Coordinates.CartographicExtent
The extent.

Return Value

Type: QuantizedMeshTileCoordinateExtent
The QuantizedMeshTileCoordinateExtent of the smallest region within the bounding extent that contains the given CartographicExtent. If the extent is completely outside the bounding extent of the terrain, then OutsideExtent will be returned. If the extent includes some regions outside the bounding extent of the terrain, the coordinates will be clamped to the terrain's edges.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when extent is null.
See Also