SofaS2pv Method

Spherical to position-velocity vector.

Definition

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

Parameters

theta  Double
Longitude angle (radians).
phi  Double
Latitude angle (radians).
r  Double
Radius.
td  Double
Rate of change of theta.
pd  Double
Rate of change of phi.
rd  Double
Rate of change of r.
pv  Double
Returned position-velocity vector (length 6).

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