globalmapper.SetLineFeaturePointListEx¶
- globalmapper.SetLineFeaturePointListEx(GM_LayerHandle_t32 aLayer, uint32 aLineIndex, GM_Point_t aPointList, bool aPosInLayerCoords, float aElevList) GM_Error_t32 [source]¶
Sets the list of point locations to use for the given line feature, with the elevations of the points passed in aElevList. The positions can either be specified in the native projection system of the layer (aPosInLayerCoords is TRUE) or in the current projection as returned by GetProjection (aPosInLayerCoords is FALSE).
- Parameters:
aLayer (GM_LayerHandle_t32) – Layer the line is in
aLineIndex (uint32) – Index of line in layer
aPointList (GM_Point_t) – New list of points for line
aPosInLayerCoords (bool) – Are the position in the layer coordinate system or the current coordinate system?
aElevList (float_array) – List of per-vertex elevations. Use gm.NULL if no elevation list
- Returns:
Error Code
- Return type:
GM_Error_t32