Click or drag to resize
NOVAS2COMTopoPlanet Method
Computes the topocentric place of a planet, given the location of the observer.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public short TopoPlanet(
	double tjd,
	ref BodyDescription ss_object,
	ref BodyDescription earth,
	double deltat,
	ref SiteInfo location,
	ref double ra,
	ref double dec,
	ref double dis
)

Parameters

tjd
Type: SystemDouble
TT (or TDT) Julian date for topocentric 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
deltat
Type: SystemDouble
Difference TT(or TDT)-UT1 at 'tjd', in seconds.
location
Type: ASCOM.AstrometrySiteInfo
structure containing observer's location
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