PointDistances Method
Syntax
CWIMAQVision.PointDistances XPointArray, YPointArray, Distances
Return Type
On success, this method returns 0. On failure, this method returns a negative number.
Purpose
Obsolete—Use FindPointDistances instead. Computes the distance, in pixels, between consecutive pairs of points.
Parameters
XPointArray As Variant
The x-coordinates of the points.
YPointArray As Variant
The y-coordinates of the points.
Distances As Variant
On return, an array containing the computed distances. The method computes distance i between points i and i + 1.