regionFree
[ XITE Reference Manual | XITE home ]
Name
regionFree - free the memory occupied by a region
Syntax
#include <xite/region.h>
void regionFree( region** reg, int loop );
Description
Frees all memory occupied by the region object,
including the yline array and all its yline objects,
and assigns NIL to the reg pointer. If "loop" is
true, the next pointer in reg is followed, and
all regions are freed.
Return value
none
Author
Tor Loennestad, BLAB, ifi, UiO
See also
regionAnalyse(1), regionArea(3),
regionConvexHull(3), regionCreate(3),
regionDraw(3), regionHistoUpdate(3), regionHisto(3),
regionImoment(3), regionInsertYline(3), regionDeleteYline(3),
regionEndInsert(3), regionXmean(3), regionYmean(3),
regionMean(3), regionXmin(3), regionXmax(3), regionYmin(3),
regionYmax(3), regionMinMax(3), regionCMoment(3),
regionPMoment(3), regionMoment(3), regionPerform(3),
regionPerimeter(3), regionIsPoint(3), regionPoint(3),
regionSearch(3), regionSort(3), regionCopy(3), regionUnion(3),
regionOverlap(3), regionNeighbor(3), regionVolume(3),
regionYline(3)
Example
region *reg;
..create and use reg..
regionFree(®, FALSE);
Id
$Id: regionFree.c,v 1.19 1995/10/27 10:49:37 svein Exp $