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

Method HEcreate

src/LNLib/Algorithm/Voronoi.cpp:238–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236
237
238struct LNLib::Halfedge* LNLib::VoronoiDiagramGenerator::HEcreate(struct Edge* e, int pm)
239{
240 struct Halfedge* answer;
241 answer = (struct Halfedge*)getfree(&hfl);
242 answer->ELedge = e;
243 answer->ELpm = pm;
244 answer->PQnext = (struct Halfedge*)NULL;
245 answer->vertex = (struct Site*)NULL;
246 answer->ELrefcnt = 0;
247 return(answer);
248}
249
250void LNLib::VoronoiDiagramGenerator::ELinsert(struct Halfedge* lb, struct Halfedge* newHe)
251{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected