Computes the apparent direction of a star or solar system body at a specified time and in a specified coordinate system.

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

Syntax

C#
public short Place(
	double JdTt,
	Object3 CelObject,
	Observer Location,
	double DeltaT,
	CoordSys CoordSys,
	Accuracy Accuracy,
	ref SkyPos Output
)
Visual Basic
Public Function Place ( _
	JdTt As Double, _
	CelObject As Object3, _
	Location As Observer, _
	DeltaT As Double, _
	CoordSys As CoordSys, _
	Accuracy As Accuracy, _
	ByRef Output As SkyPos _
) As Short
Visual C++
public:
virtual short Place(
	double JdTt, 
	Object3 CelObject, 
	Observer Location, 
	double DeltaT, 
	CoordSys CoordSys, 
	Accuracy Accuracy, 
	SkyPos% Output
) sealed

Parameters

JdTt
Type: System..::..Double
TT Julian date for place.
CelObject
Type: ASCOM.Astrometry..::..Object3
Specifies the celestial object of interest
Location
Type: ASCOM.Astrometry..::..Observer
Specifies the location of the observer
DeltaT
Type: System..::..Double
Difference TT-UT1 at 'JdTt', in seconds of time.
CoordSys
Type: ASCOM.Astrometry..::..CoordSys
Code specifying coordinate system of the output position. 0 ... GCRS or "local GCRS"; 1 ... true equator and equinox of date; 2 ... true equator and CIO of date; 3 ... astrometric coordinates, i.e., without light deflection or aberration.
Accuracy
Type: ASCOM.Astrometry..::..Accuracy
Selection for accuracy
Output
Type: ASCOM.Astrometry..::..SkyPos%
Structure specifying object's place on the sky at time 'JdTt', with respect to the specified output coordinate system

Return Value

 = 0         ... No problems.
 = 1         ... invalid value of 'CoordSys'
 = 2         ... invalid value of 'Accuracy'
 = 3         ... Earth is the observed object, and the observer is either at the geocenter or on the Earth's surface (not permitted)
 > 10, < 40  ... 10 + error from function 'Ephemeris'
 > 40, < 50  ... 40 + error from function 'GeoPosVel'
 > 50, < 70  ... 50 + error from function 'LightTime'
 > 70, < 80  ... 70 + error from function 'GravDef'
 > 80, < 90  ... 80 + error from function 'CioLocation'
 > 90, < 100 ... 90 + error from function 'CioBasis'
 

Remarks