Fix docTests
This commit is contained in:
parent
d9ce420967
commit
54e307ea6c
@ -916,7 +916,7 @@ def lineLineIntersections(s1, e1, s2, e2):
|
|||||||
>>> intersection.pt
|
>>> intersection.pt
|
||||||
(374.44882952482897, 313.73458370177315)
|
(374.44882952482897, 313.73458370177315)
|
||||||
>>> (intersection.t1, intersection.t2)
|
>>> (intersection.t1, intersection.t2)
|
||||||
(0.45069111555824454, 0.5408153767394237)
|
(0.45069111555824465, 0.5408153767394238)
|
||||||
"""
|
"""
|
||||||
s1x, s1y = s1
|
s1x, s1y = s1
|
||||||
e1x, e1y = e1
|
e1x, e1y = e1
|
||||||
@ -1015,7 +1015,7 @@ def curveLineIntersections(curve, line):
|
|||||||
>>> len(intersections)
|
>>> len(intersections)
|
||||||
3
|
3
|
||||||
>>> intersections[0].pt
|
>>> intersections[0].pt
|
||||||
(84.90010344084885, 189.87304963022572)
|
(84.9000930760723, 189.87306176459828)
|
||||||
"""
|
"""
|
||||||
if len(curve) == 3:
|
if len(curve) == 3:
|
||||||
pointFinder = quadraticPointAtT
|
pointFinder = quadraticPointAtT
|
||||||
@ -1175,7 +1175,7 @@ def segmentSegmentIntersections(seg1, seg2):
|
|||||||
>>> len(intersections)
|
>>> len(intersections)
|
||||||
3
|
3
|
||||||
>>> intersections[0].pt
|
>>> intersections[0].pt
|
||||||
(84.90010344084885, 189.87304963022572)
|
(84.9000930760723, 189.87306176459828)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
# Arrange by degree
|
# Arrange by degree
|
||||||
|
Loading…
x
Reference in New Issue
Block a user