vibespatial.kernels.constructive.make_valid

Attributes

Functions

make_valid_kernel(...)

make_valid_gpu_kernel(...)

GPU-accelerated make_valid using NVRTC repair kernels (ADR-0019 + ADR-0033).

Module Contents

vibespatial.kernels.constructive.make_valid.MakeValidInput
vibespatial.kernels.constructive.make_valid.make_valid_kernel(values: MakeValidInput, *, method: str = 'linework', keep_collapsed: bool = True) vibespatial.constructive.make_valid_pipeline.MakeValidResult
vibespatial.kernels.constructive.make_valid.make_valid_gpu_kernel(values: MakeValidInput, *, method: str = 'linework', keep_collapsed: bool = True, owned=None) vibespatial.constructive.make_valid_pipeline.MakeValidResult

GPU-accelerated make_valid using NVRTC repair kernels (ADR-0019 + ADR-0033).

When an OwnedGeometryArray with device_state is provided, runs the full GPU repair pipeline: ring closure, duplicate removal, orientation fix, self-intersection splitting, and re-polygonization. Falls back to CPU Shapely path for non-polygon families and when GPU repair fails.