Skip to main content

build

Function build 

Source
pub fn build(feats: &[Feat], deg: f64, subdivision: usize) -> CellGrid
Expand description

Rasterizes feats onto a deg-cell grid, with ownership sampled on a grid subdivision× finer (subdivision = 8 at 2° gives 0.25° subcells).

§Panics

Panics if any coordinate is NaN (scanline crossings become unsortable).