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.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
X specifies the input x-coordinates. | |||||
Y specifies the input y-coordinates. | |||||
shift specifies the shift amount along each of the axes.
| |||||
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. |
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.
| |||||
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. |
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