[−][src]Function gmsh_sys::gmshModelOccAddCylinder
pub unsafe extern "C" fn gmshModelOccAddCylinder(
x: f64,
y: f64,
z: f64,
dx: f64,
dy: f64,
dz: f64,
r: f64,
tag: c_int,
angle: f64,
ierr: *mut c_int
) -> c_int
Add a cylinder, defined by the center (x, y, z) of its first circular
face, the 3 components (dx, dy, dz) of the vector defining its axis
and its radius r. The optional angle argument defines the angular
opening (from 0 to 2*Pi). If tag is positive, set the tag explicitly;
otherwise a new tag is selected automatically. Return the tag of the
cylinder.