Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Slivers seem to fool the location algorithm in CGAL Delaunay_triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Slivers seem to fool the location algorithm in CGAL Delaunay_triangulation


Chronological Thread 
  • From: Ao mandeyi <>
  • To:
  • Subject: Re: [cgal-discuss] Slivers seem to fool the location algorithm in CGAL Delaunay_triangulation
  • Date: Wed, 18 Aug 2021 10:53:30 +0800
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-hdrordr: A9a23:gZGuxaNIAnU3oMBcTqajsMiBIKoaSvp037BN7SFMoH1uHPBw+Pre/8jzuSWE6gr5O0tOpTn/Asm9qBrnnPYfi7X5Vo3PYOCJggaVEL0=
  • Ironport-phdr: A9a23:Zj/Qxx9bON5I8v9uWWa7ngc9DxPPW53KNwIYoqAql6hJOvz6uci4ZAqOvL4w0xfgZsby07p8ke3YsqTtCyQrwK2qlzQ8SqFKTAIPks4MngYtU4avAEz/K+P2PWRhRJwRHFBq8GumPkdLBc3we0PdomGo7T4VBx7zKRd5Kv76F4LMk8i7zeS/94DcbwhIhje2fK9/IgixoQjNrMcdnJFsKrw2yhvHo3tIf/pZyGZ1Ll+NnBjy+9m98od7/ytfp/wu+chAUb7nf6sjVrxXEC4mM2Eu68L1sxTIUBaC6WEdUmUSlRpIHhTF4RTnVZr/rif2quxw0zScMMbrT747RC6i4r9kRx/miigJNzA3/mLKhMJukK1WuwihqwBlzoPOfI2ZKPhzc6XAdt0aX2pBWcNRWjRdD4O7coAPCvAOPeBFoIbjp1oOrAa1CA62C+Pozz9HnHn20rAk3OUhEAHLxwMgH9cUv3TVqNX5LrsdUeewzKTRyzjIcvxZ1yvn5ofSbhAhve+DXah2ccfJ10UiCgPLg1aMpIHrOz6Zy/gBvnab4udhV++hi2EqpQ91rzWt2MshiYjEi58Lx13H6yl3z5o4KN6lRENlfdOpDJ1dvDyUOYtxR8MtWWBouCAix70Hv567ZikKx449yx7RcfyKdZWD7BH7VOuJPzt0mHZodKi8ihuy60Ss1PDwW8qu3FtLridIlMTHuGoX2BzJ8MeHT+Nw/ke/1jaL0ADe8uRELlo1larfMpIu3LwwmocKvUTNHyL7mF/6jKCRdkUj9eio7/robq/6qZ+bMo94kgD+MqIwlcyjGek0LBQCUmyB9em/1LDv51P1TKhJg/Esk6TUsIjWJcEBqa64Bw9V3Jwj6xG6Dzq+ytsYmnwHI0hDeB2akYfoO1DOLev3Dfe6mVuskTNry+raMb3mB5XBNmLDn6v5fbZh905czxI+wsxQ551ODrENOe/8Wk7qtNPEEx85KBe0zv38CNR904MeQXiADrWYMKPUq1+I5/ggL/OCZI8P637ALeM47avukWMhgg1aOrK42IMeLnG+BPVvZUuDJmH9h88IVmYMsA15R+PjjBiOUCVYem2pDJ86/SwxKJ6jCdLDWpy1m+7GmzyqG4VfIGFAEFGFV3nyMJ6VXu8FLyOULMgmmTMNUf2tSpQqyAq15zL80KdtEufE5ngYqY77z4oyoPbCkAk7sz1yFcWUlW+XCHplm3sBAD4w0qc4qkN0zhKP0LNznudDRuBUsvhGWwN/OZ/HxPFhEPjzXBjAd5GHUgWIWNKjVBg2Btc4xdMDckc1T9ylixnF0ye7ApcakrWKANo/9aeKjCu5HNp013uTjPpptFIhWMYabQVOaYZw8gHSA8jClEDLzs5CkIwT2SfM8CGIym/c5CmwsSZ1WKTBGH0dPw7Y84m/6UTFQLujT78gN1kZofM=

Excuse me
Can you give me some advice for this problem?
Thank you very much
pictures.PNG

On Sun, Jul 18, 2021 at 3:57 PM Marc Glisse <> wrote:
On Sat, 17 Jul 2021, Renaud GILLON wrote:

> Using the CGAL d-dimensional Delaunay_triangulation class with the
> Epick kernel, I want to generate triangulations in order to perform
> barycentric interpolation of a multi-dimensional function sampled along
> with its derivatives at the location of the vertices of the triangulation.
>
> Because of the nature of the sampled function, the sampling grid is rather
> anisotropic (the spacing in one direction is 1.0E4 times larger than in the
> others) in some region. Despite this difficulty, the Delaynay mesh is nice
> (uniform volumes) on the inside. It just has slivers (quasi-zero volume
> cells) on the outside.
>
> Initially, I was hoping to push the slivers out by adding "padding" (dummy
> points) on the periphery where the slivers are occurring, so that test
> points would always reside in a well formed cell.
>
> However, I noticed that slivers seem to behave as "strange attractors" for
> the point location algorithm. A large number of test points located close
> to the boundary gets located in slivers, despite the fact that normally
> none of these points should fall in there. The number of points that the
> locate() method assigns to slivers is also totally out of proportion to the
> fraction of the outer shell occupied by the slivers.
>
> So the impression is that the slivers are somehow fooling the location
> algorithm. *Could it be that the "inside / outside" detection depends on
> the sign of some computed quantity (something related to a matrix
> determinant) and that in the case of slivers, the result should be "zero"
> but is not due to numerical errors and that the location algorithm then
> "concludes" that the point is inside the sliver -- which is not the case,
> just a results of bad conditionning ?*
>
> Is there a way to specify a threshold value for the quantity used to make
> the "inside / outside" test so that the problem related to slivers can be
> avoided ?

Hello,

the computations are performed exactly, as if in infinite precision, so
that's unlikely to be the problem. It is possible that there is a bug in
the logic of the walk that affects degenerate cases, but I don't have
enough information to say if that is the case, you could also be
misinterpreting the result. Do you think you could prepare a testcase that
demonstrates a point badly located? Please try to minimize it (low
dimension, few points, short code).

--
Marc Glisse

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




  • Re: [cgal-discuss] Slivers seem to fool the location algorithm in CGAL Delaunay_triangulation, Ao mandeyi, 08/18/2021

Archive powered by MHonArc 2.6.19+.

Top of Page