Not passing array correctly to function

From your usage of Collection, it looks like you're really trying to just create a 1 dimensional array of 6 points

The data in the array is for 6 points, each comprising an ordered pair, x,y. My understanding of the struct Point is that each instance of Point comprises two values, double x and double y. So yes, the array was set up (incorrectly (I might say, stupidly)) to provide just 6 data points.

Now that the array is correctly sized I can pass just "Collection" as I had it originally.

Really I am very grateful. Well spotted! Truly, well spotted!

Thanks,
Ric