NovasMakeObserver Method

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

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static short MakeObserver(
	ObserverLocation Where,
	OnSurface ObsSurface,
	InSpace ObsSpace,
	ref Observer Obs
)

Parameters

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

Return Value

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

Version Information

.NET Standard

Supported in: 2.0

See Also