astro.Interface.AbsoluteBoxel - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / astro / AbsoluteBoxel
Defined in: src/astro/system-address.ts:69
A boxel's position on the per-size-class boxel grid, counted from the galaxy corner.
These are grid indices, not light-years: one step is one boxel edge, which depends on
the size class (boxelEdgeLy from ./mass-code converts).
import { decodeSystemAddress } from '@elite-dangerous-almanac/core/astro/system-address';
import type { AbsoluteBoxel } from '@elite-dangerous-almanac/core/astro/system-address';
const boxel: AbsoluteBoxel = decodeSystemAddress(3309179996515n).absoluteBoxel;
readonlyx:number
Defined in: src/astro/system-address.ts:71
Boxel index along the galactic X axis.
readonlyy:number
Defined in: src/astro/system-address.ts:73
Boxel index along the galactic Y axis.
readonlyz:number
Defined in: src/astro/system-address.ts:75
Boxel index along the galactic Z axis.