(rx, ry, qx, qy, px, py)
| 140160 | } |
| 140161 | // a more robust orientation test that's stable in a given triangle (to fix robustness issues) |
| 140162 | function orient(rx, ry, qx, qy, px, py) { |
| 140163 | const sign = orientIfSure(px, py, rx, ry, qx, qy) || orientIfSure(rx, ry, qx, qy, px, py) || orientIfSure(qx, qy, px, py, rx, ry); |
| 140164 | return sign < 0; |
| 140165 | } |
| 140166 | function inCircle(ax, ay, bx, by, cx, cy, px, py) { |
| 140167 | const dx = ax - px; |
| 140168 | const dy = ay - py; |