/// <summary> /// Set a transfinite meshing constraint on the surface `tag'. `arrangement' /// describes the arrangement of the triangles when the surface is not /// flagged as recombined: currently supported values are "Left", "Right", /// "AlternateLeft" and "AlternateRight". `cornerTags' can be used to /// specify the (3 or 4) corners of the transfinite interpolation /// explicitly; specifying the corners explicitly is mandatory if the /// surface has more that 3 or 4 points on its boundary. /// </summary> public static void SetTransfiniteSurface(int tag, string arrangement = "Left", int[] cornerTags = default) { if (cornerTags == default) { cornerTags = new int[0]; } Gmsh_Warp.GmshModelGeoMeshSetTransfiniteSurface(tag, arrangement, cornerTags, cornerTags.LongLength, ref Gmsh._staticreff); Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle); }