deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wpvs.utils
Class SunLight

java.lang.Object
  extended by 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) $

Constructor Summary
SunLight(double latitude, SunPosition sunPosition)
           
 
Method Summary
 float calcSunlightIntensity(float cloudFactor)
           
 javax.vecmath.Color3f calculateSunlight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunLight

public SunLight(double latitude,
                SunPosition sunPosition)
Parameters:
latitude - the position on the earth
sunPosition - the Position of the sun
Method Detail

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org