Closed morganherlocker closed 9 years ago
^ turns out they are detected as horizontal, but not as local min/maxima, which is probably what is throwing things off.
horizontal intersections darkened:
It is pushing the intersections correctly, but appears to be incrementing on the wrong row.
Turns out that this is literally a corner case.
When a horizontal intersects at a corner on a topline, you end up with:
This causes the vertical and horizontal intersections to each be treated as pairs, like local maxima.
I removed the linecover and the results were consistent with this theory:
jackpot:
Cleaning up code and pushing to a branch for CR
It looks like the top line is getting pushed up 1 y, then skipping the next row. Initial debugging appears to reveal the the top line is not registering as a horizontal intersect.