Hello forum
Let suppose one wants tò set a triangle {V1, V2,V3} as “required”, for example using the API function.
Does the order of vertices count? If {V1,V2,V3} works, does {V1,V3,V2} work?
Than you
Giovanni
Dear Giovanni,
Using the API function MMG3D_Set_triangle(mesh, v0, v1, v2, ref, pos)
, you can set the triangle as you wish. It is not important to respect the orientation of the triangle at this point since MMG will take care of the consistency during mesh analysis. Then, you can call MMG3D_Set_requiredTriangles(mesh, pos)
to label triangle number pos
as required.
Corentin