imaqGetPointsOnLine
Usage
Point* imaqGetPointsOnLine(Point start, Point end, int* numPoints);
Purpose
Given the endpoints of a line, this function returns all the points comprising the line.
Parameters
Name
|
Type
|
Description
|
---|---|---|
start | Point | The first point of the line. |
end | Point | The last point of the line. |
numPoints | int* | On return, the number of points put into the returned array. Set this parameter to NULL if you do not need this information. |
Return Value
Type |
Description |
---|---|
Point* | On success, this function returns an array of the points on the line. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with this array, dispose of it by calling imaqDispose(). |