I am not sure where I should add this since there are a number of threads.
Therefore I have added this to the end.
I have now implemented the general approach suggested by BrowserUK.
I have checked the result by
1. making sure that the rotated points do lie on the second plane
2. checking the distances between corresponding pairs of points on both planes.
Both checks work out fine.
So until I read the additional comments about this question I thought that the problme was solved! (I did appreciate that there is a failure condition for parallel planes but this special case is easy to deal with.)
My next task is to look at some of the situations mentioned and see what happens to my current solution.

In reply to Re^2: (OT) moving points from one plane to another by merrymonk
in thread (OT) moving points from one plane to another by merrymonk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.