snail.core package

snail.core.get_cell_indices(arg0: object, arg1: SupportsInt | SupportsIndex, arg2: SupportsInt | SupportsIndex, arg3: collections.abc.Sequence[SupportsFloat | SupportsIndex]) tuple[int, int]

Get LineString cell indices in a grid

snail.core.split_linestring(linestring_py: object, nrows: SupportsInt | SupportsIndex, ncols: SupportsInt | SupportsIndex, transform: collections.abc.Sequence[SupportsFloat | SupportsIndex], bounded: bool = False) list[object]

Split LineString along a grid

snail.core.split_polygon(arg0: object, arg1: SupportsInt | SupportsIndex, arg2: SupportsInt | SupportsIndex, arg3: collections.abc.Sequence[SupportsFloat | SupportsIndex]) list[object]

Split Polygon along a grid