Reference · The Sun, Moon and planets: pure parts
footprintKmfunction
The radius of a satellite's footprint along the ground, in kilometres: the Earth's radius times footprintAngle.
Import it
import { footprintKm } from "@johnmorrisdotca/chikyu-earth/space";
Definition
function footprintKm(heightKm: number, elevation?: number): number
Parameters
| Name | Type | Description |
|---|---|---|
heightKm | number | The satellite's height above the ground, in kilometres. |
elevation (optional) | number | The least elevation, in degrees. 25 when left out. |
Returns
number
The radius in kilometres.
Examples
import { footprintKm } from "@johnmorrisdotca/chikyu-earth/space";
console.log(Math.round(footprintKm(550)));941What it prints (run when this page was built)