IFClite TypeScript API
    Preparing search index...

    Function sunPositionFromGeometry

    @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.

    • Sun position when the (date-only) solar geometry is already known. Lets tight loops over a single day avoid recomputing the slow VSOP terms.

      Parameters

      • date: Date
      • latitude: number
      • longitude: number
      • declination: number
      • equationOfTime: number

      Returns SunPosition