[−][src]Function gmsh_sys::gmshModelGeoExtrude
pub unsafe extern "C" fn gmshModelGeoExtrude(
dimTags: *mut c_int,
dimTags_n: usize,
dx: f64,
dy: f64,
dz: 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 translation along (dx
, dy
,
dz
). 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. If dx
==
dy
== dz
== 0, the entities are extruded along their normal.