-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Description
Hi Matthias,
for class Box, http://www.klayout.de/doc-qt4/code/class_Box.html
- Description: Test if this box touches the argument box. Returns true, if this box has at least one point common with the argument box
I would instead define "touches" as there being at least one coincident edge. e.g., you can have a small box touching a big box, but the points aren't common (if you define a point as a vertex / corner).
What I am really looking for is a test for overlapping & touching, for both Box and Polygon.
And as far as I can tell, Box.touches actually gives the result I desire (fortunately), but doesn't match the description.
For class Polygon, there is no overlap test, yet internally you must have one since you have shape iterators? (this is not critical for me... I have a work-around now)
Thank you very much,
Lukas
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels