Some clean in vtkCellTypeSource
The MR contains two commits that does not really fix anything, but clean vtkCellTypeSource
-
The goal of vtkCellTypeSource is to form a regular mesh with a given cell type. For the cell type tetra, a sublock of the mesh (a unit cube) can be created with a minimum of 6 tetra, but the current implementation was using 12 tetra. This is not a bug, but the simplest solution is proposed here.
-
The second commit is that InsertNextPoint was used instead of InsertUniquePoint leading to a mesh with some duplicated nodes. The generated mesh will be more clean if no duplicates are present, so InsertUniquePoint is preferred.
Edited by Florian Maurin