Skip to content

astro.Variable.GALAXY_ORIGIN

github-actions[bot] edited this page Aug 26, 2026 · 73 revisions

@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.

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally