FAILURE MAP
← Case archive

FA-51010 / Raster clipping / Member archive

Homogeneous segment clip: intersection rounding · case 05

Integer conversion snaps a crossing intersection to an endpoint.

Member previewVariant 5 · 3 implementations · 12 checks per implementation

Case contract

Clip ordered segments in homogeneous (x,w,u) coordinates against requested left x+w>=0, right w-x>=0 and eye w>=1 halfspaces. Interpolate every component at intersections before perspective division; retain endpoint order. Output exact rational strings, or null for rejected segments. The integer surface size scales horizontal halfspaces.

Why this case matters

Raster clip state can leak coverage across draws even when every individual region is valid.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
explicit sequence 0[[["-12", "1", "0"], ["0", "1", "12"]]][[["-8", "1", "4"], ["0", "1", "12"]]]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗