GM_SetLineFeaturePointList

Sets the list of point locations to use for the given line feature. 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 GM_GetProjection ( aPosInLayerCoords is FALSE).

Syntax

C++
Copy
GM_Error_t32 GM_SetLineFeaturePointList
(
GM_LayerHandle_t32      aLayer,             // Layer the line is in
uint32                  aLineIndex,         // Index of line in layer
const GM_Point_t*       aPointList,         // New list of points for line
uint32                  aPointCount,        // Number of points in list (must be >= 2)
boolean                 aPosInLayerCoords   // Are the position in the layer coordinate system or the current coordinate system?
);