Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Mesh_3 -> Triangulation_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Mesh_3 -> Triangulation_3


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Mesh_3 -> Triangulation_3
  • Date: Fri, 11 Jan 2019 11:06:48 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:6Fa1UxHSeilGlwl0Ps5HTJ1GYnF86YWxBRYc798ds5kLTJ7zr82wAkXT6L1XgUPTWs2DsrQY07qQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KOT4n/m/KhMJ+j6VbrxCvpxNwzIDbfJqYNOZnfq7HYd8WWXZNU8RXWidcAo28dYwPD+8ZMOpWqYfyvUYOrQGgCgmqGOPk1yNGhn7w3aIkyeshDBzN0Ag+EtwPrHnaqs75OqYMXuCyyanH0ynDb+lW2Dn98ofHbgwhofaWXbNwdMbdx1QkGgTBjlqKtIzlJS2a1uIRs2SB9epgVOSvhHA9pAFsuTWg2sgshZPNho4PzVDE7yp5zZ8zKNalRkB7ZtukH4FRtyGcL4Z5XswiTHtsuCogzb0Go5G7cDAFyJs5wB7fbuKIc5SS4hPjWuaeOyt3hG5ieLKlhxe+61Svyur5VsSyzV1ErTJFn8HRunwT0xHf8NWLR/9580u73TuC1hrf5+5YLUwskafXN4Qtz70xm5YJrEjOGi/7lF/2gaKWcEgv5/Km5P79Yrr8o5+RL490hR/6MqQpgsG/B/o3MgYQU2SB5+u80qbj8Vf3QLVQlvE2k6/Zv47GJckDu6K1HQtY3pw+5xu7CzqqytAVkHgdIF9KZB6Ll43pNEvPIPD8A/e/mVOskDJzyvDCJLLhH4/NIWbFkLf9Z7p98U9cyAwtwt9F+pJZEa0OIP3pVU/1rtDYCQU5MwOsz+b9FNp9zp8eWX6IAqKBLKzSvkWH5uY2L+aRZY8VoyryK+U+5/71lnI5gl8cfayx3ZQNcny4H/JmI1+YYXX2mNsBH30K7UICS7nhh1SGFDJSfH2vRLkU5zchCYvgA52QaJqqhenL+C6mBJBQeih8C1aBGGqgN66rctNLRy+VJ8J9iC0qXLO9TJUwlFvm4Avz1qBqKPaS4CweuJv+/NN67umVkgs9o28nR/+B2n2AGjkn1lgDQCU7ifgm8B5Nj2yb2K09uMR2UNla5vdHSAA/bMaOxONzD5b1QA2TJY7VGmbjec2vBHQKdvx028UHOh4vENqrilbExSX4W+ZIxYzOP4Q99+fn51a0J8t5zC+dhq8sgQNgT81Uc2O81PZy
  • Organization: GeometryFactory

On Saturday, January 5, 2019 1:53:50 PM CET Marc Alexa wrote:
> Dear all,
>
> I am generating a tetrahedral mesh using the suite of algorithms in Mesh_3.
> I want to use the resulting mesh in my code, which is based on
> Triangulation_3. The vertex and cell base classes are incompatible. My
> preferred way for doing this would be writing the mesh to a file.
> Unfortunately, the formats of the stream operators are different. Is there
> an easy way to “reduce” what is being written by Mesh_3 to what is being
> expected by Triangulation_3?
>
> On a side note: I understand that if I am not using sliver exudation, the
> triangulation generated by Mesh_3 will be Delaunay. This means I could
> export the points only (and then reconstruct the tetrahedra). Then I only
> need information on which tetrahedra are in the interior of the meshed
> surface.

Hi Marc,

Note that the trianguation is not a Delaunay triangulation, but a *weighted*
Delaunay triangulation (call a regular triangulation). If your mesh domain
does not have 1D featured curves, then all the weights will be 0, and then
only the triangulation is equivalent to a Delaunay triangulation. (And as
soon
as you use the sliver exuder, then the non-zero weights reappear.)

> I tried to circumvent this by using a simple convex surface,
> namely a sphere. Yet even for the sphere some tetrahedra are excluded,
> despite clearly lying in the interior. I do understand that the excluded
> tetrahedra are slivers, but wouldn’t it make sense that a tetrahedral mesh
> with the boundary vertices on the sphere contained everything inside the
> sphere?

I agree that could be surprising, but that is not the definition of the
Delaunay triangulation restricted to the mesh domain.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/






Archive powered by MHonArc 2.6.18.

Top of Page