Owning Palette: Geometry VIs
Requires: Full Development System
Rotates a three-dimensional Cartesian coordinate system in the counterclockwise direction using the Euler angles method and returns the new coordinate of the given point. 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. | |||||||||||||||||||||||||
Z specifies the input z-coordinates. | |||||||||||||||||||||||||
Euler Angles specifies the Euler angles in radians.
| |||||||||||||||||||||||||
rotation order specifies the order of the axes to rotate the coordinates around. For example, X-Y-Z specifies the first, second, and third rotations are about the x-, y-, and z-axes respectively. Z-X-Z is the default order.
|
|||||||||||||||||||||||||
X Out returns the rotated x-coordinates. | |||||||||||||||||||||||||
Y Out returns the rotated y-coordinates. | |||||||||||||||||||||||||
Z Out returns the rotated z-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. | |||||||||||||||||||||||||
z specifies the input z-coordinate. | |||||||||||||||||||||||||
Euler Angles specifies the Euler angles in radians.
| |||||||||||||||||||||||||
rotation order specifies the order of the axes to rotate the coordinates around. For example, X-Y-Z specifies the first, second, and third rotations are about the x-, y-, and z-axes respectively. Z-X-Z is the default order.
|
|||||||||||||||||||||||||
x out returns the rotated x-coordinate. | |||||||||||||||||||||||||
y out returns the rotated y-coordinate. | |||||||||||||||||||||||||
z out returns the rotated z-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. |
According to Euler's rotation theory, you can describe a coordinate rotation with the Euler angles , , and as shown below (use the default rotation order Z-X-Z as an example):
The following three steps describe the rotation:
If you express the rotation of point (x, y, z) in terms of the following three matrices B, C, and D:
; ; ,
the coordinates, (x', y', z'), of the point in the new coordinate frame are
where A = BCD.