astro.Variable.GALAXY_ORIGIN - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / astro / GALAXY_ORIGIN

Variable: GALAXY_ORIGIN

const GALAXY_ORIGIN: Readonly<GalacticPosition>

Defined in: src/astro/galaxy-grid.ts:38

The galaxy's origin corner in galactic light-years — the point sector index 0/0/0 starts at.

Remarks

Sector and boxel positions are measured from this corner, which is why an id64's grid position has to be offset by it to become a position relative to Sol. The same triple is published as CODEX_REGION_MAP_X0 / _Y0 / _Z0 by ./codex-region-lookup (where it arrives with the region-cell data); it is repeated here as a plain constant so converting a coordinate never pulls in the region grid. A test asserts the two agree.

⚠️ **GitHub.com Fallback** ⚠️