Function gmshModelGeoAddLine

Source
pub unsafe extern "C" fn gmshModelGeoAddLine(
    startTag: c_int,
    endTag: c_int,
    tag: c_int,
    ierr: *mut c_int,
) -> c_int
Expand description

Add a straight line segment between the two points with tags startTag and endTag. If tag is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the line.