Reference · The Sun, Moon and planets: pure parts
BeamStatstype
What the beam has done: whether it is drawn, the chosen satellite's height, the footprint's radius along the ground in kilometres and its angle at the Earth's centre, the elevation it was worked for, the cells drawn and a cell's radius in kilometres, and how many times its geometry was made.
Import it
import type { BeamStats } from "@johnmorrisdotca/chikyu-earth/space";
Definition
interface BeamStats {
shown: boolean;
heightKm: number;
radiusKm: number;
angleDegrees: number;
elevation: number;
cells: number;
cellRadiusKm: number;
builds: number;
failed: boolean;
}
Members
| Name | Type | Description |
|---|---|---|
shown | boolean | |
heightKm | number | |
radiusKm | number | |
angleDegrees | number | |
elevation | number | |
cells | number | |
cellRadiusKm | number | |
builds | number | |
failed | boolean |
Examples
import type { BeamStats } from "@johnmorrisdotca/chikyu-earth/space";
const none: BeamStats = { shown: false, heightKm: 0, radiusKm: 0, angleDegrees: 0, elevation: 25, cells: 0, cellRadiusKm: 0, builds: 0, failed: false };
console.log(none);