SofaPv2s Method

Position-velocity vector to spherical coordinates.

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static void Pv2s(
	double[] pv,
	ref double theta,
	ref double phi,
	ref double r,
	ref double td,
	ref double pd,
	ref double rd
)

Parameters

pv  Double
Position-velocity vector (length 6).
theta  Double
Returned longitude angle (radians).
phi  Double
Returned latitude angle (radians).
r  Double
Returned radius.
td  Double
Returned rate of change of theta.
pd  Double
Returned rate of change of phi.
rd  Double
Returned rate of change of r.

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