Import
evaluateZoning
Evaluaterules for masses on site.
evaluateBuildingZoning
Checkrules for masses and the walled input.buildings on site.
buildableFootprint
The buildable plate(s) atatHeight above grade — the parcel inset per edge by the rules, holes grown by theirs, the no-build zones left out.
buildableEnvelope
Stack buildable plates from grade to the height cap (oropts.maxHeight) in bandHeight bands; stops at the first band with no buildable region.
resolvedLotLines
Resolved lot-line classes (every edgeside when the site has none).
edgeSetbacks
Per-edge insets atatHeight above grade: one per outer edge, one list per hole.
requiredInset
Largest inset among the plane rules addressingedgeClass (and outer edge edgeIndex) at atHeight.
heightCapOf
Height cap above grade, when aheight-cap rule exists (the smallest wins).
planeOffsetAt
Inset one plane rule demands atatHeight above grade.
Types
SiteLike
The structural shape the envelope needs — aSite’s config or a plain object.
ZoningOptions
What else evaluateZoning is told about the site.The buildings of the site, such as
BuildingModel.buildings. A building with no mass is not
counted, and the report’s notes say so; this check reads masses only.ZoningReport
What the check left out, in words: one note for each building of
options.buildings that has no
mass, so its walls are not counted. Absent when there is nothing to say.BuildingZoningInput
The walled buildings of evaluateBuildingZoning and how to measure them.Buildings drawn with walls. A building with a
mass is left out: pass its mass instead.Per building id: roofs or slabs that count in its footprint (
buildingFootprint coveredBy).Per building id: the world Y of its highest point, measured by the caller (for example from the
built model). It replaces the height read from walls and roofs, and is the only way to give the
height of a building with a pitched roof.
BuildingZoningReport
compliant only when every rule was evaluated and none is broken.The rules that could not be judged because a figure they need is not measured.
EnvelopePlaneRule
Which lot lines the plane rises from.
all = every outer edge and every hole edge. Give
edgeClass or edgeIndex, not both.ZoningViolation
ZoningViolationType
ZoningMetrics
Σ net footprints of the parts that stand at grade. A mass that starts below grade counts the part
that crosses it; one wholly below grade or wholly raised counts none.