Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Insert existing triangulation into CGAL?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Insert existing triangulation into CGAL?


Chronological Thread 
  • From: Chris Marsh <>
  • To: <>
  • Subject: Re: [cgal-discuss] Insert existing triangulation into CGAL?
  • Date: Mon, 15 Aug 2016 10:23:45 -0600
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:wUteMRRzheMVNCsv7vkO7fcjzdpsv+yvbD5Q0YIujvd0So/mwa64YR2N2/xhgRfzUJnB7Loc0qyN4vmmADFLsM3J8ChbNscdD1ld0YRetjdjKfbNMVf8Iv/uYn5yN+V5f3ghwUuGN1NIEt31fVzYry76xzcTHhLiKVg9fbytScbshsi6n9q/54fUK10RwmHsOPUrcV7n9k2R7pBQ2to6bP5pi1PgmThhQ6xu32RmJFaezV7Xx/yb29pdyRlWoO8r7MVaUK/3LOwSRL1cCyk6YShuvJW4/UqLcQzasnATW2FTnhtTCBXe9zn7WI3wu230rLwu9jOdOJjdTao1QnyH5r1wSFe8gycdNiV/9WjNkcxYkblSuxHnrBUpkN2cW52cKPcrJvCVRtgdX2cUBss=

I replied to your SO post using a method I found to solve this. For my uses I have a fully triangulation w/ neighbours and faces that I need to load it. This is the method I use.
Caveat: I haven't used it with those algorithms.



On 15 August 2016 at 07:11, Nico Schlömer <> wrote:
(Copy from [1].)

Hi everyone,

I have a triangular mesh written down on a piece of paper with a bunch of nodes and their connectivity. I'd like to put in this mesh into CGAL, to, e.g., play around computing the Voronoi diagrams, Lloyd smoothing etc.

I'm looking at Mesh_2/mesh_optimization.cpp which apparently allows the inserting of points
```
CDT cdt;
Vertex_handle va = cdt.insert(Point(-2,0));
```
but not cells (triangles).

Any hint on where to start?

Cheers,




Archive powered by MHonArc 2.6.18.

Top of Page