-
Haocheng LIU authored
VTK constructs VTK_LINE as two points. However, if reading file that defines it with only one point, it would define the line goes from (x,y,z) to (0,0,0) which would cause downstream problems(Ex. (0,0,0) would fall outside of the dataset bounds since it's not in the point dataset). So when calling vtkPolyData::BuildCell, if statements are added to warn the user that they are reading one-point lines. So does the triangle cases. triangle strips are left due to the complexity.
dda40e93