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
Astro.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++
- //
- // Astro.h
- // celestia
- //
- // Created by Bob Ippolito on Fri Jun 07 2002.
- // Copyright (c) 2002 Chris Laurel. All rights reserved.
- //
- #import "CelestiaUniversalCoord.h"
- #import "CelestiaVector.h"
- @interface NSDate(AstroAPI)
- +(NSDate*)dateWithJulian:(NSNumber*)jd;
- @end
- @interface Astro : NSObject
- +(NSString*)stringWithCoordinateSystem:(NSNumber*)n;
- +(CelestiaVector*)equatorialToCelestialCart:(NSNumber*)ra declination:(NSNumber*)dec distance:(NSNumber*)distance;
- +(CelestiaUniversalCoord*)universalPosition:(CelestiaVector*)heliocentric starPosition:(CelestiaVector*)starPosition;
- +(CelestiaVector*)heliocentricPosition:(CelestiaUniversalCoord*)universal starPosition:(CelestiaVector*)starPosition;
- +(NSNumber*)sphereIlluminationFraction:(CelestiaVector*)spherePos viewerPosition:(CelestiaVector*)viewerPos;
- +(NSNumber*)coordinateSystem:(NSString*)coord;
- +(NSNumber*)julianDate:(NSDate*)date;
- +(NSNumber*)speedOfLight;
- +(NSNumber*)J2000;
- +(NSNumber*)G;
- +(NSNumber*)solarMass;
- +(NSNumber*)earthMass;
- +(NSNumber*)lumToAbsMag:(NSNumber*)lum;
- +(NSNumber*)lumToAppMag:(NSNumber*)lum lightYears:(NSNumber*)lyrs;
- +(NSNumber*)absMagToLum:(NSNumber*)mag;
- +(NSNumber*)absToAppMag:(NSNumber*)mag lightYears:(NSNumber*)lyrs;
- +(NSNumber*)appToAbsMag:(NSNumber*)mag lightYears:(NSNumber*)lyrs;
- +(NSNumber*)lightYearsToParsecs:(NSNumber*)ly;
- +(NSNumber*)parsecsToLightYears:(NSNumber*)pc;
- +(NSNumber*)lightYearsToKilometers:(NSNumber*)ly;
- +(NSNumber*)kilometersToLightYears:(NSNumber*)km;
- +(NSNumber*)lightYearsToAU:(NSNumber*)ly;
- +(NSNumber*)AUtoLightYears:(NSNumber*)au;
- +(NSNumber*)kilometersToAU:(NSNumber*)km;
- +(NSNumber*)AUtoKilometers:(NSNumber*)au;
- +(NSNumber*)microLightYearsToKilometers:(NSNumber*)mly;
- +(NSNumber*)kilometersToMicroLightYears:(NSNumber*)km;
- +(NSNumber*)microLightYearsToAU:(NSNumber*)mly;
- +(NSNumber*)AUtoMicroLightYears:(NSNumber*)au;
- +(NSNumber*)secondsToJulianDate:(NSNumber*)sec;
- +(NSNumber*)julianDateToSeconds:(NSNumber*)jd;
- +(NSArray*)decimalToDegMinSec:(NSNumber*)angle;
- +(NSNumber*)degMinSecToDecimal:(NSArray*)dms;
- +(NSArray*)anomaly:(NSNumber*)meanAnamaly eccentricity:(NSNumber*)eccentricity;
- +(NSNumber*)meanEclipticObliquity:(NSNumber*)jd;
- @end