Converts an array of points to an array of numbers
The array to convert
The given array as an array of numbers
Converts an array of points to an array of numbers