org.deegree.ogcwebservices.wpvs.utils
Class SunLight
java.lang.Object
org.deegree.ogcwebservices.wpvs.utils.SunLight
public class SunLight
- extends java.lang.Object
class for calculating sun light according to a specific tima, day of
the year (northern hemisper)
- Version:
- $Revision: 18195 $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SunLight
public SunLight(double latitude,
SunPosition sunPosition)
- Parameters:
latitude
- the position on the earthsunPosition
- the Position of the sun
calculateSunlight
public javax.vecmath.Color3f calculateSunlight()
- Returns:
- a Color of the sunlight
calcSunlightIntensity
public float calcSunlightIntensity(float cloudFactor)
- Parameters:
cloudFactor
- describing howmuch clouds cover the sun
- Returns:
- the intensity of the
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org