Module lineline
[hide private]
[frames] | no frames]

Module lineline

source code

Functions [hide private]
 
lineline(A, B, C, D)
Line-line intersection algorithm, returns point of intersection or None
source code
 
linelinedemo()
Graphical demo showing the line line intersection algorithm.
source code
Variables [hide private]
  __package__ = None
Function Details [hide private]

linelinedemo()

source code 

Graphical demo showing the line line intersection algorithm. Click and hold left mouse button to place first line, right mouse button places second line. A white circle will be draw at the point of intersection.