Misleading vtkUnstructuredGrid::GetCells documentation when using vtk python wrapping
The Documentation specifies that the vtkUnstructuredGrid::GetCells
returns the Connectivity
array, which is inexact since it returns a vtkCellArray
that contains the Connectivity
array and its Offset
array.
This is a problem when using the VTK python wrapping since in UnstructuredGrid
the function GetCells
returns a single array that blends both the Offset
& the Connectivity
, the documentation in this case can be interpreted as it returning the Connectivity
array without the Offsets
blended.
Edited by Loïc Gaillard