Can I get cell Ids by cell type and points


I have a dataset with 50050050 points and related point data. I have done some operation and extract a closed but irregular structure with points. However, I want to visualize the isosurface of the structure so I need the cells.

I know the cell type is HEXAHEDRON and currently our program just reads every points in the structure, get neighbor cells and related points. This would give us errors as well as repeated and unnecessary computation. Is there a way that I could get those information easier?