regionIsPoint
[ XITE Reference Manual | XITE home ]
Name
regionIsPoint - Is (x, y) a point in the region/list
Syntax
#include <xite/region.h>
int regionIsPoint( region* reg, int loop,
int x, int y );
Description
If the point (x, y) is a point in the region
return TRUE otherwise return FALSE.
If "loop" is true, the next pointer in reg is
followed until NIL.
Return value
0 => Point not in region (region List)
1 => Point is in the region (region List)
See also
regionAnalyse(1), regionArea(3),
regionConvexHull(3), regionCreate(3), regionDraw(3),
regionFree(3), regionHisto(3), regionHistoUpdate(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), regionPoint(3),
regionSearch(3), regionSort(3), regionCopy(3), regionUnion(3),
regionOverlap(3), regionNeighbor(3), regionVolume(3),
regionYline(3)
Author
Otto Milvang
Id
$Id: regionPoint.c,v 1.17 1995/10/27 10:49:47 svein Exp $