FAILURE MAP
← Case archive

FA-70457 / GIS polygon topology / Member archive

Bounding box topological relation: within operand completeness · case 02

A box poking out of the top of another is reported as within.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input [a, b], closed boxes [minx, miny, maxx, maxy] with positive width and height. Return "equals" if identical, else "disjoint" if separated with no shared point, else "contains" if a covers b (shared edges allowed), "within" if b covers a, else "touches" if the boxes share only boundary, else "overlaps".

Why this case matters

Spatial indexes and map tile filters prune candidates with envelope relations before exact geometry tests.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
control #7"within""touches"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 ↗