[−][src]Function gmsh_sys::gmshModelGeoTwist
pub unsafe extern "C" fn gmshModelGeoTwist(
dimTags: *mut c_int,
dimTags_n: usize,
x: f64,
y: f64,
z: f64,
dx: f64,
dy: f64,
dz: f64,
ax: f64,
ay: f64,
az: f64,
angle: f64,
outDimTags: *mut *mut c_int,
outDimTags_n: *mut usize,
numElements: *mut c_int,
numElements_n: usize,
heights: *mut f64,
heights_n: usize,
recombine: c_int,
ierr: *mut c_int
)
Extrude the model entities dimTags
by a combined translation and rotation
of angle
radians, along (dx
, dy
, dz
) and around the axis of
revolution defined by the point (x
, y
, z
) and the direction (ax
,
ay
, az
). The angle should be strictly smaller than Pi. Return extruded
entities in outDimTags
. If numElements
is not empty, also extrude the
mesh: the entries in numElements
give the number of elements in each
layer. If height
is not empty, it provides the (cumulative) height of the
different layers, normalized to 1.