imaqGetDistance
Usage
int imaqGetDistance(PointFloat point1, PointFloat point2, float* distance);
Purpose
Computes the distance between two points.
Parameters
Name
|
Type
|
Description
|
---|---|---|
point1 | PointFloat | The coordinate location of the first point. |
point2 | PointFloat | The coordinate location of the second point. |
distance | float* | On return, the distance between the two points. This parameter is required and cannot be NULL. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |