[][src]Function gmsh_sys::gmshModelOccImportShapesNativePointer

pub unsafe extern "C" fn gmshModelOccImportShapesNativePointer(
    shape: *const c_void,
    outDimTags: *mut *mut c_int,
    outDimTags_n: *mut usize,
    highestDimOnly: c_int,
    ierr: *mut c_int
)

Imports an OpenCASCADE shape by providing a pointer to a native OpenCASCADE TopoDS_Shape object (passed as a pointer to void). The imported entities are returned in outDimTags. If the optional argument highestDimOnly is set, only import the highest dimensional entities in shape. For C and C++ only. Warning: this function is unsafe, as providing an invalid pointer will lead to undefined behavior.