Skip to content

Add missing size hints and bug fix point arrays for non-linear cells

I've added size hints for concrete public methods GetParametricCoords(), GetEdgePoints() and GetFacePoints() in conjunction with a template design pattern; and added some missing size hints for GetEdgeArray() and GetFaceArray()

vtkCellWithEdges and vtkCellWithFaces are mixin classes which add point count methods across the vtkCell descendant classes.

All the point arrays for faces/edges on linear cells are terminated with -1, so I have made the point arrays for non-linear cells the same. I don't know if this will be problematic for downstream users.

Edited by Todd

Merge request reports