Click or drag to resize
NOVAS2SunField Method
Corrects position vector for the deflection of light in the gravitational field of the Sun.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public static short SunField(
	double[] pos,
	double[] earthvector,
	ref double[] pos2
)

Parameters

pos
Type: SystemDouble
Position vector, referred to origin at center of mass of the Earth, components in AU.
earthvector
Type: SystemDouble
Position vector of center of mass of the Earth, referred to origin at center of mass of the Sun, components in AU.
pos2
Type: SystemDouble
Position vector, referred to origin at center of mass of the Earth, corrected for gravitational deflection, components in AU.

Return Value

Type: Int16
0...Everything OK.
Remarks
This function is valid for bodies within the solar system as well as for stars.
See Also