NovasMakeObserver Method
Makes a structure of type 'observer' - specifying the location of the observer.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short MakeObserver(
ObserverLocation Where,
OnSurface ObsSurface,
InSpace ObsSpace,
ref Observer Obs
)
Public Shared Function MakeObserver (
Where As ObserverLocation,
ObsSurface As OnSurface,
ObsSpace As InSpace,
ByRef Obs As Observer
) As Short
- 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
Int16
0 ... everything OK
1 ... input value of 'Where' is out-of-range.
Supported in: 2.0