[vtkusers] vtkCellLocator bug !! new year edition, seems that it is an old bug

sebastien MARAUX maraux at ondim.fr
Tue Jan 7 04:26:51 EST 2003


Thank you.

I also set a tolerance (tol) =0.0 , and it didn't
find a goodcell at each time.

I expected a precise result, as my surface was manifold,
but I saw that setting tol to 0.00001 did resolve
the issue too.

Thank you for your answer

Sebastien MARAUX

----- Original Message -----
From: "John Biddiscombe" <jbiddiscombe at skippingmouse.co.uk>
To: "sebastien MARAUX" <maraux at ondim.fr>; "vtkusers"
<vtkusers at public.kitware.com>
Sent: Monday, January 06, 2003 7:50 PM
Subject: Re: [vtkusers] vtkCellLocator bug !! new year edition, seems that
it is an old bug


> >from -FLT_MAX (in c++) to +FLT_MAX for (x,y)
>
> Don't do that. It's using all the precision of the float type and leaving
> you nothing spare to play with. Use a ray from Maxheight+10% to
> MinHeight-10% (max and min of your mesh) then you may not get spurious
> results.
>
> I haven't looked at your code, but try the above and see if it helps
>
> JB
>
>
>




More information about the vtkusers mailing list