I am trying to compare the points of a face with other points I have sorted in an array, to check if the sorted points actually is the face I am looking for.
What I have tried to do is:
face_points = face.mesh.points
which as far as I can tell returns an array of point 3D objects.
The array of points I want to check is edge.start.position
points = 
which also should return an array of point 3D objects, right?
However, what I thought should be a simple thing, does not seem to work as intended.
For the record, the points array does contain some duplicates, so I tried to use uniq! to filter these out, but this didn’t work either.
So my question is, do you know how I should go about to check weather the uniq values of the points array are qual to the values of the face_points array? I am guessing maybe I am trying to compare apples and oranges or something and maybe I have to convert the arrays?
Would be highly appreciated if anyone knows the answer to this question, which I though should be more or less straight forward!