solar.c
double
libred_solar_elevation(double latitude, double longitude, double *elevation)
{
	double tm;
	if (julian_centuries(&tm))
		return -1;
	*elevation = degrees(solar_elevation_from_time(tm, latitude, longitude));
	return 0;
}
/**
 * Calculates the Sun's elevation as apparent
 * from a geographical position
 * 
 * @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
 * @param   elevation  Output parameter for the Sun's apparent elevation
 *                     as seen, right now, from the specified position,
 *                     measured in degrees
 * @return             0 on success, -1 on failure
 * @throws             Any error specified for clock_gettime(3) on error
 */
Calculates the Sun's elevation as apparent
from a geographical position


Calculates the Sun ' s elevation as apparent from a geographical position
double
libred_solar_elevation(double latitude, double longitude, double *elevation)
{
	double tm;
	if (julian_centuries(&tm))
		return -1;
	*elevation = degrees(solar_elevation_from_time(tm, latitude, longitude));
	return 0;
}
double libred_solar_elevation ( double latitude , double longitude , double * elevation ) { double tm ; if ( julian_centuries ( & tm ) ) return -1 ; * elevation = degrees ( solar_elevation_from_time ( tm , latitude , longitude ) ) ; return 0 ; }
Calculates the Sun's elevation as apparent
 from a geographical position
Calculates the Sun ' s elevation as apparent from a geographical position