2D Cartesian Coordinate Rotation VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Geometry VIs

Requires: Full Development System

Rotates a two-dimensional Cartesian coordinate system in the counterclockwise direction. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.

Note  This VI does not rotate points within a fixed coordinate system. This VI rotates the coordinate system about the origin.

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

.

WAS THIS ARTICLE HELPFUL?

Not Helpful