Deallocates any memory associated with a shape.
Syntax
intl gdlShapeFree( gdlShape* shape );
Arguments
shape
The pointer to the shapeObject needing destruction. Input.
Return values
GDL_OK
Prerequisites
gdlGenerateErrorSurface, gdlFindNearest, gdlFindNext, gdlFindPolygonOverlap, gdlFindNextPolygonOverlap, gdlFindPolygonOverlapPercentage, gdlFindNextPolygonOverlapPercentage, gdlPointInPolygon, gdlPointInPolygonNext, gdlShapeCreate
Alternates
None.
Notes
Failure to call gdlShapeFree after those function calls may result in a cumulative loss of memory resources.