(a, b Point)
| 551 | } |
| 552 | |
| 553 | func (r Rect) OverlapsLine(a, b Point) bool { |
| 554 | _, _, overlaps, _ := cohenSutherlandLineClip(r, a, b, 0.0) |
| 555 | return overlaps |
| 556 | } |
| 557 | |
| 558 | func (r Rect) TouchesLine(a, b Point) bool { |
| 559 | _, _, _, touches := cohenSutherlandLineClip(r, a, b, Epsilon) |