| 2480 | } |
| 2481 | |
| 2482 | void ClipperBase::SwapPositionsInAEL(Active& e1, Active& e2) |
| 2483 | { |
| 2484 | //preconditon: e1 must be immediately to the left of e2 |
| 2485 | Active* next = e2.next_in_ael; |
| 2486 | if (next) next->prev_in_ael = &e1; |
| 2487 | Active* prev = e1.prev_in_ael; |
| 2488 | if (prev) prev->next_in_ael = &e2; |
| 2489 | e2.prev_in_ael = prev; |
| 2490 | e2.next_in_ael = &e1; |
| 2491 | e1.prev_in_ael = &e2; |
| 2492 | e1.next_in_ael = next; |
| 2493 | if (!e2.prev_in_ael) actives_ = &e2; |
| 2494 | } |
| 2495 | |
| 2496 | inline OutPt* GetLastOp(const Active& hot_edge) |
| 2497 | { |
nothing calls this directly
no outgoing calls
no test coverage detected