| 600 | } |
| 601 | |
| 602 | int LNLib::VoronoiDiagramGenerator::PQbucket(struct Halfedge* he) |
| 603 | { |
| 604 | int bucket; |
| 605 | |
| 606 | bucket = (int)((he->ystar - ymin) / deltay * PQhashsize); |
| 607 | if (bucket < 0) bucket = 0; |
| 608 | if (bucket >= PQhashsize) bucket = PQhashsize - 1; |
| 609 | if (bucket < PQmin) PQmin = bucket; |
| 610 | return(bucket); |
| 611 | } |
| 612 | |
| 613 | int LNLib::VoronoiDiagramGenerator::PQempty() |
| 614 | { |
nothing calls this directly
no outgoing calls
no test coverage detected