astro.codex region lookup.Interface.BoxelCodexRegionLookup - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / astro/codex-region-lookup / BoxelCodexRegionLookup
Defined in: src/astro/codex-region-lookup.ts:162
A system's boxel 0/0/0 corner (galactic coordinates, in light-years) and the
region it falls in.
import { findCodexRegionForBoxel } from '@elite-dangerous-almanac/core/astro/codex-region-lookup';
import type { BoxelCodexRegionLookup } from '@elite-dangerous-almanac/core/astro/codex-region-lookup';
const result: BoxelCodexRegionLookup = findCodexRegionForBoxel(3309179996515n);
readonlyregion:CodexRegion|null
Defined in: src/astro/codex-region-lookup.ts:170
The region at the boxel corner, or null if it lies outside the mapped grid.
readonlyx:number
Defined in: src/astro/codex-region-lookup.ts:164
Galactic X of the boxel corner, in light-years.
readonlyy:number
Defined in: src/astro/codex-region-lookup.ts:166
Galactic Y of the boxel corner, in light-years.
readonlyz:number
Defined in: src/astro/codex-region-lookup.ts:168
Galactic Z of the boxel corner, in light-years.