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

Function VertexListSort

CPP/Clipper2Lib/src/clipper.triangulation.cpp:103–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 /////////////////////////////////////////////////////////////////////////////
102
103 static bool VertexListSort(const Vertex2* a, const Vertex2* b)
104 {
105 return (a->pt.y == b->pt.y) ? (a->pt.x < b->pt.x) : (a->pt.y > b->pt.y);
106 }
107
108 static bool EdgeListSort(const Edge* a, const Edge* b)
109 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected