[−][src]Function gmsh_sys::gmshModelOccAddTorus
pub unsafe extern "C" fn gmshModelOccAddTorus(
x: f64,
y: f64,
z: f64,
r1: f64,
r2: f64,
tag: c_int,
angle: f64,
ierr: *mut c_int
) -> c_int
Add a torus, defined by its center (x
, y
, z
) and its 2 radii r
and
r2
. If tag
is positive, set the tag explicitly; otherwise a new tag is
selected automatically. The optional argument angle
defines the angular
opening (from 0 to 2*Pi). Return the tag of the wedge.