Function gmshModelGeoAddPoint

Source
pub unsafe extern "C" fn gmshModelGeoAddPoint(
    x: f64,
    y: f64,
    z: f64,
    meshSize: f64,
    tag: c_int,
    ierr: *mut c_int,
) -> c_int
Expand description

Add a geometrical point in the built-in CAD representation, at coordinates (x, y, z). If meshSize is > 0, add a meshing constraint at that point. If tag is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the point. (Note that the point will be added in the current model only after synchronize is called. This behavior holds for all the entities added in the geo module.)