/// <summary> /// Get the maximum tag of entities of dimension `dim' in the built-in CAD /// representation. /// </summary> public static int GetMaxTag(int dim) { var index = Gmsh_Warp.GmshModelGeoGetMaxTag(dim, ref Gmsh._staticreff); Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle); return(index); }