## Re[2]: [PyX-user] intersection position

 Re[2]: [PyX-user] intersection position From: Alan G Isaac - 2006-02-11 18:58:29 ```On Sat, 11 Feb 2006, Dani Marti apparently wrote:=20 > I know there exists the intersect method (thank you anyway=20 > Alan). The problem is I don't know how to use the=20 > 'parameter values' to obtain its precise position. =20 > To plot a filled circle centered at the intersection point=20 > I would do=20 > c.fill(path.circle(?,?,radius))=20 If I recall correctly, you use ix,iy from this: isectL1, isectL2 =3D L1.intersect(L2) ix,iy =3D L1.at(isectL1[0]) Cheers, Alan Isaac=20 ```

 [PyX-user] intersection position From: Dani Marti - 2006-02-11 16:29:34 ```Hi all, I have an trivial question: given two paths that intersect once, how would you draw, say, a (big) dot at the intersection point? From the documentation and the examples I know how to extract paths and areas, but I don't see how to acess the intersection point. Sorry for posting such a question, but I'm not familiar with the normpath thing. Besides, you guys can for sure enlighten me with a simple and elegant answer :) Best regards and thanks a lot in advance, dani ```
 Re: [PyX-user] intersection position From: Alan G Isaac - 2006-02-11 16:56:20 ```On Sat, 11 Feb 2006, Dani Marti apparently wrote:=20 > given two paths that intersect once, how would you draw,=20 > say, a (big) dot at the intersection point?=20 >>> help(pyx.path.line.intersect) Help on method intersect in module pyx.path: intersect(self, other) unbound pyx.path.line method intersect self with other path Returns a tuple of lists consisting of the parameter values of the intersection points of the corresponding normpath. hth, Alan Isaac ```
 Re: [PyX-user] intersection position From: Dani Marti - 2006-02-11 18:41:18 ```Hi Alan, > intersect(self, other) unbound pyx.path.line method > intersect self with other path > > Returns a tuple of lists consisting of the parameter values > of the intersection points of the corresponding normpath. mmm, I think I should have been more precise in my question. I know there exists the intersect method (thank you anyway Alan). The problem is I don't know how to use the 'parameter values' to obtain its precise position. To plot a filled circle centered at the intersection point I would do c.fill(path.circle(?,?,radius)) where the '?'s are related to the parameter values (I don't know how, this is my question). Just substituting the '?'s with the elements of the tuple returned by 'intersect' does not seem to work. thanks! dani ```
 Re[2]: [PyX-user] intersection position From: Alan G Isaac - 2006-02-11 18:58:29 ```On Sat, 11 Feb 2006, Dani Marti apparently wrote:=20 > I know there exists the intersect method (thank you anyway=20 > Alan). The problem is I don't know how to use the=20 > 'parameter values' to obtain its precise position. =20 > To plot a filled circle centered at the intersection point=20 > I would do=20 > c.fill(path.circle(?,?,radius))=20 If I recall correctly, you use ix,iy from this: isectL1, isectL2 =3D L1.intersect(L2) ix,iy =3D L1.at(isectL1[0]) Cheers, Alan Isaac=20 ```