/// <summary> /// Get the bounding box (`xmin', `ymin', `zmin'), (`xmax', `ymax', `zmax') of /// the model entity of dimension `dim' and tag `tag'. If `dim' and `tag' are /// negative, get the bounding box of the whole model. /// </summary> public static void GetBoundingBox(int dim, int tag, out double xmin, out double ymin, out double zmin, out double xmax, out double ymax, out double zmax) { xmin = 0; ymin = 0; zmin = 0; xmax = 0; ymax = 0; zmax = 0; Gmsh_Warp.GmshModelGetBoundingBox(dim, tag, ref xmin, ref ymin, ref zmin, ref xmax, ref ymax, ref zmax, ref Gmsh._staticreff); Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle); }