regionEndInsert
[ XITE Reference Manual | XITE home ]
Name
regionEndInsert - clean up region at end of yline insertion
Syntax
#include <xite/region.h>
BiffStatus regionEndInsert( region* reg );
Description
the "ylines" array in reg is searched for first and
last occurrence of a pointer, and the array is then
reallocated to fit exactly the required size.
Finally reg->ymin and reg->ymax is updated.
This routine should always be called after inserting
or deleting ylines into an region, unless you are sure
that the object really spans ymin..ymax.
See also
regionAnalyse(1), regionArea(3),
regionConvexHull(3), regionCreate(3), regionDraw(3),
regionFree(3), regionHisto(3), regionHistoUpdate(3),
regionImoment(3), regionInsertYline(3), regionDeleteYline(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)
Return value
0 => ok
2 => No ylines in the region (Warning)
3 => Malloc failed (Error)
Author
Tor L|nnestad, BLAB, ifi, UiO
Id
$Id: regionInsert.c,v 1.15 1997/01/29 10:45:10 svein Exp $