(p1, p2)
| 2083 | |
| 2084 | // check if two points are equal |
| 2085 | function equals(p1, p2) { |
| 2086 | return p1.x === p2.x && p1.y === p2.y; |
| 2087 | } |
| 2088 | |
| 2089 | // check if two segments intersect |
| 2090 | function intersects(p1, q1, p2, q2) { |
no outgoing calls
no test coverage detected