BuildingAllowance

class BuildingAllowance(val maxFootprint: Double, val maxTotalArea: Double, val floors: Double)

What may be built on a plot.

Constructors

Link copied to clipboard
constructor(maxFootprint: Double, maxTotalArea: Double, floors: Double)

Properties

Link copied to clipboard

how many floors the building has if it covers maxFootprint and uses all of maxTotalArea (not a whole number: 1.5 is a ground floor and a half floor); 0 if nothing can be built.

Link copied to clipboard

the most the ground floor may cover, in square metres.

Link copied to clipboard

the most all the floors together may come to, in square metres.

Link copied to clipboard

floors without its fraction: the whole floors of that building.