Skip to content

Preserve nonempty points and segments when simplifying region unions - #249

Open
chessing234 wants to merge 1 commit into
teorth:mainfrom
chessing234:codex/expdb-thin-unions
Open

chessing234 wants to merge 1 commit into
teorth:mainfrom
chessing234:codex/expdb-thin-unions

Conversation

@chessing234

Copy link
Copy Markdown
Contributor

Simplifying a union currently discards polytopes with no interior, including nonempty points and segments. Use boundary-inclusive emptiness when deciding which closed polytopes to remove.

Two new tests demonstrate lost point/segment membership through Region.simplify on main. Both pass with the fix, and all nine tests pass alongside the existing test_region.py suite.

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.

1 participant