Find the intersection of two lines: Difference between revisions
Content deleted Content added
→{{header|Python}}: Added an approach to doing this without importing a custom library |
|||
Line 1,018:
lrPoint = intersection(ab)(pq)
print(
lrPoint['
)
Line 1,049:
[(abDX, pqDX), (abDY, pqDY)]
)
return Right(point()) if
'( Parallel lines - no intersection )'
)
|