Subject: CGAL users discussion list
List archive
- From: Pádraig Ó Conbhuí <>
- To:
- Subject: Re: [cgal-discuss] Extract Nodes and elements information in CGAL 3d mesh
- Date: Mon, 21 Dec 2015 13:54:26 +0000
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:3yYK5x1YlAW76Gh7smDT+DRfVm0co7zxezQtwd8ZsegfK/ad9pjvdHbS+e9qxAeQG96LtbQc06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2PbrnD61zMOABK3bVMzfbSrXNaKx+2MlMmMuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM85fxGdvOE7B102kvpT4r9Ze9T9Nsach69JYSve9OL8pSKRRSjUgKWE8osPx8gLSSBOGoXoaXGJRmRVBB03J7QrxQ4zq4Rf94+Fy0S3fMcztRq0vQhyj6b1qQVnmknQpLTk8pVlehtZ5ja0TG1qKoBp1w5NRKNWNM/F5eKndYNIySm9IX8IXXCtEVNDvJ7ATBvYMaL4L57L2oEED+EOz
Hi Konstantinos,
Have a look in some of the file writer headers (eg include/CGAL/IO/Complex_3_in_triangulation_3_to_vtk.h) to see a trick used to enumerate vertices using a map. You can use this to convert a CGAL representation into your own.
The important point to note is the Vertex_handle can be used as a key in a map.
Regards,
Paddy
On Tue, Dec 15, 2015 at 4:59 PM, kostadus <> wrote:
Hello CGAL team and CGAL users,
I am using CGAL to generate 3D meshes which I process and visualize
currently with 3rd party libraries. Is it possible to store the nodes
positions and elements ids in my own c++ vectors implicitly in the code? In
other words are these data structures accesible out of the library
functionality? Currently I am parsing the generated .mesh files to extract
the information but it's not so convenient.
Thank you in advane.
Best regards,
Konstantinos Mountris.
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Extract-Nodes-and-elements-information-in-CGAL-3d-mesh-tp4661465.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] Extract Nodes and elements information in CGAL 3d mesh, kostadus, 12/15/2015
- Re: [cgal-discuss] Extract Nodes and elements information in CGAL 3d mesh, Pádraig Ó Conbhuí, 12/21/2015
- Re: [cgal-discuss] Extract Nodes and elements information in CGAL 3d mesh, kostadus, 12/21/2015
- Re: [cgal-discuss] Extract Nodes and elements information in CGAL 3d mesh, Pádraig Ó Conbhuí, 12/21/2015
Archive powered by MHonArc 2.6.18.