StarCatalog

interface StarCatalog
universe/src/catalog/starCatalog.ts:130

Members

completeRadiusreadonly

completeRadius: number

Radius inside which procedural fill is suppressed; see CellContext.

metadatareadonly

metadata: CatalogMetadata

radiusreadonly

radius: number

Radius of the volume catalog; the sparse bright sky can extend beyond it.

skyreadonly

sky: readonly CatalogStar[]

The distant bright stars, from the sky asset. Empty without one.

Exact lookup and name search reach these records, and systemsWithin includes them when they fall inside its query sphere. inCell and within remain volume-only indexes; this sparse sky is not a complete volume.

Population coverage uses the sky's magnitude envelope and counts known records outside that envelope by luminosity level and cell. It reads the combined stars list explicitly, so sparse measured sources suppress only the corresponding procedural population, not an entire distant cell.

starsreadonly

stars: readonly CatalogStar[]

Every star this catalog holds: the volume's first, then the sky's.

versionreadonly

version: string

The whole-catalog version. A generation input; see Rule 1.

find

find(text: string) → CatalogStar | undefined

Lookup by any name or designation, case- and punctuation-insensitive.

textstring
Undocumented

get

get(id: SystemId) → CatalogStar | undefined

Exact lookup by id.

idSystemId
Undocumented

inCell

inCell(cell: GalacticCell) → readonly CatalogStar[]

The volume's stars in one generation cell. The procedural fill needs the count, which is why the sky's stars are not here; see sky.

cellGalacticCell
Undocumented

within

within(center: UniverseVector, radius: number) → readonly CatalogStar[]

Every star of the volume within radius of a point, unordered.

centerUniverseVector
Undocumented
radiusnumber
Undocumented