Reference · Satellites: orbital elements in, positions out
overheadKmfunction
The slant range from a place to a satellite that is straight overhead, for a test or a page: it is the satellite's height. Positions are kilometres in one frame.
Import it
import { overheadKm } from "@johnmorrisdotca/chikyu-earth/satellites";
Definition
function overheadKm(heightKm: number): number
Parameters
| Name | Type | Description |
|---|---|---|
heightKm | number | How far above the ground the satellite is. |
Returns
number
The distance, which is heightKm.
Examples
import { overheadKm } from "@johnmorrisdotca/chikyu-earth/satellites";
console.log(overheadKm(420));420What it prints (run when this page was built)