[−][src]Function gmsh_sys::gmshModelOccAddSphere
pub unsafe extern "C" fn gmshModelOccAddSphere(
xc: f64,
yc: f64,
zc: f64,
radius: f64,
tag: c_int,
angle1: f64,
angle2: f64,
angle3: f64,
ierr: *mut c_int
) -> c_int
Add a sphere of center (xc
, yc
, zc
) and radius r
. The optional
angle1
and angle2
arguments define the polar angle opening (from -Pi/2
to Pi/2). The optional angle3
argument defines the azimuthal 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 sphere.