Check if line is roughly axis-parallel.
(p1, p2)
| 2345 | bboxes, paths = clean_graphics(npaths=paths) |
| 2346 | |
| 2347 | def is_parallel(p1, p2): |
| 2348 | """Check if line is roughly axis-parallel.""" |
| 2349 | if abs(p1.x - p2.x) <= snap_x or abs(p1.y - p2.y) <= snap_y: |
| 2350 | return True |
| 2351 | return False |
| 2352 | |
| 2353 | def make_line(p, p1, p2, clip): |
| 2354 | """Given 2 points, make a line dictionary for table detection.""" |
no outgoing calls
no test coverage detected
searching dependent graphs…