vibespatial.constructive.linestring¶
Attributes¶
Functions¶
Return True when every row is a simple two-point linestring. |
|
Module Contents¶
- vibespatial.constructive.linestring.cp = None¶
- vibespatial.constructive.linestring.supports_two_point_linestring_buffer_fast_path(lines: vibespatial.geometry.owned.OwnedGeometryArray, *, quad_segs: int, cap_style: str, join_style: str, single_sided: bool) bool¶
Return True when every row is a simple two-point linestring.
The general GPU linestring buffer path is not yet competitive on small AUTO workloads, but the exact two-point segment case used by the network/grid shootouts is. Recognizing that shape lets the public buffer surface stay on GPU without forcing broader multi-vertex linestring workloads down the same path.
- vibespatial.constructive.linestring.linestring_buffer_owned_array(lines: vibespatial.geometry.owned.OwnedGeometryArray, distance: float | numpy.ndarray, *, quad_segs: int = 8, cap_style: str = 'round', join_style: str = 'round', mitre_limit: float = 5.0, dispatch_mode: vibespatial.runtime.ExecutionMode = ExecutionMode.AUTO) vibespatial.geometry.owned.OwnedGeometryArray¶