FormIt.SunAndLocation namespace.
Functions | |
json | AddSatelliteImage (centerLat, centerLon, latSpan, lonSpan, pixelWidth, pixelHeight, physicalWidth, physicalHeight, address, xOffset, yOffset) |
AddSatelliteImage applies a placeholder satellite image. | |
json | SetProjectAddress (address) |
SetProjectAddress sets the location address. | |
json | GetProjectAddress () |
GetProjectAddress returns the location address. | |
json | SetLocation (longitude, latitude) |
SetLocation sets the location. | |
json | SetTimeOfDay (dTimeOfDay, bUpdateRender, bForceUpdateShadows) |
SetTimeOfDay sets the time of day. | |
json | UpdateShadows () |
UpdateShadows updates the shadows. | |
json | SetDate (nDay, nMonth, nYear, bUpdateRender, bForceUpdateShadows) |
SetDate sets the date. | |
json | GetDaylightSavingTime () |
GetDaylightSavingTime true if DST is active. | |
json | SetDaylightSavingTime (bEnable, bUpdateRender) |
SetDaylightSavingTime sets DST on/off. | |
json | GetLocationDateTime () |
GetLocationDateTime Parameters: In: Out: {{"objectName", "SunLocationData", "latitude":, "longitude":, "Time":, "UTCTimeZone":, "DSTOffset":, "Day":, "Month":, "Year":, "DSTEnabled":}; | |
json | GetSunRiseAndSet () |
GetSunRiseAndSet Parameters: In: Out: {"objectName"" "SunRiseData",
sunRises":, sunRise":,
sunSet":}; | |
json | GetLightDirectionFromLocationData (sunLocationData) |
GetLightDirectionFromLocationData Parameters: In:SunLocationData Out: {{"objectName", "Vector3d", "x":, "y":, "z": }; | |