Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

2D Cartesian Coordinate Rotation VI

LabVIEW 2009 Help

Edition Date: June 2009

Part Number: 371361F-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Geometry VIs

Requires: Full Development System

Rotates a two-dimensional Cartesian coordinate in the counterclockwise direction. 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.

2D Cartesian Coordinate Rotation (Array)

X specifies the input x-coordinates.
Y specifies the input y-coordinates.
theta specifies the rotation angle in radians.
X Out returns the rotated x-coordinates.
Y Out returns the rotated 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 Rotation (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.
theta specifies the rotation angle in radians.
x out returns the rotated x-coordinate.
y out returns the rotated 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 Rotation Details

The following illustration shows the rotation of a two-dimensional Cartesian coordinate in the counterclockwise direction by (– < ):

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

for the rotation matrix

.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit