Body

interface Body
universe/src/system.ts:323

Members

addressreadonly

appearancereadonly

appearance: BodyAppearance

atmospherereadonly

atmosphere: Atmosphere | null

axialTiltreadonly

axialTilt: number

elementsreadonly

elements: OrbitalElements

figurereadonly

figure: BodyFigure | null

The measured figure, for a body that is not a spheroid. See BodyFigure.

idreadonly

kindreadonly

kind: BodyKind

massreadonly

mass: number

measurementreadonly

measurement: BodyMeasurement | null

How the mass and radius were arrived at, for an observed body. Radial velocity gives M sin i — a lower bound, not a mass — and a transit gives a radius with no mass at all, so one of the two is very often inferred from the other. The panel says which.

moonsreadonly

moons: readonly Body[]

mureadonly

mu: number

namereadonly

name: string

orbitalPeriodreadonly

orbitalPeriod: number

polarRadiusreadonly

polarRadius: number

Polar radius. Smaller than radius for anything that spins.

Not a detail: Saturn is 9.8% flattened and Jupiter 6.5%, which is plainly visible from orbit and is the first thing that reads as wrong when a gas giant is drawn as a sphere. It is also real physics — centrifugal support against self-gravity — so procedural bodies get it too, from their own rotation and mass.

provenancereadonly

provenance: BodyProvenance

radiusreadonly

radius: number

rotationPeriodreadonly

rotationPeriod: number

sphereOfInfluencereadonly

sphereOfInfluence: number

surfacereadonly