Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Function getSchwarzschildRadius

    • Returns the Schwarzschild radius of an object given its mass

      Parameters

      • mass: number

        The mass of the object in kilograms

      Returns number

      the Schwarzschild radius of the object in meters