Click or drag to resize
NOVAS2COMAppPlanet Method
Compute the apparent place of a planet or other solar system body.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public short AppPlanet(
	double tjd,
	ref BodyDescription ss_object,
	ref BodyDescription earth,
	ref double ra,
	ref double dec,
	ref double dis
)

Parameters

tjd
Type: SystemDouble
TT (or TDT) Julian date for apparent place.
ss_object
Type: ASCOM.AstrometryBodyDescription
Structure containing the body designation for the solar system body
earth
Type: ASCOM.AstrometryBodyDescription
Structure containing the body designation for the Earth
ra
Type: SystemDouble
OUT: Apparent right ascension in hours, referred to true equator and equinox of date 'tjd'.
dec
Type: SystemDouble
OUT: Apparent declination in degrees, referred to true equator and equinox of date 'tjd'.
dis
Type: SystemDouble
OUT: True distance from Earth to planet at 'tjd' in AU.

Return Value

Type: Int16
  0...Everything OK.
 >0...See error description in function 'ephemeris'.
 
Remarks
Note: This function only supports Earth, which is a consequence of the implementation used. Please use the NOVAS3.1 or later classes in applications that require planetary or moon ephemeredes as these classes can access the JPL 421 planetary ephemeris data provided as part of the ASCOM distribution.
See Also