vibespatial.constructive.reverse

GPU-accelerated coordinate reversal for all geometry types.

Reverses the order of coordinates within each ring/part/geometry. For LineStrings: reverse the coordinate sequence. For Polygons: reverse each ring’s coordinate sequence.

ADR-0033: Tier 1 NVRTC, 1 thread per coordinate.

Attributes

cp

Functions

reverse_owned(...)

Reverse coordinate order for all geometries.

reverse_native_tabular_result(owned, *[, ...])

Module Contents

vibespatial.constructive.reverse.cp = None
vibespatial.constructive.reverse.reverse_owned(owned: vibespatial.geometry.owned.OwnedGeometryArray, *, dispatch_mode: vibespatial.runtime.ExecutionMode | str = ExecutionMode.AUTO) vibespatial.geometry.owned.OwnedGeometryArray

Reverse coordinate order for all geometries.

vibespatial.constructive.reverse.reverse_native_tabular_result(owned: vibespatial.geometry.owned.OwnedGeometryArray, *, dispatch_mode: vibespatial.runtime.ExecutionMode | str = ExecutionMode.AUTO, crs=None, geometry_name: str = 'geometry', source_rows=None, source_tokens: tuple[str, Ellipsis] = (), attrs: dict[str, object] | None = None)