I want to use CGAL lib in C++ to mesh a polygonal domain as follows,
The red line segments should not be split but the black can be split.
What kind of function should I use ? Can you raise a C++ example?
There is a tradeoff. If the inside line segments are small enough, just add them as constraints without disallowing the splitting. Then, let the min element edge length larger than the length of small segments, before meshing. Generally, the small constraints will not be split.