[vtk-developers] vtkLine::GetNumberOfEdges

David Doria daviddoria at gmail.com
Sun Oct 3 15:24:05 EDT 2010


The function vtkLine::GetNumberOfEdges currently returns 0. Would it make
sense for it to return 1, because the cell is itself an edge? I am writing a
function which loops over all of the lines/edges in a cell, and I have to
treat the vtkLine cell as a special case, where it seems like it should just
be a degenerate case of a general vtkCell (with 1 edge).

Any comments?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20101003/2d36f961/attachment.htm>


More information about the vtk-developers mailing list