[vtkusers] Bug in vtkHexadron::Triangulate() ?
Julia Schnabel
julia.schnabel at kcl.ac.uk
Fri Jun 16 10:24:38 EDT 2000
Hi, I just noticed that there may be two small bugs in this method:
//...
if ( (index % 2) )
//...
p[0] = 1; p[1] = 4; p[2] = 7; p[3] = 5;
//should read:
p[0] = 1; p[1] = 4; p[2] = 7; p[3] = 6;
//...
}
else
{
//...
p[0] = 1; p[1] = 2; p[2] = 5; p[3] = 7;
//should read:
p[0] = 0; p[1] = 2; p[2] = 5; p[3] = 7;
//...
(but maybe I'm wrong?)
Regards,
Julia
--
Julia Schnabel
Computational Imaging Science Group
Division of Radiological Sciences Tel: +44 (0)20 7955 2721
5th Floor Thomas Guy House Fax: +44 (0)20 7955 4532
Guy's Hospital, King's College London mailto:julia.schnabel at kcl.ac.uk
London SE1 9RT, UK http://www-ipg.umds.ac.uk/j.schnabel/
More information about the vtkusers
mailing list