SofaRx Method
Applies a rotation around the X-axis to a 3×3 rotation matrix by a specified angle, in radians.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void Rx(
double phi,
double[] r
)
Public Shared Sub Rx (
phi As Double,
r As Double()
)
Parameters
- phi Double
- The angle of rotation, in radians, to apply about the X-axis.
- r Double
- A 9-element array that receives the resulting 3×3 rotation matrix in row-major order. The array must not be
null.
This method is a P/Invoke wrapper for the SOFA library function 'iauRx'. The resulting
matrix represents a right-handed rotation. The input array must have a length of at least 9 elements. No
input validation is performed; passing an array of incorrect length or a null reference may result in
undefined behavior.
Supported in: 2.0