| 2803 | //------------------------------------------------------------------------------ |
| 2804 | |
| 2805 | bool Clipper::ProcessIntersections(const cInt topY) |
| 2806 | { |
| 2807 | if (!m_ActiveEdges) |
| 2808 | return true; |
| 2809 | try { |
| 2810 | BuildIntersectList(topY); |
| 2811 | size_t IlSize = m_IntersectList.size(); |
| 2812 | if (IlSize == 0) |
| 2813 | return true; |
| 2814 | if (IlSize == 1 || FixupIntersectionOrder()) |
| 2815 | ProcessIntersectList(); |
| 2816 | else |
| 2817 | return false; |
| 2818 | } catch (...) { |
| 2819 | m_SortedEdges = nullptr; |
| 2820 | DisposeIntersectNodes(); |
| 2821 | throw clipperException("ProcessIntersections error"); |
| 2822 | } |
| 2823 | m_SortedEdges = nullptr; |
| 2824 | return true; |
| 2825 | } |
| 2826 | //------------------------------------------------------------------------------ |
| 2827 | |
| 2828 | void Clipper::DisposeIntersectNodes() |
nothing calls this directly
no test coverage detected