Ask Your Question

Revision history [back]

Detect crossing lines at a single point

I am currently stuck trying to detect where lines intersect on a grid containing non-straight lines.

My goal is to determine a single point or pixel at the intersection of two lines, for all lines on the "grid", which could then be related to a distance. An example of a grid:

image description

I work in Python... Any help or ideas in the right direction would be greatly appreciated.