orbitClassfunction
The class an orbit falls in. heo when the eccentricity is 0.25 or more; otherwise leo when the highest point is under 2,000 km, geo when both points are within 1,500 km of 35,786 km, meo when the lowest point is 2,000 km or more and the highest is under that band, and other for what is left (above the geostationary belt, or between the classes).
Import it
import { orbitClass } from "@johnmorrisdotca/chikyu-earth/catalogue";
Definition
function orbitClass(shape: OrbitShape): OrbitClass
Parameters
| Name | Type | Description |
|---|---|---|
shape | OrbitShape | The orbit's shape, from |
Returns
OrbitClass
The class.
Examples
import { orbitClass, orbitShape } from "@johnmorrisdotca/chikyu-earth/catalogue";
const of = (n: number, e: number): string => orbitClass(orbitShape(n, e)!);
console.log(of(15.49, 0.0007), of(2.0056, 0.0001), of(1.0027, 0.0002), of(2.0, 0.72), of(0.9, 0.001));leo meo geo heo otherWhat it prints (run when this page was built)