Can you add to the official documentation 3.0.1a, the section 10.2.4 called Intersection Coordinate Systems P 87 of the manual 1.18 which works perfectly and which is very useful for teaching mathematics (planar geometry) in the sixth and fifth class in France (Junior High Scholl in the USA).
Thanks
Which is very practical because it allows to solve a system of 2 equations to 2 unknown and thus to find the intersection of 2 straight lines whose intersection is not visible.
This is not possible with the intersection library (section 13.3.2 of manual 3.0.1a).
For example, we can calculate the intersection of two lines that do not intersect on the figure, like this:
Output:
Last edit: AndréC 2018-05-02
For reference, the description is still found in the
.texfile of the manual, commented out with an additional comment saying it is deprecated:https://sourceforge.net/p/pgf/git/ci/master/tree/doc/generic/pgf/text-en/pgfmanual-en-tikz-coordinates.tex#l468
That change came way back in 2008, with this commit: https://sourceforge.net/p/pgf/git/ci/3dba4acd1ced8625a41ab4af1e59f56a36f0933c/
That said, it's perfectly possible to do this with
intersections, but I think the lines have to be extended manually with e.g. thecalclibrary. I cannot argue the fact that the old intersection coordinate system makes doing this a lot more convenient.The advantage of the old intersection calculation system is that the intersection point calculation is performed via the resolution of a system by LaTeX itself. Therefore, there is no need to calculate the coordinates of this point manually or to enlarge the paths as you just did.
As proof, I took your code by swapping
\pathand\draw.Last edit: AndréC 2018-05-06
You don't have to prove anything to me, and I'm not sure what you're trying to prove either. I was merely pointing out that it's possible to get the same result with the
intersectionslibrary, at the same time acknowledging that it's less convenient than the old intersection cs.For details see https://github.com/pgf-tikz/pgf/issues/632