FMatrix3Rotate(FPoint3, Single, Single, Single, AxisType) Method
Rotate the 3D point by a specified angle, in radians.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2414.4032
public static FPoint3 Rotate(
FPoint3 point,
float thetaX,
float thetaY,
float thetaZ,
AxisType upAxis = AxisType.Z
)
Public Shared Function Rotate (
point As FPoint3,
thetaX As Single,
thetaY As Single,
thetaZ As Single,
Optional upAxis As AxisType = AxisType.Z
) As FPoint3
No code example is currently available or this language may not be supported.
- point FPoint3
-
Reference to the point to be rotated.
- thetaX Single
-
The angle around the X axis by which to rotate the point, in radians.
- thetaY Single
-
The angle around the Y axis by which to rotate the point, in radians.
- thetaZ Single
-
The angle around the Z axis by which to rotate the point, in radians.
- upAxis AxisType (Optional)
-
The optional 'up' direction axis used to help determine which axis is
yaw.
FPoint3
The rotated 3D point, relative to 0,0,0.
The order of rotations is Yaw, Pitch, Roll, with the UpDirection
helping to distinguish which axis is Yaw.
Yaw, pitch and roll are descriptions from the perspective of the pilot.
- Yaw is left/right turning rotation with a constant
horizon.
- Pitch is forward/back rotation.
- Roll is wingtip left/right rotation.