Moves the origin of coordinates from the barycenter of the solar system to the center of mass of the Earth

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public static void BaryToGeo(
	double[] pos,
	double[] earthvector,
	ref double[] pos2,
	ref double lighttime
)
Visual Basic
Public Shared Sub BaryToGeo ( _
	pos As Double(), _
	earthvector As Double(), _
	ByRef pos2 As Double(), _
	ByRef lighttime As Double _
)
Visual C++
public:
static void BaryToGeo(
	array<double>^ pos, 
	array<double>^ earthvector, 
	array<double>^% pos2, 
	double% lighttime
)

Parameters

pos
Type: array<System..::..Double>[]()[][]
Position vector, referred to origin at solar system barycenter, components in AU.
earthvector
Type: array<System..::..Double>[]()[][]
Position vector of center of mass of the Earth, referred to origin at solar system barycenter, components in AU.
pos2
Type: array<System..::..Double>[]()[][]%
OUT: Position vector, referred to origin at center of mass of the Earth, components in AU.
lighttime
Type: System..::..Double%
OUT: Light time from body to Earth in days.

Remarks

This corrects for parallax.

See Also