I am reading open foam data and for a specific type of cells for example QUAD, i store the point ids in an array. To get the point ids i use `vtkIdList *pointIds = currentCell->GetPointIds()`

.

My question here is, what does vtk say about the order of these returned points? How do i know if the points are in the order that they should be?

The points are returned in the order they were put. You can assume their ordering by looking at the normal orientation of your quads. Setting yourself in the plane spanned by the quad, if the normal points toward you, then the points are ordered counter-clockwise.

okay thank you