## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ intersection Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
kent
Posts: 45
Joined: Thu Oct 20, 2016 3:41 pm

### intersection

I fixed the problem with the use of the following construct

\csname pgfutil@ifundefined\endcsname{pgf@sh@ns@intersection-1}{no marking necessary since there is no intersection points}{do the marking of the intersection points}

thanks for a posting on https://tex.stackexchange.com .

Kent

Stefan Kottwitz
Posts: 8735
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Hi Kent,

thank you for the information! I tested with the standard LaTeX \@ifundefined but did not finish.

Stefan

kent
Posts: 45
Joined: Thu Oct 20, 2016 3:41 pm
A final comment from my side:
A more straightforward way of doing this may be just to
put \def\t{0} before PGF determines the intersections between the paths (if any).
Then \ifthenelse{\t=0}{}{mark the \t intersection points} will do the trick.

Kent

kent
Posts: 45
Joined: Thu Oct 20, 2016 3:41 pm
Another related issue, see the example 96.5.4, page 981 in the PGF 3.0 manual illustrating the use of \pgfpointintersectionoflines.

How can I use this to get access the actual intersection point?
\coordinate (X) at (\pgfpointintersectionoflines); does not work.

Kent