| 1761 | } |
| 1762 | |
| 1763 | Active* FindEdgeWithMatchingLocMin(Active* e) |
| 1764 | { |
| 1765 | Active* result = e->next_in_ael; |
| 1766 | while (result) |
| 1767 | { |
| 1768 | if (result->local_min == e->local_min) return result; |
| 1769 | else if (!IsHorizontal(*result) && e->bot != result->bot) result = nullptr; |
| 1770 | else result = result->next_in_ael; |
| 1771 | } |
| 1772 | result = e->prev_in_ael; |
| 1773 | while (result) |
| 1774 | { |
| 1775 | if (result->local_min == e->local_min) return result; |
| 1776 | else if (!IsHorizontal(*result) && e->bot != result->bot) return nullptr; |
| 1777 | else result = result->prev_in_ael; |
| 1778 | } |
| 1779 | return result; |
| 1780 | } |
| 1781 | |
| 1782 | |
| 1783 | void ClipperBase::IntersectEdges(Active& e1, Active& e2, const Point64& pt) |
no test coverage detected