projekty
/
imago.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
better manual mode, grid-fitting preparation
[imago.git]
/
gridf.py
1
from manual import lines as g_grid, l2ad
2
from intrsc import intersections_from_angl_dist
3
4
def find(lines, size, l1, l2):
5
c = intersections_from_angl_dist(lines, size)
6
corners = [c[0][0], c[0][-1], c[-1][0], c[-1][-1]]
7
grid = g_grid(corners)
8
return grid