Makes a structure of type 'observer' - specifying the location of the observer.

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

Syntax

C#
public short MakeObserver(
	ObserverLocation Where,
	OnSurface ObsSurface,
	InSpace ObsSpace,
	ref Observer Obs
)
Visual Basic
Public Function MakeObserver ( _
	Where As ObserverLocation, _
	ObsSurface As OnSurface, _
	ObsSpace As InSpace, _
	ByRef Obs As Observer _
) As Short
Visual C++
public:
virtual short MakeObserver(
	ObserverLocation Where, 
	OnSurface ObsSurface, 
	InSpace ObsSpace, 
	Observer% Obs
) sealed

Parameters

Where
Type: ASCOM.Astrometry..::..ObserverLocation
Integer code specifying location of observer: 0: observer at geocenter; 1: observer on surface of earth; 2: observer on near-earth spacecraft
ObsSurface
Type: ASCOM.Astrometry..::..OnSurface
Structure containing data for an observer's location on the surface of the Earth; used when 'Where' = 1
ObsSpace
Type: ASCOM.Astrometry..::..InSpace
Structure containing an observer's location on a near-Earth spacecraft; used when 'Where' = 2
Obs
Type: ASCOM.Astrometry..::..Observer%
Structure specifying the location of the observer

Return Value

 0 ... everything OK
 1 ... input value of 'Where' is out-of-range.
 

Remarks