Adds a geometry module with a segment_intersection function
This commit is contained in:
parent
ca985518b0
commit
c7dd463eb5
5 changed files with 217 additions and 28 deletions
3
hull.py
3
hull.py
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
import operator
|
||||
from utils import x,y,euclidian_distance,LOG,LOGN
|
||||
from utils import LOG,LOGN
|
||||
from geometry import x,y,euclidian_distance
|
||||
|
||||
# Based on the excellent article by Tom Switzer <thomas.switzer@gmail.com>
|
||||
# http://tomswitzer.net/2010/12/2d-convex-hulls-chans-algorithm/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue