[vtkusers] bug in vtkEdgeTable
Claudia Goenner
goenner at techinfo.rwth-aachen.de
Wed Jun 21 09:38:40 EDT 2000
Hi!
I am using vtk 3.1.2 and noticed a bug in vtkEdgeTable. If you use
vtkEdgeTable::IsEdge it causes a segmentation fault if your index, being
the smaller pt id of your edge, is bigger than the TableMaxId. This can
be corrected by adding the following lines to vtkEdgeTable:IsEdge
if ( this->TableMaxId < index ) { //new check
return -1;
} else {
if ( this->Table[index] == NULL ) //original code
...
}
Claudia
More information about the vtkusers
mailing list