Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
precession.h
Package: celestia-1.6.0.tar.gz [view]
Upload User: center1979
Upload Date: 2022-07-26
Package Size: 50633k
Code Size: 2k
Category:
OpenGL program
Development Platform:
Visual C++
- // precession.h
- //
- // Calculate precession angles for Earth.
- //
- // Copyright (C) 2008, the Celestia Development Team
- // Initial version by Chris Laurel, claurel@gmail.com
- //
- // 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; either version 2
- // of the License, or (at your option) any later version.
- namespace astro
- {
- // PA and QA are the location of the pole of the ecliptic of date
- // with respect to the fixed ecliptic of J2000.0
- struct EclipticPole
- {
- double PA;
- double QA;
- };
- // piA and PiA are angles that transform the J2000 ecliptic to the
- // ecliptic of date. They are related to the ecliptic pole coordinates
- // PA and QA:
- // PA = sin(piA)*sin(PiA)
- // QA = sin(piA)*cos(PiA)
- //
- // PiA is the angle along the J2000 ecliptic between the J2000 equinox
- // and the intersection of the J2000 ecliptic and ecliptic of date.
- struct EclipticAngles
- {
- double piA;
- double PiA;
- };
- // epsA is the angle between the ecliptic and mean equator of date. pA is the
- // general precession: the difference between angles L and PiA. L is the angle
- // along the mean ecliptic of date from the equinox of date to the
- // intersection of the J2000 ecliptic and ecliptic of date.
- struct PrecessionAngles
- {
- double pA; // precession
- double epsA; // obliquity
- };
- struct EquatorialPrecessionAngles
- {
- double zetaA;
- double zA;
- double thetaA;
- };
- extern EclipticPole EclipticPrecession_P03LP(double T);
- extern PrecessionAngles PrecObliquity_P03LP(double T);
- extern EclipticPole EclipticPrecession_P03(double T);
- extern EclipticAngles EclipticPrecessionAngles_P03(double T);
- extern PrecessionAngles PrecObliquity_P03(double T);
- extern EquatorialPrecessionAngles EquatorialPrecessionAngles_P03(double T);
- };