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

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public void Spin(
	double Angle,
	double[] Pos1,
	ref double[] Pos2
)
Visual Basic
Public Sub Spin ( _
	Angle As Double, _
	Pos1 As Double(), _
	ByRef Pos2 As Double() _
)
Visual C++
public:
virtual void Spin(
	double Angle, 
	array<double>^ Pos1, 
	array<double>^% Pos2
) sealed

Parameters

Angle
Type: System..::..Double
Angle of coordinate system rotation, positive counterclockwise when viewed from +z, in degrees.
Pos1
Type: array<System..::..Double>[]()[][]
Position vector.
Pos2
Type: array<System..::..Double>[]()[][]%
Position vector expressed in new coordinate system rotated about z by 'angle'.

Remarks