vibespatial.constructive.segmented_union_host¶
Functions¶
|
Normalize group offsets to a host int64 ndarray. |
|
Return True when all valid rows are polygon-family geometries. |
|
Return a 1-row host index vector for OwnedGeometryArray.take(). |
|
Return the host index vector for a contiguous group slice. |
|
Return indices of valid rows in an OwnedGeometryArray. |
|
Concatenate OwnedGeometryArrays without forcing device results to host. |
|
Concatenate FamilyGeometryBuffers for a single family. |
Module Contents¶
- vibespatial.constructive.segmented_union_host.normalize_group_offsets(group_offsets: Any) numpy.ndarray¶
Normalize group offsets to a host int64 ndarray.
- vibespatial.constructive.segmented_union_host.group_has_only_polygon_families(geometries: vibespatial.geometry.owned.OwnedGeometryArray, polygon_tags: set[int]) bool¶
Return True when all valid rows are polygon-family geometries.
- vibespatial.constructive.segmented_union_host.singleton_indices(index: int) numpy.ndarray¶
Return a 1-row host index vector for OwnedGeometryArray.take().
- vibespatial.constructive.segmented_union_host.group_indices(start: int, end: int) numpy.ndarray¶
Return the host index vector for a contiguous group slice.
- vibespatial.constructive.segmented_union_host.valid_row_indices(owned: vibespatial.geometry.owned.OwnedGeometryArray) numpy.ndarray¶
Return indices of valid rows in an OwnedGeometryArray.
- vibespatial.constructive.segmented_union_host.concat_owned_arrays(arrays: list[vibespatial.geometry.owned.OwnedGeometryArray]) vibespatial.geometry.owned.OwnedGeometryArray¶
Concatenate OwnedGeometryArrays without forcing device results to host.
- vibespatial.constructive.segmented_union_host.concat_family_buffers(family, buffers)¶
Concatenate FamilyGeometryBuffers for a single family.