<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 2 September 2013 02:50, Josè Luis Mietta <span dir="ltr"><<a href="mailto:joseluismietta@yahoo.com.ar" target="_blank">joseluismietta@yahoo.com.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'times new roman','new york',times,serif">
<span>I wanna see if two line segments are connected by a path formed by line segments intersected.</span></div><div></div><div></div></blockquote></div><br>You could build a network where each segment is a node and an intersection is a link. Then, you could use NetworkX connected_components to get groups of segments together.</div>
</div>