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

Method pushGraphEdge

src/LNLib/Algorithm/Voronoi.cpp:767–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767void LNLib::VoronoiDiagramGenerator::pushGraphEdge(float x1, float y1, float x2, float y2)
768{
769 if (genVoronoi)
770 {
771 GraphEdge* newEdge = new GraphEdge;
772 newEdge->next = allEdges;
773 allEdges = newEdge;
774 newEdge->x1 = x1;
775 newEdge->y1 = y1;
776 newEdge->x2 = x2;
777 newEdge->y2 = y2;
778 }
779}
780
781void LNLib::VoronoiDiagramGenerator::pushDelaunayGraphEdge(float x1, float y1, float x2, float y2)
782{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected