astro.Interface.HandAuthoredSphere - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Interface: HandAuthoredSphere

Defined in: src/astro/hand-authored-regions.ts:41

One sphere of a hand-authored region (centre and radius in light-years).

Example

import type { HandAuthoredSphere } from '@elite-dangerous-almanac/core/astro/hand-authored-regions';

const sphere: HandAuthoredSphere = { cx: -80.6, cy: -146.7, cz: -343.3, r: 100 };

Properties

cx

readonly cx: number

Defined in: src/astro/hand-authored-regions.ts:43

Sphere centre X in light-years (Sol at origin).


cy

readonly cy: number

Defined in: src/astro/hand-authored-regions.ts:45

Sphere centre Y in light-years.


cz

readonly cz: number

Defined in: src/astro/hand-authored-regions.ts:47

Sphere centre Z in light-years.


r

readonly r: number

Defined in: src/astro/hand-authored-regions.ts:49

Sphere radius in light-years.

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