[−][src]Function gmsh_sys::gmshModelOccAddBSpline
pub unsafe extern "C" fn gmshModelOccAddBSpline(
pointTags: *mut c_int,
pointTags_n: usize,
tag: c_int,
degree: c_int,
weights: *mut f64,
weights_n: usize,
knots: *mut f64,
knots_n: usize,
multiplicities: *mut c_int,
multiplicities_n: usize,
ierr: *mut c_int
) -> c_int
Add a b-spline curve of degree degree
with pointTags
control points. If
weights
, knots
or multiplicities
are not provided, default parameters
are computed automatically. If tag
is positive, set the tag explicitly;
otherwise a new tag is selected automatically. Create a periodic curve if
the first and last points are the same. Return the tag of the b-spline
curve.