[vtkusers] tiny bug in cvs vtkHull.cxx
Hua Qian
hqian at irus.rri.on.ca
Tue Apr 3 15:59:21 EDT 2001
Hi,
I just did a "cvs update" for VTK and found that some new methods
were added in vtkHull. Those methods are exactly what I was looking
for. Actually, I was about to write my own extension to vtkHull to add
those methods.
When I went through the code, I found a tiny bug in methods
int vtkHull::AddPlane( float A, float B, float C, float D )
and
void vtkHull::SetPlane( int i, float A, float B, float C, float D )
Here is the "cvs diff" after I fixed the bug:
Index: vtkHull.cxx
===================================================================
RCS file: /vtk/cvsroot/vtk/graphics/vtkHull.cxx,v
retrieving revision 1.23
diff -r1.23 vtkHull.cxx
241a242
> i = -i-1;
257a259
> i = -i-1;
Regards,
Hua
--
* * ** *** ***** ******** ************* *********************
Hua Qian, Ph.D. Programmer-Analyst
Imaging Research Laboratories voice: (519) 663-5777x34066
The John P. Robarts Research Institute email: hqian at irus.rri.on.ca
More information about the vtkusers
mailing list