
Reference Manual
Chapter
4
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
103
Measure
Distance and Angle
This tool calculates the distance and the angle between two points. Return values are the
absolute value of the distance and the angle.
Notes:
1.
The definition of the geometrical interpretation of the angle means that the direction of
rotation is counterclockwise in respect to the corresponding X-axis going through the
first point.
2.
If both points are identical, both result values are 0.
This tool is useful for example for generating offset parameters in a ROI tool.
Input Parameters
01 = Start point X
X coordinate of the first point.
02 = Start point Y
Y coordinate of the first point.
03 = End point X
X coordinate of the second point.
04 = End point Y
Y coordinate of the second point.
Returned Values
01 = Distance
Absolute value of the distance between the points in pixels.
02 = Line angle
Angle between the points in degrees ( ).
Example
Geometrical interpretation of the angle between two points.
Figure – Geometrical interpretation of the angel between points.
α
X-axis
first point
second point