Package-level declarations

Types

Link copied to clipboard

A unit an area is told in, with how many square metres it is. The Turkish dönüm is 1,000 m² (the legal one; the old Ottoman dönüm of about 919 m² is not used).

Link copied to clipboard
class Buildable(val rings: List<List<Vertex>>, val area: Double)

The part of a plot where a building may stand.

Link copied to clipboard
class BuildingAllowance(val maxFootprint: Double, val maxTotalArea: Double, val floors: Double)

What may be built on a plot.

Link copied to clipboard
object Measure

Lengths and areas of what is drawn, in metres and square metres, on the WGS84 ellipsoid.

Link copied to clipboard
class Piece(val rings: List<List<Vertex>>, val area: Double, val targetArea: Double)

One share of a plot that has been divided: the rings it is made of (the outline of each part followed by its holes, like DrawnPolygon.rings), its area and the area it was meant to have.

Link copied to clipboard
object Setback

What a setback leaves of a plot. A setback (çekme mesafesi) is a strip along the boundary where nothing may be built; the part inside it is where a building may stand. The distances are not the same everywhere: they come from the zoning plan of the municipality, so they are always given by the person using it and never assumed here.

Link copied to clipboard
object ShareSplit

Divides a plot of land into shares of given sizes: three heirs with a half, a quarter and a quarter get three pieces whose areas are exactly in that proportion.

Link copied to clipboard
class ShareSplitResult(val pieces: List<Piece>, val cutBearing: Double)

A plot divided into shares.

Link copied to clipboard
object Zoning

Taks and emsal arithmetic. A simulation, not a ruling: the coefficients, the setbacks and which areas count (a basement, a balcony, a stairwell) differ between municipalities and zoning plans and have exceptions, so the numbers here are for planning, and the municipality's own calculation is the one that counts.

Link copied to clipboard
class ZoningCheck(val taks: Double, val kaks: Double, val footprintAllowed: Boolean, val totalAllowed: Boolean)

How a building that has been drawn stands against the limits.

Link copied to clipboard
class ZoningLimits(val taks: Double, val kaks: Double)

The two coefficients of a Turkish zoning plan (imar planı) that say how much may be built on a plot.