Something that I have had on the to-do list for quite a while but have avoided it due to the many permutations and pitfalls: Stacked Windows
I have some additional testing to do, but so long as the windows line up (same x-position along wall) and they are the same width (as shown) then the algorithm seems to be successful.
The real problems arise when the windows partially overlap, or even if they are aligned but the windows widths are different. Those type of scenarios create all kinds of framing permutations which then becomes a real can of worms for the logic. I may eventually tackle it but for now I'm going to make some simple assumptions, so that I don't become too bogged down with this problem.
I have some additional testing to do, but so long as the windows line up (same x-position along wall) and they are the same width (as shown) then the algorithm seems to be successful.
The real problems arise when the windows partially overlap, or even if they are aligned but the windows widths are different. Those type of scenarios create all kinds of framing permutations which then becomes a real can of worms for the logic. I may eventually tackle it but for now I'm going to make some simple assumptions, so that I don't become too bogged down with this problem.