| 3623 | //------------------------------------------------------------------------------ |
| 3624 | |
| 3625 | void Clipper::FixupFirstLefts1(OutRec* OldOutRec, OutRec* NewOutRec) |
| 3626 | { |
| 3627 | //tests if NewOutRec contains the polygon before reassigning FirstLeft |
| 3628 | for (PolyOutList::size_type i = 0; i < m_PolyOuts.size(); ++i) |
| 3629 | { |
| 3630 | OutRec* outRec = m_PolyOuts[i]; |
| 3631 | OutRec* firstLeft = ParseFirstLeft(outRec->FirstLeft); |
| 3632 | if (outRec->Pts && firstLeft == OldOutRec) |
| 3633 | { |
| 3634 | if (Poly2ContainsPoly1(outRec->Pts, NewOutRec->Pts)) |
| 3635 | outRec->FirstLeft = NewOutRec; |
| 3636 | } |
| 3637 | } |
| 3638 | } |
| 3639 | //---------------------------------------------------------------------- |
| 3640 | |
| 3641 | void Clipper::FixupFirstLefts2(OutRec* InnerOutRec, OutRec* OuterOutRec) |
nothing calls this directly
no test coverage detected