GM_Layer_tGetPixelElevationRow Method (GM_Layer_t, Int32, Single, Single) |
Retrieves an entire row of elevation values from the provided layer.
Namespace:
GlobalMapper.Types
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 GetPixelElevationRow(
GM_Layer_t aLayer,
int aRow,
out float[] aElevRow,
float aInvalidVal
)
Public Shared Function GetPixelElevationRow (
aLayer As GM_Layer_t,
aRow As Integer,
<OutAttribute> ByRef aElevRow As Single(),
aInvalidVal As Single
) As GM_Error_t32
public:
static GM_Error_t32 GetPixelElevationRow(
GM_Layer_t^ aLayer,
int aRow,
[OutAttribute] array<float>^% aElevRow,
float aInvalidVal
)
Parameters
- aLayer
- Type: GlobalMapper.TypesGM_Layer_t
IN: Layer to get elevation from - aRow
- Type: SystemInt32
IN: Y coord of pixel (0 is topmost) - aElevRow
- Type: SystemSingle
(float*) OUT: Buffer to hold elevation values for row in meters - aInvalidVal
- Type: SystemSingle
IN: Value to use for invalid samples (i.e. -9999.9)
Return Value
Type:
GM_Error_t32A GM Error Code
See Also