Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Union of balls and self-intersecting mesh

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Union of balls and self-intersecting mesh


Chronological Thread 
  • From: Sebastien Loriot <>
  • To:
  • Subject: Re: [cgal-discuss] Union of balls and self-intersecting mesh
  • Date: Wed, 24 Nov 2021 09:26:21 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-data: A9a23:6EqABKJaU2UlAvy+FE+RvZQlxSXFcZb7ZxGrkP8bfHC/0Wwq3mYDyzYeDTyDbvaKZ2r8coskOoTi80hUucDWn6c2QQE+nZ1PZyIT+JCdXbx1DW+pYnjMdpWbJK5fAnR3huDodKjYdVeB4EfyWlTdhSMkj/jRH+CgULSs1h1ZHGeIdg9x0XqPpMZi2uaEsfDha++8kYuaT//3YDdJ6BYoWo4g0J9vnTs01BjEVJz0iXRlDRxDlAe2e3D4l/vzL4npR5fzatE88uJX24/+IL+FEmPxp3/BC/ugm7f/N0AGG/vcYFLIhX1RVKyvxBNFo0Te0I5hbKtaORoR0W3Z2Y0roDlOncTYpQMBJanLguUaT19dFwlxOKRH/PnMJn3XXcm7khCXKCq9mp2CC2lvZdFCkgptOklF+vUcbTwMdRuenPme26O+UuAqh8I5LcCtMpl3h53K5SWBWKxgHoSaFv2MvcsCiW923JEfROKFMpJfNC4wOT3eRzZKHnsXLLM3utuyokf+VikB8AfM/O5t9wA/1yR02bnpddfZI5mEGJ8TkUGfqWbLuW/+B3kn2BWk4WLt2hqRaiXnxEsXmb7+FYFUMtZviVyXg2EfUVgYCAH9rv6+hUqzHdlYLiT4PwJGQbcarCSWohvVBnVUY0JoejYTXtNRF6sx7wTlJm/8/VOCHmZdJtJeQIVOiSL1LADGEneGmtroAXpkt7j9pbe1nluLhWvaBBX55lPuqcPJocXpLjUjTEwOYsrzc+te
  • Ironport-hdrordr: A9a23:3nym2qPr4ZlE9cBcTtyjsMiBIKoaSvp037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5Mwizw+b9CdV90Z8eVXiKAq+dK67SvlqI6fguI+mIfoMapDH9K/096/70kXA5gUMdfbWu3ZYPdH+4Ee5pI0GAbXXxg9cBCnsFvhclTOzxk1CCSj5SZ3OqX60m/D07CYSmDZ3CRo+3mrCB0j27TdVrYHtbAAWMDWvwbNfDHOwdbTqbZM5niD0NE7a7DJQw0Amn8w78xb0gJeXd/mgUtInoycNutNDVjgw4yTFkE5Gdz32VVDMz2XgZQic/mqF5u010jFmZlrNphuRRUt1V6fQOWQgzMdvQzvdxFsvpCT7GK9yGQVLjTtS9CiwqVfowxcUPagBzAYaMlBfGihGnCbYOi72GAtQQ9bjd2GS5c915zGzH07Vnil0OTc5GNGngjal6oVuAT7XVmlmUwv75PZ8X2zTAoT/rJYumuUhZVEt9XfyAUy1FIETRqtv96wXJSLr8UdzP3SNOzMeDLu1Bbdi71D2uod/sPd3fZyS6nGLiXX61

Thanks I could reproduce the issue.
So it turns out that this function does not use the mesher but a dedicated code.

As it is based on the dual of the Delaunay triangulation and that your
points are on a grid, I suspect that the dedicated code does not handle
correctly degenerate cases. To check that, I added some noise to the
input points and that removed the self-intersecting faces (mostly because of degenerate faces).

I opened the following issue to track the patching:
https://github.com/CGAL/cgal/issues/6147

Best,

Sebastien.

On 11/23/21 8:55 PM, Bruno Manganelli ( via cgal-discuss Mailing List) wrote:
Here is a somewhat minimal example.
Hope it's good enough!
Bruno


On Tue, Nov 23, 2021 at 5:55 PM Sebastien Loriot < <>> wrote:

It should not happen. IIRC, it is the output from the Surface_mesher
so it should be clean.
Would you have a minimal example showing the problem?

Best,

Sebastien.

On 11/23/21 6:44 PM, Bruno Manganelli (
<> via
cgal-discuss Mailing List) wrote:
> Hi,
>
> I am using the Union_of_balls_3 class and the mesh_union_of_balls_3
> function.
> However, in certain scenarios, the resulting mesh contains
> self-intersections (PMP::does_self_intersect(mesh) returns true).
> Is this expected?
> I can provide an example if required.
>
> Thanks!
> Bruno
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
<https://sympa.inria.fr/sympa/info/cgal-discuss>
>

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



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




Archive powered by MHonArc 2.6.19+.

Top of Page