Region Manager Type
A Region Manager defines a set of regions — for example, countries, states, or counties — derived from a categorical map whose class values identify each region, and provides the scoping context functors use to work with one region, or all regions, at a time.
Region Manager creates one: given a regions categorical map and an optional borderCells padding (extra lines/columns added around each region), it exposes the resulting Region Manager as its own regionManager internal output to the functors nested inside it:
RegionManager regionMap 0 {{
manager = regionManager;
allRegions := GetAllRegionsInfo manager;
}};
From there, a family of functors work with an active Region Manager. Region narrows scope to a single region — given a region ID and the enclosing Region Manager, both auto-bound, it re-exposes both to the functors nested inside it. For Each Region iterates over every region the enclosing Region Manager defines, exposing the current region's ID as its step internal output on each pass. Get All Regions Info and Get Region Info retrieve boundary metadata for all regions at once, or one at a time; Get All Regions Info's output table gives each region's line and column extent along with its four coordinate boundaries. Regionalize Map and Regionalize Categorical Map split a global map into per-region pieces; Regional Map and Regional Categorical Map tag and collect those per-region fragments as they're produced, under a shared name; Merge Regional Maps and Merge Regional Categorical Maps reassemble the tagged fragments back into one global mosaic map.
GUI Editor
Region Manager Type has no editor. A value can only come from a Region Manager container, or be passed through by a Region or For Each Region container — never typed in directly.
EGO Script
For the same reason, Region Manager Type has no literal constant syntax in EGO Script — see Constants. Region Manager Value exists purely to relay a Region Manager value between two functors, the same role Struct's carrier functor plays for structs; its own input is likewise non-editable and auto-binds to the enclosing container's regionManager by default.
Automatic Conversions
None — Region Manager Type converts to or from no other type.
See Type System for the complete conversion reference across all types.