|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.wpvs.utils.SunPosition
public class SunPosition
| Constructor Summary | |
|---|---|
SunPosition()
Constructs a sunposition at the currenttime |
|
SunPosition(Calendar calendar)
Constructs a sunposition with the given Calendar |
|
SunPosition(int year,
int month,
int day,
int hour,
int minute)
|
|
| Method Summary | |
|---|---|
double |
getHorizontalSunPosition()
calculates the horizontal angle of the sun depending only on hour and minute! |
double |
getVerticalSunposition(double latitude)
calculates the solar altitude for given latitude, year, month, date, hour and minute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SunPosition()
public SunPosition(Calendar calendar)
calendar - a given Calendar
public SunPosition(int year,
int month,
int day,
int hour,
int minute)
year - month - day - hour - minute - | Method Detail |
|---|
public double getVerticalSunposition(double latitude)
latitude - latitude of the the viewers position
public double getHorizontalSunPosition()
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org