OptionalaxisThe direction of the scan.
OptionalcontainmentHow a stored feature block must relate to the queried range to be included.
OptionalfeaturesThe features the iteration resolves and visits.
Two effects, both wins for a caller that does not need everything:
features scan that excludes Fill — the render
path that only paints content stops receiving cells with nothing to paint.An empty list is the raw-value fast path — no feature state is resolved at all.
OptionalignoreWhen scanning skip cells that are hidden via headers.
OptionalreverseIterate in reverse order.
Options for ICellRange.getRegions.
Remarks
The traversal keys are the standard ICellRange.IteratorOptions ones, meaning what they mean everywhere else.
featuresis the same list as the positional argument — for a partition, the features resolved and the features partitioned on are necessarily one list — so the argument is simply its shorthand.Pick, notOmit, and deliberately. A partition is not a cell visitation, so the rest ofIteratorOptionshas nothing to act on:includeEmpty(regions come from the feature indexes, and the blank side of the partition is not yielded at all),reuseContextandincludeMergeOverflow(there is no per-cellIteratorContextto reuse or overflow into),injectReferences(which ignores features by its own contract), andaddress(the queried range IS the bounds — a second one would be ambiguous). Widening toOmitwould advertise five options that silently do nothing, and a feature that silently reports nothing is worse than a missing one.