Graphviz 13.0.0~dev.20241220.2304
|
function partition, subroutine of mkMaze More...
Go to the source code of this file.
Functions | |
boxf * | partition (cell *cells, int ncells, size_t *nrects, boxf bb) |
partitions space around cells (nodes) into rectangular tiles | |
[in] | cells | rectangular borders of user's input graph's nodes |
[in] | bb | range of the space to partition |
[out] | nrects | number of tiles |
Definition at line 685 of file partition.c.
References construct_trapezoids(), traps_t::data, DEBUG, free(), generateRandomOrdering(), genSegments(), gv_calloc(), traps_t::length, monotonate_trapezoids(), PRISIZE_T, rectIntersect(), srand48, segment_t::v0, and pointf_s::y.
Referenced by mkMaze().