It was brought to our attention by @user27182 in https://gitlab.kitware.com/vtk/vtk/-/issues/19639 that the point ordering implied by the parametric coordinates of vtkWedge, and utilized by its shape functions for interpolation/derivation, did not match what the vtk-book was showing
Tetrahedralization of wedges was producing tets with negative volume
several readers/and sources in VTK were generating wedges with the point ordering
Additionally, even though the VTK-book was showing the correct point ordering for vtkQuadraticWedges, vtkBiQuadraticWedges and vtkQuadraticLinearWedges which was matching their parametric coordinates, again several things were wrong because they were assuming the point ordering of vtkWedge shown in the VTK-book instead of the actual one:
Face winding of quadratic wedges was inwards not outwards
Tetrahedralization of quadratic wedges was producing tets with negative volume
Contouring/Clipping was using linear wedges with negative volumes
several readers/and sources in VTK were generating quadratic wedges with the point ordering
If someone was passing wedges based on what the vtk book was saying, instead of what the parametric coordinates/shape functions say, they are gonna get the same interpolation because the shape functions did not change, but they would get with the old implementation positive volume, but now they will get negative volume because they use the wrong point ordering. Same goes for face winding and tetrahedralization.
Hopefully people were ignoring the vtkbook since all other places use the correct point ordering… but… people could be faithful to it. At least we were in several places.
But for this kind of change, it would be extremely useful if users could specifically reference the old VTK 9.6 docs, which should show the incorrect point ordering, and compare this to the new (unreleased) VTK 9.7 docs which shows the correct ordering. Which is to say that hopefully issue https://gitlab.kitware.com/vtk/vtk/-/issues/19953 can be resolved before the next release, and that separate docs for a VTK 9.6 release (maybe the 9.6.1 patch release?) can be published prior to the 9.7 release.
Not sure how changes to the book are tracked and published (maybe only the latest version is available?), but IMO if the VTK book docs are published with Sphinx, it might be helpful to add a .. versionchanged:: 9.7.0directive so that users are aware of this when referencing the book.
From my experience reviewing wedge-related issues such as https://gitlab.kitware.com/vtk/vtk/-/issues/19639, it seems the VTK book is often referenced as an authoritative source for the point order, and so knowing that the point order changed when referencing the book would help provide a lot of clarity. (e.g. I can image a situation where an old thread makes reference to the old version of the book, but when users click the same link today, it now shows the new version of the book with the new order, which may lead to confusion when trying to make sense of the old thread).