* is sector a full circle? * ... this comes up a lot in SVG path-drawing routines * * N.B. we consider all sectors that span more that 2pi 'full' circles * * @param {2-item array} aBnds : angular bounds in *radians* * @return {boolean}
(aBnds)
| 21 | * @return {boolean} |
| 22 | */ |
| 23 | function isFullCircle(aBnds) { |
| 24 | return Math.abs(aBnds[1] - aBnds[0]) > twoPI - 1e-14; |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * angular delta between angle 'a' and 'b' |
no outgoing calls
no test coverage detected
searching dependent graphs…