Reference · Satellites: orbital elements in, positions out
OrbitKindtype
What kind of orbit a satellite or a group is in: leo (low, below 2,000 km), meo (medium, up to about 35,000 km: the navigation satellites), geo (about 35,786 km up, where a satellite goes round once
a day; over the equator it sits still over one place), heo (a long oval that swings far out) or mixed (a group with more than one kind).
Import it
import type { OrbitKind } from "@johnmorrisdotca/chikyu-earth/satellites";
Definition
type OrbitKind = "leo" | "meo" | "geo" | "heo" | "mixed";
Examples
import type { OrbitKind } from "@johnmorrisdotca/chikyu-earth/satellites";
const sitsStill = (orbit: OrbitKind): boolean => orbit === "geo";
console.log(sitsStill("geo"));trueWhat it prints (run when this page was built)