Taos API Reference
    Preparing search index...

    Function isSunlit

    • Whether a satellite at inertial position posKm (km, same frame as sunEciUnit) is lit by the Sun, using a cylindrical umbra model: a point is in shadow only when it sits behind the Earth (negative projection onto the Sun direction) and within one Earth radius of the Earth–Sun axis.

      Parameters

      • posKm: EcVec3
      • sunUnit: EcVec3
      • earthRadiusKm: number = 6371.0

        Shadow-cylinder radius (mean Earth radius ≈ 6371 km).

      Returns boolean