Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution for the "kissing corners" problem #281

Closed
klayoutmatthias opened this issue Jun 16, 2019 · 0 comments
Closed

Solution for the "kissing corners" problem #281

klayoutmatthias opened this issue Jun 16, 2019 · 0 comments

Comments

@klayoutmatthias
Copy link
Collaborator

@klayoutmatthias klayoutmatthias commented Jun 16, 2019

This is related to: https://www.klayout.de/forum/discussion/1250/width-space-special-drc

Two rectangles touching in one point form a polygon with self-touching points. This pinch is not recognized as a width violation. In the same way, two rectangles touching in one point can be kept as such using the "min_coherence=true" switch of the Region class, but a spacing check does not reveal the pinch as a spacing violation.

Solution is to handle this case by enhancing the "facing edges" criterion: edges with a distance of 0 are considered "facing each other" in the width and space sense if they have at least one point in common.

klayoutmatthias added a commit that referenced this issue Jun 18, 2019
Fixed #281 (proper reporting of width/space violations in the kissing…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant