Skip to content

Make group bounding boxes optional - #1167

Open
LaurenzV wants to merge 1 commit into
mainfrom
bbox-optional
Open

LaurenzV wants to merge 1 commit into
mainfrom
bbox-optional

Conversation

@LaurenzV

Copy link
Copy Markdown
Collaborator

While reviewing #1128, I noticed that the fact that empty bounding boxes are represnted as a zero-rect is not good, because any method that expands the bounding box will include the location wherever this zero-sized rectangle is placed. Instead, I think we should switch to representing missing bounding boxes as options.

This turned out to be much easier than expected and I think it's cleaner than what we had before. It also fixes a bug, which I added a regression test for.

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