SofaPvstar Method
Position-velocity vector to spherical polar coordinates.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static int Pvstar(
double[] pv,
ref double ra,
ref double dec,
ref double pmr,
ref double pmd,
ref double px,
ref double rv
)
Public Shared Function Pvstar (
pv As Double(),
ByRef ra As Double,
ByRef dec As Double,
ByRef pmr As Double,
ByRef pmd As Double,
ByRef px As Double,
ByRef rv As Double
) As Integer
- pv Double
- Position-velocity vector (length 6).
- ra Double
- Returned right ascension (radians).
- dec Double
- Returned declination (radians).
- pmr Double
- Returned proper motion in RA (radians/year).
- pmd Double
- Returned proper motion in Dec (radians/year).
- px Double
- Returned parallax (arcsec).
- rv Double
- Returned radial velocity (km/s).
Int32Status code: 0 = OK, <0 indicates an error condition.
Supported in: 2.0