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

Method endpoint

src/LNLib/Algorithm/Voronoi.cpp:513–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513void LNLib::VoronoiDiagramGenerator::endpoint(struct Edge* e, int lr, struct Site* s)
514{
515 e->ep[lr] = s;
516 ref(s);
517 if (e->ep[re - lr] == (struct Site*)NULL)
518 return;
519
520 clip_line(e);
521
522 deref(e->reg[le]);
523 deref(e->reg[re]);
524 makefree((Freenode*)e, &efl);
525}
526
527float LNLib::VoronoiDiagramGenerator::dist(struct Site* s, struct Site* t)
528{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected