Skip to content

astro.Function.ringRocheLimits

github-actions[bot] edited this page Aug 28, 2026 · 1 revision

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

Function: ringRocheLimits()

ringRocheLimits(ring, primary): RocheLimits | null

Defined in: src/astro/body-rings.ts:282

Roche limits around a body for material of the kind its ring is made of.

Parameters

ring

BodyRing

The ring. Needs RingClass.

primary

BodyProperties

The body it goes round. Needs a mass and a Radius.

Returns

RocheLimits | null

Both limits in metres from the primary's centre, or null when the primary's density cannot be computed.

Remarks

Ring material inside the Roche limit could never have accreted into a moon, which is the usual account of why the ring is there at all. A ring sitting outside it wants a different explanation.

The particle density is assumed from the ring's class (ringParticleDensity) rather than measured, so the limits move with that assumption; the fluid limit is the one to compare a diffuse ring against.

Throws

If either argument is not an object, or the ring carries no RingClass string.

Example

import { ringRocheLimits } from '@elite-dangerous-almanac/core/astro/body-rings';

const ring = { Name: 'A Ring', RingClass: 'eRingClass_Icy', MassMT: 1e13, InnerRad: 1e8, OuterRad: 2e8 };
ringRocheLimits(ring, { MassEM: 1, Radius: 6_371_000 })?.fluid; // -> 27642167.3…

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (28)
Type Aliases (6)
Variables (22)
Functions (57)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally