Repository navigation
What should I work on next in iOverlay? #108
NailxSharipov
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm considering applying for an NLnet grant to improve iOverlay. The deadline for this round is January 3, 2027, at noon CET. NLnet’s call for proposals
I'd like to hear from you by December 20, 2026. After that, I’ll review your feedback and decide whether to apply and, if so, which tasks to include.
My list so far
New features
1. Polygon selection.
Select whole objects with a rectangle or another polygon. Filters could distinguish strict containment, containment with boundary contact, contact alone, partial overlap, and complete separation. You could also distinguish point contact from contact along an edge.
2. Polygon connectivity.
Group polygons that connect directly or through other polygons. Choose whether an area of overlap, a shared edge, or a single shared point counts as a connection. An EDA tool could use these groups to find device pins connected through copper traces.
3. Simpler output contours.
On the square's right side,
(2, 1)is collinear with(2, 0)and(2, 2), so it can be removed when simplifying the result of a boolean operation. Removing it turns a shared vertex into a vertex-to-edge contact with the triangle. An option to keep such points would preserve the shared vertex when needed.4. OGC intersections for touching polygons.
Add a dedicated method to return shared line segments or isolated contact points when polygons touch without overlapping in area. Two rectangles that share a side would return that line segment.
Performance and precision
5. Rectangle clipping for closed contours.
You can already clip a closed contour to a rectangle with a boolean intersection. A specialized algorithm could make this faster and compute the points where the contour crosses the rectangle’s boundary more accurately.
6. Speed up the second split pass.
When segment splitting needs another pass, skip parts of the geometry where all intersections have already been resolved.
7. Speed up the fill sweep.
Optimize the work at vertices where several edges start together, and improve how the sweep stores and accesses active edges.
Algorithm documentation
8. Algorithm explanation.
Use diagrams, short animations, and written article to show how iOverlay works.
What do you think?
Which ideas would help you most? Which would you change or leave out, and why?
I'd also like to hear about problems I've missed. What are you trying to do with iOverlay?
All reactions