[−][src]Function rgmsh::interface::occ::add_torus
pub unsafe extern "C" fn add_torus(
x: f64,
y: f64,
z: f64,
r1: f64,
r2: f64,
tag: i32,
angle: f64,
ierr: *mut i32
) -> i32
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.