Cannot slice/contour a data set containg Polyhedron cells where the node values are < 1e-6
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Slicing or contouring a data set containing polyhedron cells where all the nodal vertex locations are less than 1e-6 produces no sliced or contoured results.
I expect there is a problem with contouring or clipping in polyhedron cells. I found a potential problem in VTK source for ver5.10 src/VTK/Filtering/vtkPolyhedron.cxx in the internal section there is a method called RemoveDuplicatedPointsFromFaceArrayAndEdgeTable and within the method a constant value "const double eps = 0.000001;" is used to merge node locations. I suspect that if all locations are < than this constant all nodes are merged.
I also notices this constant is repeated in several sections through out the vtkPolyhedron.cxx source.
In the uploaded file a single cell polyhedron is given with 6 faces and 4 nodes per face with node values < 1e-6 , when read by Paraview 3.14.1 and sliced, produced no results. If the file is modified where connectivity remains the same but the nodes are changed to 1e-5, then paraview will correctly slice the modifed data set.