Hello Ben,Perhaps we could have teh same function (overloaded) as DistanceSqBetweenePoints -:)Distance2 means distance squared - so by definition of the method you need
to pass the result through a sqrt() to get the distance.
But I think as Ben becomes a serious hacker, he would recognize that in an instant -:)
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@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@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@gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
-- K.R.Subramanian Phone: (704) 547-4872 Department of Computer Science FAX: (704) 547-3516 UNC Charlotte Email: krs@cs.uncc.edu 9201 Univ. City Blvd. WWW: http://www.cs.uncc.edu/~krs Charlotte, NC 28223-0001