File BodyFixedFrame.hpp¶
File List > astrea > astro > astro > frames > types > BodyFixedFrame.hpp
Go to the documentation of this file
#pragma once
#include <string>
#include <astro/frames/Frame.hpp>
namespace astrea {
namespace astro {
template <CelestialBodyId origin>
requires(origin != CelestialBodyId::UNSET)
struct BodyFixedFrame : public Frame<origin, FrameAxis::BODY_FIXED> {
virtual ~BodyFixedFrame() = default;
static constexpr CelestialBodyId get_origin() { return Frame<origin, FrameAxis::BODY_FIXED>::get_origin(); }
static constexpr FrameAxis get_axis() { return Frame<origin, FrameAxis::BODY_FIXED>::get_axis(); }
};
} // namespace astro
} // namespace astrea