Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Triangulate without hanging nodes on boundary

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Triangulate without hanging nodes on boundary


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Triangulate without hanging nodes on boundary
  • Date: Wed, 11 Sep 2019 08:34:58 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:fJkoUBd/fOvYtFuMKH1gnfp8lGMj4u6mDksu8pMizoh2WeGdxcW+bR7h7PlgxGXEQZ/co6odzbaP6Oa4ACdZucbJ8ChbNsAVDVld0YRetjdjKfbNMVf8Iv/uYn5yN+V5f3ghwUuGN1NIEt31fVzYry76xzcTHhLiKVg9fbytScbdgMutyu+95YDYbRlWizqhe7NyKwi9oRnMusUMjoZuN6g8xgHVrndVdOha2H9kKFGOlBr4+su84YRv/itNt/4/7cJMTbn2c6ElRrFEEToqNHw46tf2vhfZVwuP4XUcUmQSkhVWBgXO8Q/3UJTsvCbkr+RxwCaVM9H4QrAyQjSi8rxkSAT0hycdNj4263/Yh8pth69Guh2hphh/w4nJYIGJMfd1Y63Qcc8GSWdHQ81cUTFKDIGhYIsVF+cPPfhWoZTzqVUNqhuxBwesC+zgxDBUnXL2wbA03v49HQ3awAAsAdQDu2nUotXvM6cSVPi4wKfOwzrZcvNWwyny6I7Uchs8vf+MXLRwftTLxkkyCgjJikudp435Mj2TzegDsnaU7+1lVe2xl24nsQFwrDi1ycgwlonJgZgVy1DB+Sl33Y04Itm4R1RmYd6+DpRQsT2aO5FsQsMjRWFnpjw1yqAdtJGncygF0pAnywTYa/ydfIiF+xTuX/ufLzd/gXJqYrO/hxCq/Eim0OLzTdK70FJUoSZfjtbMsXUN2wTP5ciIUPR9+l2t2TGV1wDc8u1ELl47la3eK5E/3r4wjJoSsUrZESDqhEX2i7WWd0U+9ue07OTnZ7PrrYKfOY9skgzyL7oil8ilDeglNgUDW3KX9OC92bH58kD1XK1GguMsnqXEsJ3WP9kXq6G7DgNPzIov9xKyAjG729oCh3YHNkhKeBefgojpJV7OJPf4AO+5g1uynjdn3e7JPrv6ApnXIHjDiq/tfbd760FC1Ao+1c1T64xQB70bPf7+Xkv8uMbcAxI4KQC5zPrrBM141owEWGKPBqGZMLnVsV+N/u8vJ/ODZJIPuDnjLfgl++TijWU4mV8bY6amx4YXZWukEfRpOUqZZWDggtAbEWcFpgY+VvDliEWeUT5PYHa/R74z5j4hB4KiFIvMW4GtgKed0yemBZ1WfXtLCkuMEHftb4WLQe0AaCOUIs97kzwLT6KtS4E71ULmiAivwLVuKq/Y+zYTqIn4/Nlz/eza0x8ophJuCMHImUWEUnt5mH9AfT4w0ali6QxW5X6nlod1hPlVCcZCyfpCTgAgJN+Wh7h+As3oVwTdOM2ITluvX/2tDjg1CNUrzIldMA5GB9y+g0WbjGKRCLgPmunTXcBmwufnx3H0Yv1F5TPezqB41wstTcJLc2q8ifwnrlmBN8vyi0yc0p2SW+EZ1S/J+n2EyDPW7kpXWQo2Vr/KDytGOxnm6O/h70aHdIeATLQqNgwYk5yEJ6UMZ9vyy1tcFq/u
  • Organization: GeometryFactory

On Tuesday, September 10, 2019 8:39:37 PM CEST Renato Poli wrote:
> Hi Sebastien,
>
> I worked the past days on simplifying my problem and trying to understand
> what is going on.
> I made a very raw code (below) as an example.
>
> Please find attached three pictures:
> (1) the mesh without refinement
> <http://cgal-discuss.949826.n4.nabble.com/file/t376144/cgal-mesh1.png>
>
> (2) the refined mesh after
> / typedef CGAL::Delaunay_mesh_size_criteria_2<CDT> Criteria;
> CGAL::refine_Delaunay_mesh_2(cdt,seeds.begin(), seeds.end(),
> Criteria(0, 100));/
> <http://cgal-discuss.949826.n4.nabble.com/file/t376144/cgal-mesh2.png>
>
> (3) the seed location (the extra point when compared to mesh1)
> <http://cgal-discuss.949826.n4.nabble.com/file/t376144/cgal-mesh3.png>
>
> I dont understand
> (i) why the refiner changes the mesh beyond the shape and size
> criteria? ; and

Hi Renato,

Even without any mesh criteria on faces, the algorithm starts by inserting
points on constrained edges to ensures that all sub-edges have the Gabriel
property (empty circumscribed circle).

> (ii) why the mesh refiner changes the area with a seed?
>
> Is there any way to avoid those points and get more 'control' on the
> meshing?

The seeds control insertion of points inside the regions, and not on the
border of it.

There is an undocumented header file in CGAL:

<CGAL/Delaunay_mesher_no_edge_refinement_2.h>

It has a function `refine_Delaunay_mesh_2_without_edge_refinement` that you
could use to mesh the region without touching at all at the constrained
edges.
That might suit your needs.


Best regards,

Laurent

--
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