Click or drag to resize
NOVAS31MakeObserver Method
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.2.0.2774)
Syntax
public short MakeObserver(
	ObserverLocation Where,
	OnSurface ObsSurface,
	InSpace ObsSpace,
	ref Observer Obs
)

Parameters

Where
Type: ASCOM.AstrometryObserverLocation
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.AstrometryOnSurface
Structure containing data for an observer's location on the surface of the Earth; used when 'Where' = 1
ObsSpace
Type: ASCOM.AstrometryInSpace
Structure containing an observer's location on a near-Earth spacecraft; used when 'Where' = 2
Obs
Type: ASCOM.AstrometryObserver
Structure specifying the location of the observer

Return Value

Type: Int16
 0 ... everything OK
 1 ... input value of 'Where' is out-of-range.
 
Remarks