Adds a geometry module with a segment_intersection function

This commit is contained in:
Johann Dreo 2014-05-17 16:02:01 +02:00
commit c7dd463eb5
5 changed files with 217 additions and 28 deletions

View file

@ -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/