diff python/tests/moving.txt @ 674:01b89182891a

corrected bug for intersection of lines (thanks to Paul for finding)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 26 May 2015 18:16:51 +0200
parents dc70d9e711f5
children fbe29be25501
line wrap: on
line diff
--- a/python/tests/moving.txt	Tue May 26 15:02:47 2015 +0200
+++ b/python/tests/moving.txt	Tue May 26 18:16:51 2015 +0200
@@ -66,6 +66,8 @@
 >>> segmentIntersection(Point(0,1), Point(0,3), Point(1,0), Point(3,1))
 >>> segmentIntersection(Point(0.,0.), Point(2.,2.), Point(0.,2.), Point(2.,0.))
 (1.000000,1.000000)
+>>> segmentIntersection(Point(0,0), Point(4,4), Point(0,4), Point(4,0))
+(2.000000,2.000000)
 >>> segmentIntersection(Point(0,1), Point(1,2), Point(2,0), Point(3,2))
 
 >>> left = Trajectory.fromPointList([(92.291666666666686, 102.99239033124439), (56.774193548387103, 69.688898836168306)])