NovasGravVec Method
Corrects position vector for the deflection of light in the gravitational field of an arbitrary body.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void GravVec(
double[] Pos1,
double[] PosObs,
double[] PosBody,
double RMass,
ref double[] Pos2
)
Public Shared Sub GravVec (
Pos1 As Double(),
PosObs As Double(),
PosBody As Double(),
RMass As Double,
ByRef Pos2 As Double()
)
Parameters
- Pos1 Double
- Position vector of observed object, with respect to origin at observer
(or the geocenter), components in AU.
- PosObs Double
- Position vector of observer (or the geocenter), with respect to origin at
solar system barycenter, components in AU.
- PosBody Double
- Position vector of gravitating body, with respect to origin at solar system
barycenter, components in AU.
- RMass Double
- Reciprocal mass of gravitating body in solar mass units, that is,
Sun mass / body mass.
- Pos2 Double
- Position vector of observed object, with respect to origin at observer
(or the geocenter), corrected for gravitational deflection, components in AU.
This function valid for an observed body within the solar system as well as for a star.
Supported in: 2.0