GM_SetAreaFeaturePointList |
Sets the list of point locations to use for the given area 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).
The aHoleIndex parameter allows you to set the position list for holes within an area as well as the main parent area. To set the position list for the main parent area, use a value of 0 for aHoleIndex. To set the position of one of the holes in the area, set aHoleIndex to the 1-based index of the hole in the area.
GM_Error_t32 GM_SetAreaFeaturePointList ( GM_LayerHandle_t32 aLayer, // Layer the area is in uint32 aAreaIndex, // Index of area in layer uint32 aHoleIndex, // Index of hole to apply locations to (0 for main parent area, 1 for first hole, etc.) const GM_Point_t* aPointList, // New list of points for area uint32 aPointCount, // Number of points in list (must be >= 3) boolean aPosInLayerCoords // Are the position in the layer coordinate system or the current coordinate system? );