| 822 | } |
| 823 | |
| 824 | void LNLib::VoronoiDiagramGenerator::plotinit() |
| 825 | { |
| 826 | float dx, dy, d; |
| 827 | |
| 828 | dy = ymax - ymin; |
| 829 | dx = xmax - xmin; |
| 830 | d = (float)((dx > dy ? dx : dy) * 1.1); |
| 831 | pxmin = (float)(xmin - (d - dx) / 2.0); |
| 832 | pxmax = (float)(xmax + (d - dx) / 2.0); |
| 833 | pymin = (float)(ymin - (d - dy) / 2.0); |
| 834 | pymax = (float)(ymax + (d - dy) / 2.0); |
| 835 | cradius = (float)((pxmax - pxmin) / 350.0); |
| 836 | range(pxmin, pymin, pxmax, pymax); |
| 837 | } |
| 838 | |
| 839 | void LNLib::VoronoiDiagramGenerator::clip_line(struct Edge* e) |
| 840 | { |
nothing calls this directly
no outgoing calls
no test coverage detected