Skip to content

Zone

A geometric region. Returned by: WeatherReport.coverage() and WeatherEventForecast.corridor()

MethodReturnsMeaning
.intersect(other)ZoneGeometry shared by both zones
.union(other)ZoneEverything covered by either
.subtract(other)ZoneRemove the other zone’s geometry from this one
.diff(other)ZoneGeometry present in exactly one of the two
.center()[x, y] or NoneCentroid in meters (None for an empty zone). Describes visible storm geometry, not the hidden aftermath
.area()numberCovered area in m²
.contains(x, y)booleanPoint inside the zone
.is_empty()booleanZone covers nothing