SofaRy Method

Applies a rotation about the Y-axis by the specified angle and returns the corresponding rotation matrix.

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static void Ry(
	double theta,
	double[] r
)

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.

Remarks

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.

Exceptions

ArgumentNullExceptionThrown if any array parameter is null.
ArgumentExceptionThrown if any array parameter has incorrect length.

Version Information

.NET Standard

Supported in: 2.0

See Also