vibespatial.overlay.bypass

Containment bypass and Sutherland-Hodgman fast-path for the overlay pipeline.

These functions identify polygons that can skip the full overlay computation:

  • Containment bypass (lyy.16): polygons fully inside or fully disjoint from the corridor are routed directly, avoiding overlay entirely.

  • Batched SH clip (lyy.18): boundary-crossing simple polygons eligible for Sutherland-Hodgman clipping are batched into a single polygon_intersection kernel launch instead of N separate overlay invocations.

  • Batch point-in-ring GPU (lyy.22): GPU-accelerated point-in-polygon testing used by the face assembly host fallback path.

Extracted from gpu.py to reduce file size and clarify module boundaries.

Attributes

Module Contents

vibespatial.overlay.bypass.cp = None
vibespatial.overlay.bypass.logger