Reference · The Sun, Moon and planets: pure parts
beamCellsfunction
The spot cells of a footprint: count circles in a hexagonal pack (the middle one, then the nearest to it), drawn to fit inside the footprint, or at most cellKm in radius when that is smaller.
It is an illustration of a satellite that serves the ground in cells; it is not the pattern of any operator's beam plan.
Import it
import { beamCells } from "@johnmorrisdotca/chikyu-earth/space";
Definition
function beamCells(count: number, radiusKm: number, cellKm?: number): BeamCells
Parameters
| Name | Type | Description |
|---|---|---|
count | number | How many cells (0 for none; the most is 91, six rings). |
radiusKm | number | The footprint's radius along the ground, in kilometres. |
cellKm (optional) | number | A cell's radius in kilometres, when the page wants it smaller than the fit; 0 for the fit. |
Returns
BeamCells
The cells.
Examples
import { beamCells } from "@johnmorrisdotca/chikyu-earth/space";
console.log(beamCells(19, 2200, 0).lattice.length);19What it prints (run when this page was built)