Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Accessing subdomains from a multi-volume mesh generated from Mesh_complex_3_in_triangulation_3
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Accessing subdomains from a multi-volume mesh generated from Mesh_complex_3_in_triangulation_3
- Date: Wed, 26 Aug 2020 07:33:27 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:mkU/XBNnsbxa4z2gKC0l6mtUPXoX/o7sNwtQ0KIMzox0K/z6psbcNUDSrc9gkEXOFd2Cra4d1ayP6fmrCDxIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLJ/IA+roQnPq8Uajo9vJ6UswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKMSMy/mPKhcxqlK9VvQyvpxJ/zYDXbo+aOvVxcaHBct0VXmdBQsRcWjZdDo+gYYYCDewMNvtYoYnnoFsOqAOzCQexCuzx0TBHnGT23bE70+s/FwHNwQouH9UUsHTVq9X1KLoZXeS0wqbWyjXDau1Z2Svn6InIch4uu+2DXa53ccrLyUgjEg3JhUiXpIz+OzOV0f4Ns2mc7+p8T+6vjmonphp+ojiq3Mgsi43JipgJxVDD8CV02YA4LsC3R0Bne9CrCodQtz2EOItsRMMvW31ltSgnxrAbpJO2fzQHxZs7yxPDdfGKcYyF7w/tWeuMPTt1h3xodrK9ihuy7ESt1PHwW8q63VpUsCZIkt3Bu3IL2hfO5MaHTf598V2g2TaJzw3c9u5ELlowlabBLJ4h2LEwmoIVsUvZBSD5g0H2g7GMeko4/eio7uLqaajlqJ+EL4J4lB3yP6A0lsG8Aek0KBUCU3aY9Oim27Du8lX1TKtQgfEqj6XUtY7VKdgBqaO8HQNZzpsv5hOxAji8ztgUgXwKIVBKdRKJkoTkPk3BLf72APihhlmhnjlryOrbMbDkAZjAKmbMnbH8drhn8UFc0hA8zdVH6pJUFL4BJPXzV1f0tNPCDx85NxW4wujiCNlgz48eV22CD6CDPKPdtl+I4e0vI+2Sa4MPpDn9LP0l6+bvjX8/h1AdYbGk0YULZH28BPhrIEWUbWDxjtsfEmoGpAUzQePyhF2HSzFTZnKyX6wm5jE8DYKrFZzDRoSqgLyb3Se7GYFWanpDClCICnroeICEVO0NaCKWOMNujjsEVb25R487yR6urBP6y6ZgLufM5iIYuojs1Nxs6+LOlBEy7iB7D9mG02GWVGx0hWMJRzou3K9lu0B9y1GD0bJ5g/NCD9BT6elJAU8GMsvXwOV+TtzzQQncZcyhSVC8Q9zgDytiYMg2xopEWEt3Es6+jx3Flw6tGb4Si/TLK5Ez96/AxWnfLs1hzGzXleNp20IiRdFOMnHgg6pX+A3aBoqPmEKcwfX5PZ8A1TLAoT/QhVGFu1tVBVYpDPf1GEsHb06TluzXo0PPS7j0VOYiOwpFjNGHc+5ENoGvglJBS/Puft/ZZjDpwjviNVOz3rqJKbHSVSAFxiyEURoLlgkS+TCNMg1sXn7w8VKbNyRnEBfUW22p9OB/rH2hSUptllOFakRg0/y+/RtH3PE=
As documented here:
https://doc.cgal.org/latest/Mesh_3/classCGAL_1_1Labeled__mesh__domain__3.html
Subdomain_index is an int in this case.
So if you know which int you used in your labeled image, then simply do
two calls to output_boundary_to_off with those two values.
Best regards,
Sebastien.
On 8/25/20 7:57 PM, Sapphri ( via cgal-discuss Mailing List) wrote:
Hi,
I have created a tetrahedral mesh from a labeled image, which has two
different labels (see image below).
I wish to export the surface of each separate mesh to a file. I understand
that c3t3 has /output_boundary_to_off/, but I am having trouble
understanding how to use the /subdomain / parameter to accomplish this.
<http://cgal-discuss.949826.n4.nabble.com/file/t376242/example_mesh.png>
If there's any specific documentation for this, please let me know.
Thank you!
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Accessing subdomains from a multi-volume mesh generated from Mesh_complex_3_in_triangulation_3, Sapphri, 08/25/2020
- Re: [cgal-discuss] Accessing subdomains from a multi-volume mesh generated from Mesh_complex_3_in_triangulation_3, Sebastien Loriot (GeometryFactory), 08/26/2020
Archive powered by MHonArc 2.6.19+.