remove the HalfEdge from the list of vertices
| 583 | |
| 584 | //remove the HalfEdge from the list of vertices |
| 585 | void LNLib::VoronoiDiagramGenerator::PQdelete(struct Halfedge* he) |
| 586 | { |
| 587 | struct Halfedge* last; |
| 588 | |
| 589 | if (he->vertex != (struct Site*)NULL) |
| 590 | { |
| 591 | last = &PQhash[PQbucket(he)]; |
| 592 | while (last->PQnext != he) |
| 593 | last = last->PQnext; |
| 594 | |
| 595 | last->PQnext = he->PQnext; |
| 596 | PQcount -= 1; |
| 597 | deref(he->vertex); |
| 598 | he->vertex = (struct Site*)NULL; |
| 599 | }; |
| 600 | } |
| 601 | |
| 602 | int LNLib::VoronoiDiagramGenerator::PQbucket(struct Halfedge* he) |
| 603 | { |
nothing calls this directly
no outgoing calls
no test coverage detected