Global Mapper SDK
| GM_Layer_t .GetFeatureElevation Method |
Gives the elevation of a feature.
Set the name of the elevation attribute using GM_Layer_m.SetLayerElevationAttribute().
Namespace:GlobalMapper.Types
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public GM_Error_t32 GetFeatureElevation ( GM_FeatureClassType_t8 aFeatureClassType , uint aFeatureIndex , out float aElev )
Parameters
- aFeatureClassType
-
Type:
GlobalMapper
.
GM_FeatureClassType_t8
IN: Type of feature class (area, point, line) - aFeatureIndex
-
Type:
System
.
UInt32
IN: Index of feature in layer - aElev
-
Type:
System
.
Single
OUT: Elevation of feature (in meters)
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.