pentagon and hexagon wedges and vtkDataSetSurfaceFilter
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The big problem is with vtkGeometryFilter and vtkDataSetSurfaceFilter.
The solution I had proposed in vtkDataSetSurfaceFilter was really a quick fix, inserting the quads into the QuadHash table and later adding the 2 hexagons with the 2D cells. The problem is that the 2D cells are not checked for redundant insertion like InsertQuad does.
In our case, we want to remove all hexagons shared by two hexagonal prisms sharing 6 nodes. It seems like the cleanest solution is to add an InsertHexagonHash table similar to the other cases. Otherwise, we have lots of replicate of internal hexagons.