Skip to main content

EN_getnodevalue

Function EN_getnodevalue 

Source
pub unsafe extern "C" fn EN_getnodevalue(
    ph: EN_Project,
    index: c_int,
    property: c_int,
    out_value: *mut f64,
) -> c_int
Expand description

@brief Retrieves a property value for a node. @param ph an EPANET project handle. @param index a node’s index. @param property the property to retrieve (see @ref EN_NodeProperty). @param[out] out_value the current value of the property. @return an error code.

Values are returned in units that depend on the units used for flow rate (see @ref Units).