Other than creating a function that puts elements one by one, is there a method that converts Point2f[] to Point[] datatype?