# 2D Cartesian Coordinate Shift VI

LabVIEW 2011 Help

Edition Date: June 2011

Part Number: 371361H-01

»View Product Info

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.

 Select an instance 2D Cartesian Coordinate Shift (Array)2D Cartesian Coordinate Shift (Scalar)

## 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' = xdx

y' = ydy

Your Feedback!  Poor  |  Excellent    Yes No
 Document Quality?