VTK Polyhedron contour is incoherent with other cell type
Contouring a polyhedron on its edge has not the samebehavior as with other celltype.
- run ParaView
- Open polyhedral-sliceY0-holes-2.vtu
- Slice in Y == 0
- There are holes
- Tetrahedralize the dataset
- Slice in Y == 0
- No holes
Original issue, now fixed
Consider this dataset : poly.vtu, slicing it on the top or on the bottom is different with or without a tetrahedralize.
Step to reproduce (with ParaView) :
- Open ParaView
- Open poly.vtu, Apply
- Add a slice filter, Y axis, Y coord: 5, Apply
- No slice is produced
- Y coord: -5, Apply,
- Slice is produced
- Remove slice
- Add Tetrahedralize
- Add a slice filter, Y axis, Y coord: 5, Apply
- Slice is produced
- Y coord: -5, Apply,
- no slice is produced
So the results are inverted when using a polyhedron. This can case holes when slicing through datasets containings mixed cell types including polyhedrons, eg : threecells.vtu.
Slicing on Y==0 will produce an empty slice when it clearly should have at least produce half a slice.
Edited by Mathieu Westphal (Kitware)