Click or drag to resize

QuantizedMeshTerrainProviderExtentToCoordinateExtent Method

Gets a QuantizedMeshTileCoordinateExtent which contains a given CartographicExtent.

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

Parameters

level
Type: SystemInt32
The zoom level.
extent
Type: AGI.Foundation.CoordinatesCartographicExtent
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 .
See Also