SofaRy Method
Applies a rotation about the Y-axis by the specified angle and returns the corresponding rotation matrix.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void Ry(
double theta,
double[] r
)
Public Shared Sub Ry (
theta As Double,
r As Double()
)
Parameters
- theta Double
- The angle of rotation in radians. Positive values represent a right-handed rotation about the Y-axis.
- r Double
- An array of nine elements that receives the resulting 3×3 rotation matrix in row-major order. The array must
not be null and must have a length of at least 9.
This method is a P/Invoke wrapper for the SOFA library function 'iauRy'. The
resulting matrix can be used to transform 3D vectors by applying a rotation about the Y-axis. The input
array is overwritten with the computed matrix values.
Supported in: 2.0