vibespatial.constructive.union_all_cpu

CPU-only helpers for union-all style constructive reductions.

Functions

empty_polygon()

Lazily create a Shapely empty polygon.

empty_owned(...)

Lazily create a 1-row OGA containing an empty polygon.

merge_pair_cpu(...)

CPU fallback for a single pairwise union/intersection tree-reduce step.

reduce_all_cpu(...)

CPU fallback for global union/intersection-style reductions.

Module Contents

vibespatial.constructive.union_all_cpu.empty_polygon()

Lazily create a Shapely empty polygon.

vibespatial.constructive.union_all_cpu.empty_owned() vibespatial.geometry.owned.OwnedGeometryArray

Lazily create a 1-row OGA containing an empty polygon.

vibespatial.constructive.union_all_cpu.merge_pair_cpu(left: vibespatial.geometry.owned.OwnedGeometryArray, right: vibespatial.geometry.owned.OwnedGeometryArray, *, op: str) vibespatial.geometry.owned.OwnedGeometryArray

CPU fallback for a single pairwise union/intersection tree-reduce step.

vibespatial.constructive.union_all_cpu.reduce_all_cpu(owned: vibespatial.geometry.owned.OwnedGeometryArray, *, op: str, grid_size: float | None = None) vibespatial.geometry.owned.OwnedGeometryArray

CPU fallback for global union/intersection-style reductions.