MAN page from RedHat Other XITE-3.3-3.i386.rpm
REGIONPERIMETER
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
regionPerimeter - find the perimeter of one or more regions
SYNTAX
#include <
xite/region.h>
int regionPerimeter( region* reg, int nc,
int loop, int* perimeter );
DESCRIPTION
Calculates the perimeter of one or several regions.If "loop" is false, the perimeter of "reg" is measured.If true, the next pointer in reg is followed until nil,and the perimeters of all the regions are accumulated."nc" decides the perimeter type used - 4 means 4-perimeter,8 means 8-perimeter, 0 means use the nc type of the region.
RETURN VALUE
0 => ok
1 => "reg" points to nil. Area is set to 0.
2 => bad nc value, should be 0, 4 or 8.
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),
regionIsPoint(3),
regionPoint(3),
regionSearch(3),
regionSort(3),
regionCopy(3),
regionUnion(3),
regionOverlap(3),
regionNeighbor(3),
regionVolume(3),
regionYline(3)
AUTHOR
Tor Loennestad, BLAB, ifi, UiO
ID
$Id: regionPerimeter.c,v 1.21 1997/01/29 10:45:14 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RETURN VALUE
- SEE ALSO
- AUTHOR
- ID
This document was created byman2html,using the manual pages.