Reference · Satellites: orbital elements in, positions out
ParsedElementstype
What parseElements found: the element sets that can be used, and the ones it left out with the reason.
Import it
import type { ParsedElements } from "@johnmorrisdotca/chikyu-earth/satellites";
Definition
interface ParsedElements {
format: ElementFormat;
sets: ElementSet[];
skipped: {
name: string;
reason: string;
}[];
}
Members
| Name | Type | Description |
|---|---|---|
format | ElementFormat | |
sets | ElementSet[] | |
skipped | { name: string; reason: string; }[] |
Examples
import type { ParsedElements } from "@johnmorrisdotca/chikyu-earth/satellites";
const count = (parsed: ParsedElements): number => parsed.sets.length;
console.log(typeof count);functionWhat it prints (run when this page was built)