Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] Insert existing triangulation into CGAL?


Chronological Thread 
  • From: Nico Schlömer <>
  • To:
  • Subject: [cgal-discuss] Insert existing triangulation into CGAL?
  • Date: Mon, 15 Aug 2016 13:11:24 +0000
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:2q1zIBBzJYiVa1g5EWSyUyQJP3N1i/DPJgcQr6AfoPdwSP79pMbcNUDSrc9gkEXOFd2CrakV0qyP7uu9BCRAuc/H6yFaNsQUFlcssoY/p0QYGsmLCEn2frbBThcRO4B8bmJj5GyxKkNPGczzNBX4q3y26iMOSF2kbVImbtr8FoOatcmrzef6o8SVOFQRwmPgKu4vZFXu9EOK55FQ2dMjYo8KiTLx6kNSfOpXwW46bXmypD3bovmKwZh47i5LsOgg/cMTGY/zfqA/UKAKRG9+azN9t4XXskzIQgKLo3cdSW4LiQFgAg7f7Ri8UI2inDH9s79b2SKdCvb9TbSqXDm4p/NtSRTvzjwMNzo+/WTakOR/iatapFSqoBkpkN2cW52cKPcrJvCVRtgdX2cUBss=

(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,
Nico


[1] https://stackoverflow.com/questions/38954435/manually-insert-mesh-into-cgal-with-points-and-cells



Archive powered by MHonArc 2.6.18.

Top of Page