Major Bug in vtkMath::Distance2BetweenPoints

Yves Starreveld ystarrev at julian.uwo.ca
Wed Jul 28 10:59:58 EDT 1999


Ben,
The man page for that function states that it computes the 'distance
squared' between two points.
Just do the sqrt yourself if you need it.
Yves

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.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list