threejs-worldgen
    Preparing search index...

    Interface Apsides

    The two apsides of an orbit (relative to the parent).

    interface Apsides {
        apoapsis: number;
        apoapsisPosition: Vec3;
        nextApoapsis: number;
        nextPeriapsis: number;
        periapsis: number;
        periapsisPosition: Vec3;
    }
    Index
    apoapsis: number

    Farthest distance (apoapsis: apogee / aphelion), metres.

    apoapsisPosition: Vec3

    Apoapsis position relative to the parent, metres.

    nextApoapsis: number

    Next time at or after from the body passes apoapsis, seconds since J2000.

    nextPeriapsis: number

    Next time at or after from the body passes periapsis, seconds since J2000.

    periapsis: number

    Closest distance (periapsis: perigee around a planet, perihelion around a star), metres.

    periapsisPosition: Vec3

    Periapsis position relative to the parent, metres.