Overview | Directory | Categories | Index | Search | File | Source | Help | Etc | Developer documentation |
ny-1*---*---*. . . . . .*---*---* | +| +| | +| +| | + | + | | + | + | |+ |+ | |+ |+ | ny-2*---*---*. . . . . .*---*---* . . . . . . . . . . . . 1*---*---*. . . . . .*---*---* | +| +| | +| +| | + | + | | + | + | |+ |+ | |+ |+ | 0*---*---*. . . . . .*---*---* 0 1 2 nx-3 nx-2 nx-1
You have 2 ways to cut a rectangle: 1) the upward diagonal 2) the downward diagonal*---* *---* | +| |+ | | + | | + | |+ | | +| *---* *---*
result = definetri(nx, ny[, downward])
McCabe cyclic | 6 |
McCabe essential | 1 |
McCabe modular design | 1 |