CircleAngleModelSize

Gets the size of a circle angle model

int CircleAngleModelSize(
        const IMAGE             *image,
        const FIG_HEADER        *figure,
        const int               mode,
        const int               stepAngle
)

Parameters
*image
Image data structure address
*figure
Figure data structure address
mode
Mode
0: Search (default)
1: Defect
2: Edge
stepAngle
Skipping angle (1 to 100: default is 4)

Return Value
Model size (in bytes)
ERROR(-1): Unsuccessful completion

Description
Gets the size of the space required for model data of the circle angle measurement.
The figure passed by the FIGURE structure must be a "circumference".

Notes