IFClite TypeScript API
    Preparing search index...

    Function toJulianDay

    @ifc-lite/solar — solar position, sunrise/sunset and 3D sun-path geometry.

    Pure, dependency-free math: given a site latitude/longitude and an instant, compute where the sun is, and generate the sampled curves for a 3D sun-path dome (day paths, hourly analemmas, graticule). Renderer-agnostic — outputs are plain angles and ENU unit vectors.

    • Julian Day Number for a UTC instant.

      Parameters

      • date: Date

      Returns number