itacart.boundary.absorbs_border

itacart.boundary.absorbs_border(cell)[source]

Whether a cell’s outer side has been carried onto the domain border.

The construction-level fact behind is_equal_area_cell() and itacart.resolutions.effective_cell_area(). True for every trapezoid and, additionally, for the polar triangle, whose apex the border has collapsed onto the pole.

Parameters:

cell (str) – Compositional index string.

Return type:

bool | list[bool]

Returns:

A boolean for a single cell, or a positionally aligned list.

Raises:

NonExistentCellError – If any cell of the index names no cell. The predicate is the arbiter and the contract ends there: a spelling it denies is refused rather than answered for the cell it would otherwise fold onto.