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

sid.h File Reference

sidereal time calculations More...

Go to the source code of this file.

Defines

#define SID_H   1
#define PI   3.14159265
#define WTOF(w)   (FULLTURN) ( ( w ) * 8388608.0 / PI )
#define FTOW(f)   (WINKEL) ( ( f ) / 8388608.0 * PI )
#define N_BYTE(l, n)   (BYTE) ( 0x000000FF & ( ( l ) >> ( 8 * ( n ) ) ) )
#define WTOR(w)   (WINKEL) ( ( w ) * PI / 180.0 )
#define RTOW(r)   (WINKEL) ( ( r ) * 180.0 / PI )

Typedefs

typedef unsigned char BYTE
typedef BYTE BOOL
typedef uzeit UHRZEIT
typedef datm DATUM
typedef double WINKEL

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.
double rednew21 (double alpha)
void sitnew (DATUM *dat, UHRZEIT *zeit, UHRZEIT *sid)
double djl (int IY, BYTE IM, BYTE ID)
void mjdnew (double dj, UHRZEIT *sid)
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


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