<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Herbert,<br>
    <br>
    the intersection routines of "pure" pst are certainly a powerful
    option, and I will consider this. My hope was a more generic and
    flexible approach to once define a set of (sometimes complicated,
    exported from CAD) reflector geometries which I coud expose to
    different sets of incident rays, varying e.g. spacing between
    reflectors, inclination angle, direction of incident rays, which is
    what brought me to pst-optexp.<br>
    <br>
    Thank you for the great example on using the intersection functions,
    this is a really comprehensive block of code that even a
    pst-beginner like me is able to grasp.<br>
    <br>
    Best regards,<br>
    Lars.<br>
    <blockquote type="cite">
      <blockquote>
        <pre wrap="">before I give up on this - is this case of ray-tracing in Tex/PS just
too much, or did I simply miss an important detail in my example? I am
ready to draw rays by hand, but feel sorry for having been close to such
a powerful tool...
</pre>
      </blockquote>
      <pre wrap="">If you need only one or two lines then use pst-eucl:


\documentclass{article}
\usepackage{pst-eucl}
\usepackage{auto-pst-pdf}

\begin{document}
        
\begin{pspicture}[showgrid=true](-4,-5)(4,0)
\psset{PointSymbol=none,PointName=none}
% Comment the above line to see all points
\pstGeonode(0,0){O}(0,-4){A1}(0,-5){A2}(-3,-1.5){B1}(-2.5,-3){B2}
\psarc(O){4}{225}{315}
\psarc(O){5}{225}{315}
\pstInterLC{B1}{B2}{O}{A1}{M1}{M2}
\psline[linecolor=red]{->}(B1)(M2)
\pstOrtSym{O}{M2}{M1}[M1']
\psline[linecolor=red]{->}(M2)(M1')
\pstOrtSym{O}{M1'}{M2}[M1'']
\pcline[linecolor=red,nodesepB=15mm]{->}(M1')(M1'')
\end{pspicture} 
        
\end{document}

Herbert
</pre>
    </blockquote>
    <br>
  </body>
</html>