Major Bug in vtkMath::Distance2BetweenPoints

Lisa Sobierajski Avila lisa.avila at kitware.com
Wed Jul 28 10:40:36 EDT 1999


<x-flowed>Hello Ben,

Distance2 means distance squared - so by definition of the method you need 
to pass the result through a sqrt() to get the distance.

Lisa


At 08:58 AM 7/28/99 -0500, Ben Held wrote:
>Hello,
>
>I have discovered a major bug in vtkMath::Distance2BetweenPoints.  The
>return value needs to be passed through sqrt.
>Please make note of this so it can be fixed in 3.0.
>
>Ben
>
>John
>Ben L. Held
>Simulation Technology & Applied Research, Inc.
>11520 N. Port Washington Rd.
>Suite 101 B
>Mequon, WI  53092
>Phone: (414) 240-0293
>FAX: (414) 240-0294
>e-mail: ben.held at staarinc.com
>
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list.  Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>.  For help, send message body containing
>"info vtkusers" to the same address.     Live long and prosper.
>-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------


</x-flowed>



More information about the vtkusers mailing list