Building height (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
__NOTOC__
__NOTOC__
===Building height===
===Building height===
Though not an explicit attribute or function value in and of itself, the height of a [[building]] for the water overlay is calculated as follows:
The building height for the water overlay is calculated as follows:
: ''building height = floors * FLOOR_HEIGHT_M''
: ''building height = floors * FLOOR_HEIGHT_M''
where the FLOOR_HEIGHT_M is the building's attribute value which dictates the height of an individual floor, and floors is the amount of floors of the building's section.
where FLOOR_HEIGHT_M is the height of a single floor, and floors is the number of floors in the section.


===Building height in water model===
===Building height in water model===

Revision as of 12:48, 8 July 2026

Building height

The building height for the water overlay is calculated as follows:

building height = floors * FLOOR_HEIGHT_M

where FLOOR_HEIGHT_M is the height of a single floor, and floors is the number of floors in the section.

Building height in water model

The height of buildings is taken into account when computing the flow of water above ground. Buildings are computed to have at most a height of DESIGN_FLOOD_ELEVATION_M. Lower buildings retain their own building height. Taller buildings have their height capped at the DESIGN_FLOOD_ELEVATION_M attribute's value.