LaTeX forum ⇒ Graphics, Figures & Tablesintersection 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

Postby kent » Fri Jan 12, 2018 4:53 pm

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 8733
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Jan 12, 2018 5:11 pm

Hi Kent,

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

Stefan
Site admin

kent
Posts: 45
Joined: Thu Oct 20, 2016 3:41 pm

Postby kent » Mon Jan 15, 2018 10:23 am

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

Postby kent » Sun Jan 28, 2018 3:53 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


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 18 guests