siderust-cpp
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
bodies.hpp File Reference

RAII Star handle, Planet value type, and catalog helpers. More...

#include "coordinates.hpp"
#include "ffi_core.hpp"
#include <optional>
#include <string>
#include <utility>
Include dependency graph for bodies.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  siderust::ProperMotion
 Proper motion for a star (equatorial). More...
 
struct  siderust::Orbit
 Keplerian orbital elements. More...
 
struct  siderust::Planet
 Planet data (value type, copyable). More...
 
class  siderust::Star
 RAII handle to a Star (opaque Rust object). More...
 

Namespaces

namespace  siderust
 
namespace  siderust::detail
 

Functions

Planet siderust::detail::make_planet_mercury ()
 
Planet siderust::detail::make_planet_venus ()
 
Planet siderust::detail::make_planet_earth ()
 
Planet siderust::detail::make_planet_mars ()
 
Planet siderust::detail::make_planet_jupiter ()
 
Planet siderust::detail::make_planet_saturn ()
 
Planet siderust::detail::make_planet_uranus ()
 
Planet siderust::detail::make_planet_neptune ()
 
Planet siderust::mercury ()
 
Planet siderust::venus ()
 
Planet siderust::earth ()
 
Planet siderust::mars ()
 
Planet siderust::jupiter ()
 
Planet siderust::saturn ()
 
Planet siderust::uranus ()
 
Planet siderust::neptune ()
 

Variables

const Planet siderust::MERCURY = detail::make_planet_mercury()
 
const Planet siderust::VENUS = detail::make_planet_venus()
 
const Planet siderust::EARTH = detail::make_planet_earth()
 
const Planet siderust::MARS = detail::make_planet_mars()
 
const Planet siderust::JUPITER = detail::make_planet_jupiter()
 
const Planet siderust::SATURN = detail::make_planet_saturn()
 
const Planet siderust::URANUS = detail::make_planet_uranus()
 
const Planet siderust::NEPTUNE = detail::make_planet_neptune()
 
const Star siderust::VEGA = Star::catalog("VEGA")
 
const Star siderust::SIRIUS = Star::catalog("SIRIUS")
 
const Star siderust::POLARIS = Star::catalog("POLARIS")
 
const Star siderust::CANOPUS = Star::catalog("CANOPUS")
 
const Star siderust::ARCTURUS = Star::catalog("ARCTURUS")
 
const Star siderust::RIGEL = Star::catalog("RIGEL")
 
const Star siderust::BETELGEUSE = Star::catalog("BETELGEUSE")
 
const Star siderust::PROCYON = Star::catalog("PROCYON")
 
const Star siderust::ALDEBARAN = Star::catalog("ALDEBARAN")
 
const Star siderust::ALTAIR = Star::catalog("ALTAIR")
 

Detailed Description

RAII Star handle, Planet value type, and catalog helpers.

Definition in file bodies.hpp.