MCPcopy Create free account
hub / github.com/AngusJohnson/Clipper2 / IntersectListSort

Function IntersectListSort

CPP/Clipper2Lib/src/clipper.engine.cpp:322–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321
322 bool IntersectListSort(const IntersectNode& a, const IntersectNode& b)
323 {
324 //note different inequality tests ...
325 return (a.pt.y == b.pt.y) ? (a.pt.x < b.pt.x) : (a.pt.y > b.pt.y);
326 }
327
328
329 inline void SetSides(OutRec& outrec, Active& start_edge, Active& end_edge)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected