Setback

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.

Functions

Link copied to clipboard
fun buildable(polygon: DrawnPolygon, distanceMeters: Double, engine: InsetEngine, newVertexId: () -> VertexId): Buildable

The part of polygon that is at least distanceMeters metres from every edge, with mitred corners (a hole grows by the same distance). It is empty when the plot is narrower than twice the distance.