Skip to main content

origin_cell

Function origin_cell 

Source
pub fn origin_cell(resolution: Resolution) -> CellIndex
Available on crate features cells3d and raster only.
Expand description

A fixed, deterministic origin cell for the deck’s invariant industry hex grid, at resolution. The deck’s own grid (topology-deck.html:169-172) is a synthetic axial-coordinate mock with no geographic meaning; h3o requires a real anchor, so (0,0) lat/lng is used — arbitrary but fixed, making every industry_cell call a pure function of (hq,hr).