Function gmshModelOccRevolve

Source
pub unsafe extern "C" fn gmshModelOccRevolve(
    dimTags: *mut c_int,
    dimTags_n: usize,
    x: f64,
    y: f64,
    z: 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,
)
Expand description

Extrude the model entities dimTags by rotation of angle radians around the axis of revolution defined by the point (x, y, z) and the direction (ax, ay, az). 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. When the mesh is extruded the angle should be strictly smaller than 2*Pi.