Main Page | Class List | Directories | File List | Class Members | File Members

sid.c File Reference

sidereal time calculations More...

#include <stdlib.h>
#include <math.h>
#include "sid.h"

Defines

#define ZEITZONE   (0)
#define TIMEZONE   ( ZEITZONE / 24.0 * 2 * PI )
#define GEO_LAENGE   WTOR( 6.85 )
#define GEO_BREITE   WTOR( 50.16276
#define GEO_HOEHE   533

Functions

void UhrNachAscii (UHRZEIT *z, char *c)
 Converts an UHRZEIT custom type to a string representing the time.
void DatumNachAscii (DATUM *d, char *c)
 Converts a DATUM custom type to a string representing the date.
void Zeit_aus_Radian (UHRZEIT *z)
 calculates all attributes of an UHRZEIT custom type from its rad attribute
void sitnew (DATUM *dat, UHRZEIT *zeit, UHRZEIT *sid)
void mjdnew (double dj, UHRZEIT *sid)
double rednew21 (double alpha)
double djl (int IY, BYTE IM, BYTE ID)
char * MjdNachAscii (double mjd)


Detailed Description

sidereal time calculations

Copyright (C) 2001-2003 Klaus Reif (see source file for email)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

Documentation is in German!


Function Documentation

void DatumNachAscii DATUM *  d,
char *  c
 

Converts a DATUM custom type to a string representing the date.

Parameters:
d a custom type representing the date to be converted to a string
c a string of at least 9 bytes, in which the string is to be written
Returns:
void
This function converts a DATUM custom type to a string representing the date

char* MjdNachAscii double  mjd  ) 
 

Converts mean julian date to string

void UhrNachAscii UHRZEIT *  z,
char *  c
 

Converts an UHRZEIT custom type to a string representing the time.

Parameters:
z a custom type representing the time to be converted to a string
c a string of at least 9 bytes, in which the string is to be written
Returns:
void
This function converts an UHRZEIT custom type to a string representing the time

void Zeit_aus_Radian UHRZEIT *  z  ) 
 

calculates all attributes of an UHRZEIT custom type from its rad attribute

Parameters:
z a custom type representing the time. Its rad attribute will e read all other attributes will be filled with values aluculated from the rad attribute
Returns:
void This function calculates all attributes of an UHRZEIT custom type from its rad attribute


Generated on Fri Dec 16 22:23:39 2005 for gboccia by  doxygen 1.4.2