Subject: CGAL users discussion list
List archive
- From: Gabriel Balaban <>
- To:
- Cc:
- Subject: Re: [cgal-discuss] Holes in mesh
- Date: Tue, 22 May 2018 19:05:25 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=Pass
- Ironport-phdr: 9a23:SyvQSBYq8fcEUyUFKL3BYCT/LSx+4OfEezUN459isYplN5qZr8S5bnLW6fgltlLVR4KTs6sC17KN9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCazbL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjE7/mHZisJ+gqFGrhy/uxN/wpXZYISJOPdkZK7RYc8WSGhHU81MVyJBGIS8b44XAuQAJ+lXtJP9p1oQohu6GAKhGfngyjtSiXDtx6I61fkqHAbJ3AM6BN0OqnXUo8vxNKsISu+61q3Iwi/YYPxM3zfw84vIfQwlof2WR71/bdDdyVQsFw7ciFibtILrPzSQ1usXsmib6fJtWv6gi2E9rwF9uD+vxt0jioXRiYIa1FfE9SBnz4YpP925SEB7bsS4H5tMsCGaLYt3Ttk+TGFvvSY3zKANt52jfCUS1Zgr2xHSZ+aIfoWK+B7vSPydLSpmiH9rYL6zmQq+/Ey6xuD/VsS4ykhGojdGn9XWuX0Byhre4dWdRPRn5EeuwzOP2hjT6u5aJUA0krLWJZEvzbAsipYfrF3PEC35lknrlaOWcV4r9fay5+Tgf7XmuoSTN4hpigH4L6sigNS/Af4/MggSQWeU5fi81Lzk/U3/WrlKieA2krXdsJDdIsQbpbS1DBNS0oYm8xq/DjGm38oEnXQfMV5JZB2Kg5LmNlzMOvz0Ee2zj0mynDpl3/zGO6fuApTJLnjNirfherN95lZTyAUp1t9f/ZNUBa8FIP7pQUD+rtjYAQUiPAOuxebqE9Z92Z8aWW6VGKCWLLnesUKL5u43OemDeJcVuCrhK/gi//PhkXA5lkUZfaWwwJQXaWu4Eeh7I0WCenrhmcwBEGcPvgomVuPmklyCUThJZ3azRa0w/D87CJj1RbvEE4SknaaM2jv9BJxQa2lbIluDGHOucJ+LCNkWbyfHDcZriD0JUfCLQoso3xio/Fv1wrB9L+fQvCcRsZvp3d5d5ObX0xg5syF3WZfOm1qRRn15yztbDwQ927py9BQkmwWzlJNgivkdLuR9ovZAUwM0L5nZlrUoCNv2HAvKOMqKGg//HoeWRAopR9d0+OcgJl5nEoz73BPI22yjCPkIlO7TXcFmwufnx3H0Yv1F5TPG2a0m0wZ0b/Z1bTTjpoMmsg/ZCsjOjlmTkLuseeIExinR+WyfzG2I+kZFTAp3VqaDVncaNBLb
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Le Monday, May 21, 2018 6:33:00 PM CEST Gabriel Balaban a écrit :
> Dear CGAL people,
>
> I modified the demo mesh_polyhedral complex to make a mesh within a mesh,
> but I seem to be getting holes in the outside mesh for some reason. Could
> you please help me out?
>
> The file holes_in_mesh.png is a screenshot from paraview of the resulting
> mesh,
> and make_mesh.cpp is the c++ program that makes the mesh.
> The outer two files are the inner and outer mesh.
>
> I am aware that for cubes it would be easier to use geometric predicates,
> but I would like to extend the meshing to more complicated meshes so that
> is why my simple test case has surface meshes.
>
> Cheers,
> Gabriel
Your construction of the mesh domain is strange: `inner_off` is used twice, with different incidences. If you remove the first occurrence of it, the produced mesh is fine. I attached the modified version I had used.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
Kings College London
Attachment:
cube_with_elements.png
Description: PNG image
- [cgal-discuss] Holes in mesh, Gabriel Balaban, 05/21/2018
- Re: [cgal-discuss] Holes in mesh, Laurent Rineau (CGAL/GeometryFactory), 05/22/2018
- Re: [cgal-discuss] Holes in mesh, Gabriel Balaban, 05/22/2018
- Re: [cgal-discuss] Holes in mesh, Laurent Rineau (CGAL/GeometryFactory), 05/22/2018
Archive powered by MHonArc 2.6.18.