/// <summary> /// Add a disk with center (`xc', `yc', `zc') and radius `rx' along the x-axis /// and `ry' along the y-axis. If `tag' is positive, set the tag explicitly; /// otherwise a new tag is selected automatically. Return the tag of the disk. /// </summary> public int AddDisk(double xc, double yc, double zc, double rx, double ry, int tag = -1) { var api = GMshNativeMethods.gmshModelOccAddDisk(xc, yc, zc, rx, ry, tag, ref ierr); if (ierr != 0) { throw new GMshException(ierr); } return(api); }