(a, b Point)
| 547 | } |
| 548 | |
| 549 | func (r Rect) ContainsLine(a, b Point) bool { |
| 550 | return r.ContainsPoint(a) && r.ContainsPoint(b) |
| 551 | } |
| 552 | |
| 553 | func (r Rect) OverlapsLine(a, b Point) bool { |
| 554 | _, _, overlaps, _ := cohenSutherlandLineClip(r, a, b, 0.0) |
nothing calls this directly
no test coverage detected