|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.earth.EarthSurfacePosition
public class EarthSurfacePosition
This class represents a location on the surface of planet Earth. Its class variables define a position on Earth and its time zone. Methods for this class deal with solar time and the position of the sun in the sky at this location.
| Constructor Summary | |
|---|---|
EarthSurfacePosition(double latitude,
double longitude,
int time_zone,
double elevation)
Create an EarthSurfacePosition object, which represents a location on the surface of planet Earth. |
|
| Method Summary | |
|---|---|
double |
getDeclination(int daynum)
Returns solar declination, in degrees (angle between ecliptic and equator), given a day number. |
double |
getElevation()
Returns the elevation of the location. |
double |
getHourAngle(int solar_time)
Returns Hour Angle, in degrees. |
double |
getLatitude()
Returns the latitude of the location station. |
double |
getLongitude()
Returns the longitude of the location. |
double |
getSolarAltitude(double decl,
int solar_time)
Returns solar altitude, in degrees, given solar time and declination. |
double |
getSolarAltitude(int daynum,
int solar_time)
Returns solar altitude, in degrees, given solar time and day number. |
double |
getSolarAzimuth(double decl,
int solar_time)
Returns solar azimuth, in degrees, given solar time and declination. |
double |
getSolarAzimuth(int daynum,
int solar_time)
Returns solar azimuth, in degrees, given solar time and day number. |
int |
getSolarTime(int daynum,
int standard_time)
Returns local solar time, in seconds, given the day number (in the year) and the local standard time (in seconds). |
int |
getTimeZone()
Returns the time zone of the data location, in degrees (longitude of standard meridian). |
int |
timeInSeconds(int hour,
int minute,
int second)
Returns time of day in seconds. |
static double |
toDegrees(double angle)
DOCUMENT ME! |
static double |
toRadians(double angle)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EarthSurfacePosition(double latitude,
double longitude,
int time_zone,
double elevation)
latitude - DOCUMENT ME!longitude - DOCUMENT ME!time_zone - DOCUMENT ME!elevation - DOCUMENT ME!| Method Detail |
|---|
public static double toRadians(double angle)
public static double toDegrees(double angle)
angle - DOCUMENT ME!
public double getLatitude()
public double getLongitude()
public int getTimeZone()
public double getElevation()
public double getDeclination(int daynum)
daynum - DOCUMENT ME!
public int getSolarTime(int daynum,
int standard_time)
daynum - DOCUMENT ME!standard_time - DOCUMENT ME!
public int timeInSeconds(int hour,
int minute,
int second)
hour - DOCUMENT ME!minute - DOCUMENT ME!second - DOCUMENT ME!
public double getHourAngle(int solar_time)
solar_time - DOCUMENT ME!
public double getSolarAltitude(double decl,
int solar_time)
decl - DOCUMENT ME!solar_time - DOCUMENT ME!
public double getSolarAltitude(int daynum,
int solar_time)
daynum - DOCUMENT ME!solar_time - DOCUMENT ME!
public double getSolarAzimuth(double decl,
int solar_time)
decl - DOCUMENT ME!solar_time - DOCUMENT ME!
public double getSolarAzimuth(int daynum,
int solar_time)
daynum - DOCUMENT ME!solar_time - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||