MCPcopy Create free account
hub / github.com/BIMCoderLiang/LNLib / PQ_min

Method PQ_min

src/LNLib/Algorithm/Voronoi.cpp:618–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616}
617
618struct LNLib::PointVDG LNLib::VoronoiDiagramGenerator::PQ_min()
619{
620 struct PointVDG answer;
621
622 while (PQhash[PQmin].PQnext == (struct Halfedge*)NULL) { PQmin += 1; };
623 answer.x = PQhash[PQmin].PQnext->vertex->coord.x;
624 answer.y = PQhash[PQmin].PQnext->ystar;
625 return (answer);
626}
627
628struct LNLib::Halfedge* LNLib::VoronoiDiagramGenerator::PQextractmin()
629{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected