[][src]Function gmsh_sys::gmshModelOccAddRectangle

pub unsafe extern "C" fn gmshModelOccAddRectangle(
    x: f64,
    y: f64,
    z: f64,
    dx: f64,
    dy: f64,
    tag: c_int,
    roundedRadius: f64,
    ierr: *mut c_int
) -> c_int

Add a rectangle with lower left corner at (x, y, z) and upper right corner at (x + dx, y + dy, z). If tag is positive, set the tag explicitly; otherwise a new tag is selected automatically. Round the corners if roundedRadius is nonzero. Return the tag of the rectangle.