vibespatial.constructive.shared_paths_cpu¶
Host-side shared_paths assembly and CPU variant registration.
Functions¶
Return an empty shared_paths GeometryCollection. |
|
|
Create a result array prefilled with empty shared_paths outputs. |
Merge new shared-path segments into an existing GeometryCollection. |
|
|
CPU shared_paths via Shapely. |
Module Contents¶
- vibespatial.constructive.shared_paths_cpu.empty_shared_paths_result() → shapely.geometry.GeometryCollection¶
Return an empty shared_paths GeometryCollection.
- vibespatial.constructive.shared_paths_cpu.init_shared_paths_result_array(row_count: int) → numpy.ndarray¶
Create a result array prefilled with empty shared_paths outputs.
- vibespatial.constructive.shared_paths_cpu.merge_shared_paths_segments(existing: shapely.geometry.GeometryCollection | None, forward_segs: list[list[tuple[float, float]]], backward_segs: list[list[tuple[float, float]]]) → shapely.geometry.GeometryCollection¶
Merge new shared-path segments into an existing GeometryCollection.
- vibespatial.constructive.shared_paths_cpu.shared_paths_cpu(left: vibespatial.geometry.owned.OwnedGeometryArray, right: vibespatial.geometry.owned.OwnedGeometryArray) → numpy.ndarray¶
CPU shared_paths via Shapely.