onekiloparsec / SwiftAA

The most comprehensive collection of accurate astronomical algorithms in (C++, Objective-C and) Swift.
http://www.onekiloparsec.dev/
MIT License
172 stars 31 forks source link

Mean or true obliquity in ecliptic/equatorial transformation? #17

Open onekiloparsec opened 7 years ago

onekiloparsec commented 7 years ago

See #11 . One must provide sensible default probably.

alex-vasenin commented 7 years ago

I think it's more about which model of celestial object we would like to use: mean, apparent or vsop. I think we can refactor highPrecision to enum with .mean/.apparent/.vsop cases and move it to CelestialBody, so it will be obvious which obliquity/nutation/orbits/etc parameters to use.