#[non_exhaustive]pub struct FillRun {
pub y: i32,
pub x: Range<i32>,
pub polygon: u32,
/* private fields */
}Expand description
A horizontal run of tiles lying entirely inside one of a feature’s polygons: row y, columns
x.start..x.end, covered by polygon polygon.
No ring edge touches these tiles’ buffered boxes, so each is uniformly covered. In each of them,
PolygonSlicerOne emits one polygon for this one: a single
all-synthetic box ring around the buffered box, which
PolygonFeatureView::fill_ring returns (the same tile-local ring for every tile of the run).
Runs never overlap the feature’s edge tiles, are maximal per polygon, and come in row-major order,
then by polygon. Polygons of a valid multipolygon don’t overlap, so neither do their runs; only
overlapping parts give a tile several runs, which PolygonSlicerOne emits in polygon order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.y: i32The tile row.
x: Range<i32>The tile columns, end-exclusive.
polygon: u32The covering polygon: its position among the polygons passed to
add_feature_with.