[][src]Function rgmsh::interface::geo::add_point

pub unsafe extern "C" fn add_point(
    x: f64,
    y: f64,
    z: f64,
    meshSize: f64,
    tag: i32,
    ierr: *mut i32
) -> i32

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.)