CelestiaStar.h
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:1k
源码类别:

OpenGL

开发平台:

Visual C++

  1. //
  2. //  CelestiaStar.h
  3. //  celestia
  4. //
  5. //  Created by Bob Ippolito on Sat Jun 08 2002.
  6. //  Copyright (c) 2002 Chris Laurel. All rights reserved.
  7. //
  8. #import "CelestiaVector.h"
  9. @interface CelestiaStar : NSObject {
  10.     NSValue* _data;
  11. }
  12. -(NSNumber*)catalogNumberAtIndex:(NSNumber*)cat;
  13. -(NSNumber*)catalogNumber;
  14. -(void)setCatalogNumber:(NSNumber*)cat;
  15. -(void)setCatalogNumber:(NSNumber*)cat atIndex:(NSNumber*)index;
  16. -(NSNumber *)radius;
  17. -(CelestiaVector*)position;
  18. -(void)setPosition:(CelestiaVector*)p;
  19. -(NSNumber*)apparentMagnitude:(NSNumber*)m;
  20. -(NSNumber*)luminosity;
  21. -(NSNumber*)temperature;
  22. -(NSNumber*)rotationPeriod;
  23. -(void)setAbsoluteMagnitude:(NSNumber*)m;
  24. -(void)setLuminosity:(NSNumber*)m;
  25. -(NSString *)name;
  26. @end