[vtkusers] Bug in vtkTetra::Circumsphere

Will Schroeder will.schroeder at kitware.com
Wed Mar 19 06:14:28 EST 2003


The documentation is the problem; the method returns radius squared for 
performance reasons. I've fixed the documentation; same for 
vtkTriangle::Circumcircle.
Will

At 11:19 AM 3/19/2003 +0100, Drew McCormack wrote:
>I have found a bug in the vtkTetra::Circumsphere static method. In 
>calculating the radius of the sphere, at the end of the routine, it 
>performs a sum of squares, but the square root is never taken meaning that 
>the returned value is actually the square of the radius, not the radius itself.
>
>Can someone fix and commit this bug? I don't have CVS write access.
>
>Drew
>
>========================================
>  Dr. Drew McCormack (Kmr. R153)
>  Afd. Theoretische Chemie
>  Faculteit Exacte Wetenschappen
>  Vrije Universiteit Amsterdam
>  De Boelelaan 1083
>  1081 HV Amsterdam
>  The Netherlands
>
>  Email          cormack at chem.vu.nl
>  Telephone      +31 20 44 47623
>  Mobile         +31 6 483 21307
>  Fax            +31 20 44 47629
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic. 
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers






More information about the vtkusers mailing list