vibespatial.overlay.graph

Half-edge graph construction and GPU face walk.

Extracted from overlay/gpu.py — Stage 4 of the overlay module split.

Public API

  • build_gpu_half_edge_graph — constructs half-edge graph from atomic edges

  • _gpu_face_walk — walks faces in the half-edge graph, computes shoelace contributions + face sample points

  • _empty_half_edge_graph — creates an empty graph structure

  • _quantize_coordinate — coordinate quantization helper

Attributes

cp

Functions

Module Contents

vibespatial.overlay.graph.cp = None
vibespatial.overlay.graph.build_gpu_half_edge_graph(atomic_edges: vibespatial.overlay.types.AtomicEdgeTable, *, isolate_rows: bool = False) vibespatial.overlay.types.HalfEdgeGraph