Forked from
VTK / VTK
2614 commits behind the upstream repository.
David Gobbi
authored
CallSetNumberOfPoints() at beginning rather than only allocating. This ensures that there is no point access beyond the MaxId of the point data array. The points array is shrunk to the final size after execution is complete.