| 1391 | //------------------------------------------------------------------------------ |
| 1392 | |
| 1393 | void ClipperBase::UpdateEdgeIntoAEL(TEdge *&e) { |
| 1394 | if (!e->NextInLML) |
| 1395 | throw clipperException("UpdateEdgeIntoAEL: invalid call"); |
| 1396 | |
| 1397 | e->NextInLML->OutIdx = e->OutIdx; |
| 1398 | TEdge *AelPrev = e->PrevInAEL; |
| 1399 | TEdge *AelNext = e->NextInAEL; |
| 1400 | if (AelPrev) |
| 1401 | AelPrev->NextInAEL = e->NextInLML; |
| 1402 | else |
| 1403 | m_ActiveEdges = e->NextInLML; |
| 1404 | if (AelNext) |
| 1405 | AelNext->PrevInAEL = e->NextInLML; |
| 1406 | e->NextInLML->Side = e->Side; |
| 1407 | e->NextInLML->WindDelta = e->WindDelta; |
| 1408 | e->NextInLML->WindCnt = e->WindCnt; |
| 1409 | e->NextInLML->WindCnt2 = e->WindCnt2; |
| 1410 | e = e->NextInLML; |
| 1411 | e->Curr = e->Bot; |
| 1412 | e->PrevInAEL = AelPrev; |
| 1413 | e->NextInAEL = AelNext; |
| 1414 | if (!IsHorizontal(*e)) |
| 1415 | InsertScanbeam(e->Top.Y); |
| 1416 | } |
| 1417 | //------------------------------------------------------------------------------ |
| 1418 | |
| 1419 | bool ClipperBase::LocalMinimaPending() { |
nothing calls this directly
no test coverage detected