"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
>...
> You have probably noticed that I have only provided a 2D solution, with all the
> points within a XY-plane.
>
> Now, if you like a little extra challenge, you can rewrite the code so that it
> can provide a full 3D solution.
That is actually not a simple challenge: There are difficult decisions to
be made if 3 of the given points lies on a line.
A simpler challenge is to change the code so that your endpoints are joined
smoothly too.
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
|