Skip to content

Modifying the fit logic for issue #2326#2328

Merged
klayoutmatthias merged 1 commit intomasterfrom
feature/issue-2326
Apr 14, 2026
Merged

Modifying the fit logic for issue #2326#2328
klayoutmatthias merged 1 commit intomasterfrom
feature/issue-2326

Conversation

@klayoutmatthias
Copy link
Copy Markdown
Collaborator

The fit box is computed now the following way

  1. Compute the bounding box of "visible" parts (i.e. treating empty cells as empty)
  2. If that bounding box is empty, compute the bounding box using the previous scheme, where empty cells are treated as point-like with a single point at their origin

The fit box is computed now the following way
1. Compute the bounding box of "visible" parts
   (i.e. treating empty cells as empty)
2. If that bounding box is empty, compute the
   bounding box using the previous scheme,
   where empty cells are treated as point-like
   with a single point at their origin
@klayoutmatthias klayoutmatthias linked an issue Apr 11, 2026 that may be closed by this pull request
@klayoutmatthias klayoutmatthias merged commit 386e780 into master Apr 14, 2026
18 of 21 checks passed
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.

fit shouldn't take bbox of "empty" struct into account

1 participant