Inconsistency in face orders of vtkWedge and vtkQuadraticWedge
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Hello,
I've found that the face order of a quadratic wedge is different from that of a wedge.
in vtkWedge.cxx, we see,
static int faces[5][4] = { {0,1,2,-1}, {3,5,4,-1}, // <-- Triangles are first {0,3,4,1}, {1,4,5,2}, {2,5,3,0} };
and in vtkQuadraticWedge.cxx, we see,
static int WedgeFaces[5][8] = { {0,3,4,1,12,9,13,6}, // <-- Quads are first {1,4,5,2,13,10,14,7}, {2,5,3,0,14,11,12,8}, {0,1,2,6,7,8,0,0}, {3,5,4,11,10,9,0,0}};
I think that this should be modified for them to have consistency.