SofaEpv00 Method

Earth position and velocity (heliocentric and barycentric).

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static int Epv00(
	double date1,
	double date2,
	double[] pvh,
	double[] pvb
)

Parameters

date1  Double
TDB as a 2-part Julian Date (part 1).
date2  Double
TDB as a 2-part Julian Date (part 2).
pvh  Double
Returned heliocentric Earth position/velocity (length 6).
pvb  Double
Returned barycentric Earth position/velocity (length 6).

Return Value

Int32
Status code: 0 = OK, <0 indicates an error condition.

Exceptions

ArgumentNullExceptionThrown if any array parameter is null.
ArgumentExceptionThrown if any array parameter has incorrect length.

Version Information

.NET Standard

Supported in: 2.0

See Also