(ax, ay, bx, by)
| 12288 | } |
| 12289 | |
| 12290 | function dist(ax, ay, bx, by) { |
| 12291 | var dx = ax - bx; |
| 12292 | var dy = ay - by; |
| 12293 | return dx * dx + dy * dy; |
| 12294 | } |
| 12295 | |
| 12296 | // return 2d orientation sign if we're confident in it through J. Shewchuk's error bound check |
| 12297 | function orientIfSure(px, py, rx, ry, qx, qy) { |
no outgoing calls
no test coverage detected
searching dependent graphs…