public static class NOVAS.Observer
extends java.lang.Object
General container for information specifying the location of the observer.
For more information, see NOVAS_C3.1_Guide.pdf, page C-43.
Modifier and Type | Field and Description |
---|---|
NOVAS.PositionInSpace |
nearEarth
Data for an observer's location on a near-Earth spacecraft (where = 2).
|
NOVAS.PositionOnSurface |
onSurface
Structure containing data for an observer's location on the surface of
the Earth (where = 1).
|
short |
where
integer code specifying location of observer: 0 →
observer at geocenter
1 → observer on surface of earth 2 → observer on near-earth spacecraft |
Constructor and Description |
---|
NOVAS.Observer()
Create initialized instance with location at geocenter.
|
NOVAS.Observer(NOVAS.PositionInSpace nearEarth)
Create initialized instance with location in space.
|
NOVAS.Observer(NOVAS.PositionOnSurface onSurface)
Create initialized instance with location on surface.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Dump attributes.
|
public short where
0 → observer at geocenter
1 → observer on surface of earth
2 → observer on near-earth spacecraft
public NOVAS.PositionOnSurface onSurface
public NOVAS.PositionInSpace nearEarth
public NOVAS.Observer()
public NOVAS.Observer(NOVAS.PositionOnSurface onSurface)
public NOVAS.Observer(NOVAS.PositionInSpace nearEarth)