Graphics, Figures & Tables ⇒ intersection
intersection
\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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10328
- Joined: Mon Mar 10, 2008 9:44 pm
intersection
thank you for the information! I tested with the standard LaTeX \@ifundefined but did not finish.
Stefan
intersection
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
intersection
How can I use this to get access the actual intersection point?
\coordinate (X) at (\pgfpointintersectionoflines); does not work.
Kent