NovasSpin Method

Transforms a vector from one coordinate system to another with same origin and axes rotated about the z-axis.

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static void Spin(
	double Angle,
	double[] Pos1,
	ref double[] Pos2
)

Parameters

Angle  Double
Angle of coordinate system rotation, positive counterclockwise when viewed from +z, in degrees.
Pos1  Double
Position vector.
Pos2  Double
Position vector expressed in new coordinate system rotated about z by 'angle'.

Version Information

.NET Standard

Supported in: 2.0

See Also