DotNet.Astronomy.Class.HandAuthoredRegions - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Astronomy / HandAuthoredRegions

Class: HandAuthoredRegions

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/HandAuthoredRegions.cs:47

The sectors the game names by hand, found by where a system sits.

Remarks

The generator only ever writes the boxel name of a place. A system that physically falls inside a nebula or a cluster the game names by hand carries that region's name instead. Each such region is one ball of space or several, in light years with Sol at the origin, and a system belongs to the first region whose space holds it.

The catalogue is held smallest ball first, which is how the game settles an overlap: the smallest region that holds the place wins.

The word region carries three meanings in this galaxy. This one is a sector the game names by hand. SectorName reads a sector the generator names, and CodexRegions reads one of the 42 zones the codex records a find against.

Properties

All

static All: IReadOnlyList<HandAuthoredRegion>

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/HandAuthoredRegions.cs:52

Every sector the game names by hand, smallest ball of space first.

Methods

FindAt()

static FindAt(position): HandAuthoredRegion?

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/HandAuthoredRegions.cs:65

Reads the region one place in the galaxy belongs to.

Parameters

position

GalacticPosition

The position in light years, with Sol at the origin.

Returns

HandAuthoredRegion?

The region that holds the place, or null where the generator names it instead.

Remarks

All three axes count. A region the game names by hand is a ball of space, so the height matters here, which it does not for a codex region.

Exceptions

ArgumentNullException

The position is absent.

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