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