Skip to content

Clip out-of-bounds obstacles to board limits#130

Merged
0hmX merged 1 commit intostack/gapfill-expansion-clampfrom
stack/obstacle-bounds-clipping
May 8, 2026
Merged

Clip out-of-bounds obstacles to board limits#130
0hmX merged 1 commit intostack/gapfill-expansion-clampfrom
stack/obstacle-bounds-clipping

Conversation

@0hmX
Copy link
Copy Markdown
Contributor

@0hmX 0hmX commented May 6, 2026

Stack created with GitHub Stacks CLIGive Feedback 💬

This PR tightens how out-of-bounds obstacles are handled. Obstacles that lie fully
outside the board are ignored, and obstacles that cross the board edge are clipped
so only the part inside the board is treated as real. This keeps the solver output
and final obstacle shapes aligned with the actual board area, while still allowing
the initial view to show the original input shape for debugging.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rectdiff Ready Ready Preview, Comment May 6, 2026 9:25am

Request Review

@0hmX 0hmX force-pushed the stack/gapfill-expansion-clamp branch from 2d30840 to 7fe5fd9 Compare May 6, 2026 09:11
@0hmX 0hmX force-pushed the stack/obstacle-bounds-clipping branch from 2e076f5 to b421f8d Compare May 6, 2026 09:11
@0hmX 0hmX force-pushed the stack/obstacle-bounds-clipping branch from b421f8d to 91361a3 Compare May 6, 2026 09:24
@0hmX 0hmX merged commit 07ab5cd into stack/gapfill-expansion-clamp May 8, 2026
4 checks passed
@tscircuitbot
Copy link
Copy Markdown
Contributor


Thank you for your contribution! 🎉

PR Rating: ⭐⭐⭐
Impact: Major

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants