imaqAddRotatedRectContour
Usage
ContourID imaqAddRotatedRectContour(ROI* roi, RotatedRect rect);
Purpose
This function creates a new region of interest (ROI) contour that represents a rotated rectangle and adds it to the provided ROI.
|
Note This function is obsolete. The replacement function is imaqAddRotatedRectContour2(), which corrects a numerical error that exists in this version of the function. |
Parameters
Name
|
Type
|
Description
|
roi
|
ROI*
|
The ROI to contain the new contour.
|
rect
|
RotatedRect
|
The coordinate location information for the rotated rectangle.
|
Return Value
Type
|
Description
|
ContourID |
On success, this function returns a ContourID for the contour. You can use the ContourID to reference the contour within the containing ROI. On failure, this function returns 0. To get extended error information, call imaqGetLastError().
|