User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_utils.gissunposition_tgis_point_tdatetime_double_double_double

Table of Contents

TGIS_Utils.GisSunPosition(tatukgis.pdk.TGIS_Point, TDateTime, float, float, float) method

DK11 for Python | tatukgis.pdk.TGIS_Utils.GisSunPosition | Overloads | Methods | Properties

Calculate sun's position based on time, date, and location on Earth

Available also on: Delphi | .NET | Java | ActiveX.

Syntax

# Python
def GisSunPosition(
  self
  _ptg: tatukgis.pdk.TGIS_Point
  _local_time: TDateTime
  _utc_offset: float
  _altitude: VarParameter
  _azimuth: VarParameter
) -> None: 

Parameters

Name Type Description
_ptg tatukgis.pdk.TGIS_Point observer's location in geographic coordinate system expressed in radians
_local_time TDateTime observer's local time
_utc_offset float time difference in hours between UTC and local time for a particular place and date; Daylight Saving Time must be taken into account.
_altitude float angular height in radians of the sun in the sky measured from the horizontal; values from 0 at sunrise and sunset to 90 at solar noon (also known as an elevation angle)
_azimuth float angle in radians in the horizontal plane measured clockwise from north to the horizontal projection of the sun's rays; values from 0 to 2*Pi
2022/11/30 16:04

Page Tools