|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wpvs.utils.SunPosition
public class SunPosition
Constructor Summary | |
---|---|
SunPosition()
Constructs a sunposition at the currenttime |
|
SunPosition(java.util.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(java.util.Calendar calendar)
calendar
- a given Calendarpublic 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.5 (2011/06/29 09:44 build-8-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