Global Mapper SDK
| GM_Layer_t .GetPixelElevation Method (GM_Layer_t, Int32, Int32, Single ) |
Retrieves the elevation at a given pixel location in the provided layer.
Namespace:GlobalMapper.Types
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public static GM_Error_t32 GetPixelElevation ( GM_Layer_t aLayer , int aRow , int aCol , out float aElev )
Parameters
- aLayer
-
Type:
GlobalMapper
.
GM_Layer_t
IN: Layer to get elevation from - aRow
-
Type:
System
.
Int32
IN: Y coord of pixel (0 is topmost) - aCol
-
Type:
System
.
Int32
IN: X coord of pixel (0 is leftmost) - aElev
-
Type:
System
.
Single
OUT: Elevation at location in meters
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.