Reference Manual
Chapter
4
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
139
Calculation
Polar to Cartesian Coordinates
This tool calculates the Cartesian coordinates for any point on a circumference of a given
circle. Typically the input parameters for the coordinates of the circle center will come as a
result from a previously performed program step. To define a point on the circumference
you need values for the radius and an angle. Note that the direction of rotation is for
positive and negative input values always counterclockwise in respect to the x-axes.
The circle is displayed in the preview. The size and position of the circle can also be set in
the preview using the left mouse button. Double-clicking the preview image opens a
larger image in which the circle can be set with higher accuracy.
This function is useful if you want to define a specific point on the circumference of a circle.
In particular if the center of the circle is calculated from a previously performed program
step such as the ‘Fit Circle’ tool or a tool from the Measurement or Edge category.
Input Parameters
01 = X center
X coordinate of the center of the circle.
02 = Y center
Like above but for Y direction.
03 = Radius
Radius
04 = Angle
Radius. Direction of rotation is counter clockwise
independently if the input value is positive or negative.
Returned Values
01 = X coordinate
Cartesian coordinate in X-direction
02 = Y coordinate
Cartesian coordinate in Y-direction
Example
α
X-axes
Returned Values:
Cartesian coordinates:
(X1,Y1)
Input Parameters:
Center of circle: (X,Y)
Angle
α
and radius
(X,Y)