solar.c
static inline double
solar_elevation_from_time(double tm, double latitude, double longitude)
{
	double rc = julian_centuries_to_julian_day(tm);
	rc = (rc - round(rc) - 0.5) * 1440;
	rc = 720.0 - rc - equation_of_time(tm);
	rc = radians(rc / 4.0 - longitude);
	return elevation_from_hour_angle(latitude, solar_declination(tm), rc);
}
/**
 * Calculates the Sun's elevation as apparent
 * from a geographical position
 * 
 * @param   tm         The time in Julian Centuries
 * @param   latitude   The latitude in degrees northwards from 
 *                     the equator, negative for southwards
 * @param   longitude  The longitude in degrees eastwards from
 *                     Greenwich, negative for westwards
 * @return             The Sun's apparent elevation at the specified time as seen
 *                     from the specified position, measured in radians
 */
Calculates the Sun's elevation as apparent
from a geographical position

@param   tm         The time in Julian Centuries
@param   latitude   The latitude in degrees northwards from
the equator, negative for southwards
@param   longitude  The longitude in degrees eastwards from
Greenwich, negative for westwards
@return             The Sun's apparent elevation at the specified time as seen
from the specified position, measured in radians
Calculates the Sun ' s elevation as apparent from a geographical position @param tm The time in Julian Centuries @param latitude The latitude in degrees northwards from the equator negative for southwards @param longitude The longitude in degrees eastwards from Greenwich negative for westwards @return The Sun ' s apparent elevation at the specified time as seen from the specified position measured in radians
static inline double
solar_elevation_from_time(double tm, double latitude, double longitude)
{
	double rc = julian_centuries_to_julian_day(tm);
	rc = (rc - round(rc) - 0.5) * 1440;
	rc = 720.0 - rc - equation_of_time(tm);
	rc = radians(rc / 4.0 - longitude);
	return elevation_from_hour_angle(latitude, solar_declination(tm), rc);
}
static inline double solar_elevation_from_time ( double tm , double latitude , double longitude ) { double rc = julian_centuries_to_julian_day ( tm ) ; rc = ( rc - round ( rc ) - 0.5 ) * 1440 ; rc = 720.0 - rc - equation_of_time ( tm ) ; rc = radians ( rc / 4.0 - longitude ) ; return elevation_from_hour_angle ( latitude , solar_declination ( tm ) , rc ) ; }
Calculates the Sun's elevation as apparent
 from a geographical position
Calculates the Sun ' s elevation as apparent from a geographical position