lib/Math/ConvexHull.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 30 | unless $$a[0] <=> $$b[0] or $$a[1][0] <=> $$b[1][0] |
47 | 6 | 7 | if $$p[0] + 1e-15 <= $$prev[0] or $$p[0] - 1e-15 >= $$prev[0] or $$p[1] + 1e-15 <= $$prev[1] or $$p[1] - 1e-15 >= $$prev[1] |
66 | 0 | 6 | if ($n_in_hull == 2) { } |
106 | 6 | 25 | if ($p_no == $start) { } |
114 | 0 | 25 | if $angle < 0 |
137 | 1 | 5 | if ($p1 <= $sp1 and $p1 < $sp1 || $p0 < $sp0) |