Function gmshModelOccAddDisk

Source
pub unsafe extern "C" fn gmshModelOccAddDisk(
    xc: f64,
    yc: f64,
    zc: f64,
    rx: f64,
    ry: f64,
    tag: c_int,
    ierr: *mut c_int,
) -> c_int
Expand description

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.