Package | Description |
---|---|
net.grelf.astro |
This package contains Java classes for astronomical applications.
|
Modifier and Type | Field and Description |
---|---|
protected JulianDate |
StarChartLoader.epoch |
Modifier and Type | Method and Description |
---|---|
JulianDate |
JulianDate.clone()
Returns a new JulianDate object with the same data.
|
static JulianDate |
JulianDate.createJulianDate(java.lang.String xmlDateTime)
Use this instead of constructor if the xmlDateTime may not be in W3C
schema style.
|
JulianDate |
StarChartLoader.getEpoch() |
JulianDate |
Epoch.getJulianDate()
Returns null if the epoch type is not 'B' or 'J'.
|
Modifier and Type | Method and Description |
---|---|
SkyPoint |
Topocentre.adjust(SkyPoint geocentric,
double deltaAU,
JulianDate jd)
Adjust the given geocentric SkyPoint of an object at distance deltaAU
(in astronomical units) to its topocentric value, ie as seen from
this Topocentre at the given time.
|
double |
Topocentre.calcAltitudeDegs(SkyPoint pt,
JulianDate jd)
Calculate the altitude of the given SkyPoint above the local horizon
at the given time.
|
double |
Topocentre.calcAzimuthDegs(SkyPoint pt,
JulianDate jd)
Calculate the azimuth (measured from South via West) of the given
SkyPoint above the local horizon at the given time.
|
double[] |
SkyPoint.calculateRiseTransitSet(JulianDate jd,
BodyKind kind,
Angle longitude,
Angle latitude)
Returns an array of 3 fractions of a day, representing respectively the
local times of rising, transit and setting for the given latitude and
refraction offset (h0 = -0.5667 for stars and planets, -0.8333 for the
Sun, +0.125 for the Moon).
|
void |
Star.changeEpoch(Epoch newEquinox,
JulianDate newEpoch)
This adjusts the fields of the current object to the given new
equinox (eg, J2000) and epoch (eg, JD now) by first applying proper
motion for the new epoch and then calling SkyPoint.changeEpoch (equinox)
on the resulting position.
|
void |
Hipparcos.load(java.util.List<Star> stars,
java.util.Map<java.lang.String,Star> hipStars,
SkyPoint plotCentre,
JulianDate epoch,
double fieldRadius)
Append stars from the Hipparcos data set to the given list.
|
void |
Tycho.load(java.util.List<Star> stars,
java.util.Map<java.lang.String,Star> hipStars,
SkyPoint plotCentre,
JulianDate epoch,
double fieldRadius)
Append stars from the Tycho data set to the given list.
|
Constructor and Description |
---|
StarChart(java.lang.String title,
RA ra,
Dec dec,
Epoch equinox,
JulianDate epoch,
double fieldWidthDegrees,
boolean showVariables,
boolean showChartCentre,
StarChartSource source)
If the title is null then one is constructed from the data (so many
degrees around position).
|
StarChart(java.lang.String title,
RA ra,
Dec dec,
Epoch equinox,
JulianDate epoch,
double fieldWidthDegrees,
StarChartSource source)
Use this constructor if you always want to mark variable stars and the
chart centre.
|