MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / GetMaximaPair

Function GetMaximaPair

TheForceEngine/TFE_Polygon/clipper.cpp:2538–2545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2536//------------------------------------------------------------------------------
2537
2538TEdge *GetMaximaPair(TEdge *e)
2539{
2540 if ((e->Next->Top == e->Top) && !e->Next->NextInLML)
2541 return e->Next;
2542 else if ((e->Prev->Top == e->Top) && !e->Prev->NextInLML)
2543 return e->Prev;
2544 else return 0;
2545}
2546//------------------------------------------------------------------------------
2547
2548TEdge *GetMaximaPairEx(TEdge *e)

Callers 2

GetMaximaPairExFunction · 0.85
ProcessHorizontalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected