2D Cartesian Coordinate Shift VI

Owning Palette: Geometry VIs

Requires: Full Development System

Shifts two-dimensional Cartesian coordinates along the x- and y-axes. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.

Details  

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

2D Cartesian Coordinate Shift (Array)

X specifies the input x-coordinates.
Y specifies the input y-coordinates.
shift specifies the shift amount along each of the axes.
dx specifies the shift amount along the x-axis.
dy specifies the shift amount along the y-axis.
X Out returns the shifted x-coordinates.
Y Out returns the shifted y-coordinates.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

2D Cartesian Coordinate Shift (Scalar)

x is the real input x-component for the two-element vector.
y is the real input y-component for the two-element vector.
shift specifies the shift amount along each of the axes.
dx specifies the shift amount along the x-axis.
dy specifies the shift amount along the y-axis.
x out returns the shifted x-coordinate.
y out returns the shifted y-coordinate.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

2D Cartesian Coordinate Shift Details

The following illustration shows the shift of a two-dimensional Cartesian coordinate by dx and dy:

Before the shift, the coordinate of point P is (x, y). After the shift operation, the coordinate of point P is (x', y'), where

x' = x + dx

y' = y + dy