QuantizedMeshTerrainProviderExtentToCoordinateExtent Method |
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public QuantizedMeshTileCoordinateExtent ExtentToCoordinateExtent(
int level,
CartographicExtent extent
)
Public Function ExtentToCoordinateExtent (
level As Integer,
extent As CartographicExtent
) As QuantizedMeshTileCoordinateExtent
public:
QuantizedMeshTileCoordinateExtent ExtentToCoordinateExtent(
int level,
CartographicExtent^ extent
)
member ExtentToCoordinateExtent :
level : int *
extent : CartographicExtent -> QuantizedMeshTileCoordinateExtent
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 See Also