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.

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.