Table of Contents

tile_GetMinMaxAlt

Description

Get the minimum and maximum altitude within a mosaic tile (applies to the map types MAP_Heightfield and MAP_WaterMap only.)

Function prototype

bool CExtAPI::tile_GetMinMaxAlt(LPVOID hTile, float &minval, float &maxval);

Arguments

Name Type Comment
hTile LPVOID A handle to a mosaic tile, the minimum and maximum altitude of which is to be retrieved.
minval float& A float to receive the minimum altitude (passed by reference.)
maxval float& A float to receive the maximum altitude (passed by reference.)

Return value

False if an error occurred, and true otherwise.

Comments

None.