Subject: CGAL users discussion list
List archive
[cgal-discuss] 2D Delaunay triangulation - controlling constrained edges refinement
Chronological Thread
- From: Renato Espírito Basso Poli <>
- To:
- Subject: [cgal-discuss] 2D Delaunay triangulation - controlling constrained edges refinement
- Date: Tue, 15 Oct 2019 20:01:50 -0300
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:K7NqXhzvRpHFeCrXCy+O+j09IxM/srCxBDY+r6Qd1OseIJqq85mqBkHD//Il1AaPAdyAra0YwLOK+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhGiTanY75/Ixq6oRjeu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhigaLT406G7YhMx+gqxYvRyvuQBwzpXRYI2JLvdzZL/Rcc8YSGdHQ81fVzZBAoS5b4YXE+QOI+BYoJPhp1sJtRSwChKsBPvxzT9Sh3/2wao63Pw8HA7cxwwgBNUOv2zOotXyMKcSUP2+wa7SzTXbaPNW3Tb95ZPVchA6ufGAR6l/cdDIxEQpCgjLjU2QpJT7Mz+J0ukBqWuW4up6We6xlmIrtxt9riWty8swjITCm5gbxUre9SpjxYY4Pd24R1B/Yd6jCJZQsjuVN4pyQs87W2Fotjs2xqQIuZKmfiUG1I4rxxHYa/yAfIiI5gzsWPyNLjd/gXJpYLO/hxCs/ki80uDwSNW43VJQoidGktTArG4B2wHP5sSdV/dw/Fut1S6K1w/J6+FEJU40lbDcK54k2rMwjIITsUPHHi/3g0j2kbSWdl0+9uez8eTreq/mqYOEN49olgH+NbwjldCwAesiNggCRnWU+eWn1LL/4E35W65Kg+YtkqjZtZDaPd4UqrS4Aw9TyIYj6gywAy2o0NQCzjE7KwdOdxuDyoToIFrTO+vQDPGlgl3qni046erBO+jbD5PEMn/0vaz5+Kx890lr4gMo1tdo35VQC/lVOur0Xk7ZqcfASBUjZV/ni937Aclwg9tNEVmEBbWUZfuL7Q24o9k3KuzJX7c7/S7nIqh3+uX2y3UjywdELPuZmKAPYXX9JcxIZkCQYH7imNAEQTUXpRJ4Rva40QTfAw4WXG67WucH3h9+CI+iCt2dFIWkgbjExCniW5MPOTgABVeLHnPlMY6DXqVUZQ==
Hi all,
I need to refine some constrained edges in a 2D CDT.
Delaunay_mesher_no_edge_refinement_2.h works fine when I don't want any constrained edge to refine and Delaunay_mesher_2.h works fine when I let them all refine.
My problem now is to add a condition for that to happen (some edges I allow refinement, while other ones I do not).
I tried reimplementing method "test_point_conflict_from_superior_impl" in "Refine_edges_with_clusters.h".
I added the following control lines:
190 if ( ! _mesh_selection.is_external_boundary( lmp1, lmp2 ) )
191 return status = CONFLICT_AND_ELEMENT_SHOULD_BE_DROPPED;
191 return status = CONFLICT_AND_ELEMENT_SHOULD_BE_DROPPED;
However, the algorithm still splits one or two constrained edges where this condition is satisfied (fig attached).
In the attached figure, red and green edges are free to refine, while the rest of the domain boundary must remain untouched (nodes highlighted in red are being erroneously generated).
I tried to make some tweaks in "Delaunay_mesher_2.h" with little success.
I also tried specializing "Refine_edges.h" following "Do_not_refine_edges.h".
No success so far.
Do you have any suggestion?
Thanks,
Renato
Attachment:
test-mesh.png
Description: PNG image
- [cgal-discuss] 2D Delaunay triangulation - controlling constrained edges refinement, Renato Espírito Basso Poli, 10/16/2019
Archive powered by MHonArc 2.6.18.