Skip to content

2D Delaunay triangulation - controlling constrained edges refinement #8339

Closed Answered by ning-drift
ning-drift asked this question in Q&A
Discussion options

You must be logged in to vote

Will. I find a solution for my question.
I implemented two template classes based on CGAL.
template <typename Tr, typename Crit, typename Is_locally_conform = Mesh_2::Is_locally_conforming_Gabriel<Tr>> class Delaunay_mesher_custom_conforming_2
and
template <typename Tr> struct Is_locally_conforming_Gabriel_exclude_constrained
more details please download this zip file(have two template classes and a simple example.)

More importent is: with Delaunay_mesher_custom_conforming_2 You must ensure that the length of the constraint edge is less than the edge length specified in the Criteria Otherwise mesher will assert to error, .This is because Is_locally_conforming_Gabriel_exclude_constrained …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ning-drift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant