| 69 | } |
| 70 | |
| 71 | CelestialCoordinate CelestialCoordinate::system() const { |
| 72 | if (isNull()) |
| 73 | throw CelestialException("CelestialCoordinate::system() called on null coordinate"); |
| 74 | return CelestialCoordinate(m_location); |
| 75 | } |
| 76 | |
| 77 | CelestialCoordinate CelestialCoordinate::planet() const { |
| 78 | if (isPlanetaryBody()) |
no test coverage detected