Global Mapper SDK
| GM_Layer_t .GetPixelElevationRow Method (GM_Layer_t, Int32, Single , Single) |
Retrieves an entire row of elevation values from 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 GetPixelElevationRow ( GM_Layer_t aLayer , int aRow , out float [] aElevRow , float aInvalidVal )
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) - aElevRow
-
Type:
System
.
Single
(float*) OUT: Buffer to hold elevation values for row in meters - aInvalidVal
-
Type:
System
.
Single
IN: Value to use for invalid samples (i.e. -9999.9)
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.