Line/Curve In Surface + Recombine Surface = seeding nodes that are not percisly on the Line
Hello,
I'm trying to use Line In Surface option when meshing my 2D domain. If command Recombine Surface is used, it turns out to be that created nodes are not on the Line precisely, but rather around the line.
Later I have to collect these nodes and I decided to do so by creating a line equation with 2 nodes that are initially used for creating the Line in the surface and then going through all the node coordinates - check if they fit to line equation. Now as they are not on the line there is usually some deviation, and it is hard to take it into the account in cases of refinement of the mesh as the deviation changes together with the mesh size.
I'm attaching the .geo file and a screenshot of the example. For testing if Recombine Surface(1); is commented - nodes will be on the line.
Is there a way to force a newly seeded node to go directly on the Line when Recombine Surface is used? Recombine Surface is used to avoid any triangular in the mesh.
Thanks in advance, Dom
Gmsh version 4.9.5 LineInSurface_issue.geo