Menu

#202 "Sort by" resulting in wrong order of intersections

v1.0 (example)
closed-invalid
nobody
None
5
2018-05-17
2018-05-02
Icyd
No

Using the following MWE, the direction of the blue arrow is opposite to the black one:

\documentclass{standalone}    
\usepackage{tikz}  
\usetikzlibrary{intersections}
\begin{document}  
\begin{tikzpicture}
    \draw [name path=base] (-1,-1) rectangle (1,1);
    \draw [->, name path=line] (0.5,-2) -- (1.8,2);
    \draw [color=blue, thick, ->, name intersections={of=line and base, sort by=line}] (intersection-1) -- (intersection-2);
\end{tikzpicture}  
\end{document}
1 Attachments

Discussion

  • Icyd

    Icyd - 2018-05-02

    I think this is the wrong project, so I have created a report at https://sourceforge.net/p/pgf/bugs/481/

     
  • Stefan Pinnow

    Stefan Pinnow - 2018-05-17
    • status: open --> closed-invalid
     
MongoDB Logo MongoDB