Click or drag to resize
NOVAS3GravVec Method
Corrects position vector for the deflection of light in the gravitational field of an arbitrary body.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public void GravVec(
	double[] Pos1,
	double[] PosObs,
	double[] PosBody,
	double RMass,
	ref double[] Pos2
)

Parameters

Pos1
Type: SystemDouble
Position vector of observed object, with respect to origin at observer (or the geocenter), components in AU.
PosObs
Type: SystemDouble
Position vector of observer (or the geocenter), with respect to origin at solar system barycenter, components in AU.
PosBody
Type: SystemDouble
Position vector of gravitating body, with respect to origin at solar system barycenter, components in AU.
RMass
Type: SystemDouble
Reciprocal mass of gravitating body in solar mass units, that is, Sun mass / body mass.
Pos2
Type: SystemDouble
Position vector of observed object, with respect to origin at observer (or the geocenter), corrected for gravitational deflection, components in AU.
Remarks
This function valid for an observed body within the solar system as well as for a star.
See Also