vtkm::filter::CleanGrid RemoveDegenerateCells option not working properly
We found out that running CleanGrid
with MergePoints
and RemoveDegenerateCells
set to true (tolerance = 1.0e-7) can produce degenerate triangles.
I'm attaching two files with a dataset (obtained from the Slice
filter using the implicit function of a plane) before and after the cleaning operation, in the second one you'll notice that there is a triangle with indices { 161, 162, 161 }, which is not supposed to be there if RemoveDegenerateCells
did its job.