Skip to Content.
Sympa Menu

cgal-discuss - Re: Re : [cgal-discuss] point inside surface / nearest cell

Subject: CGAL users discussion list

List archive

Re: Re : [cgal-discuss] point inside surface / nearest cell


Chronological Thread 
  • From: razafindrazaka faniry harijaona <>
  • To:
  • Subject: Re: Re : [cgal-discuss] point inside surface / nearest cell
  • Date: Sat, 13 Jun 2009 12:41:45 +0000 (GMT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=rJBB+8oTklIAv3WnwxXQw+I8UlQa5IFVybXA8NxMewMDtS30Fmmft7Cw9vUAmVdIPc/0IJIJ24vdgQYdfB0F0oBjq54aj0t2teAaf6j8rb0cB1cfaG84LSKIMjIpLdm1dzKuA5KYH51dBhO1+u4Jx7nHo+eWIMKLxmsRq5M2r7w=;

You are right in the case where the nearest neighbor is not contained in any face. I think that this is not implemented but a naive way is to loop through all faces.

Sorry!!

--- En date de : Sam 13.6.09, Dominik Szczerba <> a écrit :

De: Dominik Szczerba <>
Objet: Re: Re : [cgal-discuss] point inside surface / nearest cell
À:
Date: Samedi 13 Juin 2009, 13h04

Is the closest face guaranteed to contain the closest point? I think generally not...
-- Dominik

razafindrazaka faniry harijaona wrote:
>   May be it's not optimal but you can look for the nearest point and loop through the faces adjacent to this point and test which is the closest.
>
> Regards
>
> --- En date de : *Sam 13.6.09, Dominik Szczerba /<>/* a écrit :
>
>
>     De: Dominik Szczerba <>
>     Objet: [cgal-discuss] point inside surface / nearest cell
>     À:
>     Date: Samedi 13 Juin 2009, 9h49
>
>     Does CGAL provide the following functionality:
>
>     - robust point inside surface test (or at least fast (bbtree based
>     or something) robust intersection tests with triangles)
>
>     - I see a nearest point is available: is there a nearest face search
>     available as well?
>
>     with regards,
>     Dominik
>     -- You are currently subscribed to cgal-discuss.
>     To unsubscribe or access the archives, go to
>     https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>

-- You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




Archive powered by MHonArc 2.6.16.

Top of Page