vibespatial.kernels.constructive.shortest_line

NVRTC kernel source for shortest_line (binary constructive).

Tier 1 NVRTC (ADR-0033) – geometry-specific inner loops that iterate all segment pairs across two geometries and track the closest point pair.

ADR-0002: CONSTRUCTIVE class – stays fp64 on all devices per policy. PrecisionPlan is wired through dispatch for observability.

The kernel outputs four coordinate arrays (ax, ay, bx, by) representing the closest point on geometry A and the closest point on geometry B. The dispatch layer assembles these into 2-point LineString OGAs.

Attributes

Module Contents

vibespatial.kernels.constructive.shortest_line.SHORTEST_LINE_KERNEL_NAMES = ('shortest_line_pt_pt', 'shortest_line_pt_ls', 'shortest_line_pt_mls', 'shortest_line_pt_pg',...