WorldQuery

interface WorldQuery

What a search is looking for. Every field is optional and they intersect.

universe/src/worldQuery.ts:47

Members

atmospherereadonly

atmosphere?: boolean

Only bodies with an atmosphere, or only those without.

habitablereadonly

habitable?: boolean

Only bodies in their star's habitable zone, by isHabitable.

kindsreadonly

kinds?: readonly BodyKind[]

Body classes to return. Empty means any.

landablereadonly

landable?: boolean

Only bodies land would accept: solid, and big enough to be a place.

maxRadiusreadonly

maxRadius?: number

minRadiusreadonly

minRadius?: number

Radius band, in Earth radii.

moonsreadonly

moons?: number

At least this many moons.

ringsreadonly

rings?: boolean

Only bodies with a ring system.

seareadonly

sea?: boolean

Only bodies whose ground temperature admits a liquid, or only those not.

starClassesreadonly

starClasses?: readonly SpectralClass[]

Spectral classes of the host star. Empty means any.