/// <summary> /// Add a surface filling the curve loops in `wireTags'. Currently only a /// single curve loop is supported; this curve loop should be composed by 3 or /// 4 curves only. If `tag' is positive, set the tag explicitly; otherwise a /// new tag is selected automatically. Return the tag of the surface. /// </summary> public static int AddSurfaceFilling(int[] wireTags, int tag = -1, int sphereCenterTag = -1) { var index = Gmsh_Warp.GmshModelGeoAddSurfaceFilling(wireTags, wireTags.LongLength, tag, sphereCenterTag, ref Gmsh._staticreff); Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle); return(index); }