FAILURE MAP
← Case archive

FA-70184 / Map projection transforms / Member archive

Orthographic globe view with back-side culling: far-side test · case 04

On a tilted globe, features behind the horizon near the poles are drawn and visible ones are hidden.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [lon, lat, lon0, lat0] degrees; sphere R = 6371000 viewed from infinity above (lon0, lat0). cos c = sin(p0)sin(p) + cos(p0)cos(p)cos(dl); points with cos c < 0 are on the far side and return None. Otherwise x = R cos(p) sin(dl), y = R (cos(p0) sin(p) - sin(p0) cos(p) cos(dl)), rounded to 2 decimals.

Why this case matters

Globe widgets and inset locator maps draw only the visible hemisphere; wrong culling shows features through the planet.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
control #7[540513.25, 3534997.58]nullFailed

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 ↗