public class SolarZenith
extends java.lang.Object
^ -O- | /|\ | _ | sz /| |--_ / | \/ | / | / --| / | |/ ======================
Constructor and Description |
---|
SolarZenith(java.util.Date date)
Creates a new solar zenith object using the specified date.
|
Modifier and Type | Method and Description |
---|---|
double |
getSolarZenith(EarthLocation loc)
Gets the solar zenith angle for a specified earth location.
|
EarthLocation |
getTerminator(double lat,
boolean positive)
Gets the position of the solar terminator for this data.
|
public SolarZenith(java.util.Date date)
date
- the date.public double getSolarZenith(EarthLocation loc)
loc
- the earth location for the solar zenith calculation.public EarthLocation getTerminator(double lat, boolean positive)
lat
- the geocentric latitude of the desired terminator position.positive
- the positive or negative solution flag. The
solar terminator has two points at every latitude. The solution
flag selects one of the two points.