cheatah
Struct

space::irbem::purr::Epoch

cheatah-space v0.1.0-alpha — Biome Standard 0.6.5-alpha

An epoch: the internal field model and the frame rotations for one instant.

A cheatah program cannot call Igrf<13>::at — a static member on a class template, returning std::optional — so this absorbs it. Build one, hand it to everything else. It is a plain aggregate, so a .purr program reads ok directly.

Constants & variables

var std::optional< Model > model #

IGRF at this instant.

Held in an optional because Igrf's constructor is PRIVATE — only its static factory builds one — so a default-constructible aggregate cannot hold it directly. That privacy is exactly what a cheatah program cannot work around, and absorbing it is this type's whole reason to exist.

var Rotations rotations #

The frame rotations for it.

var bool ok #

Whether the epoch was inside IGRF's definition; see epoch_at.