Skip to main content

pamoja_calibration_two_point

Function pamoja_calibration_two_point 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_calibration_two_point( raw_low: f32, value_low: f32, raw_high: f32, value_high: f32, ) -> *mut PamojaCalibration
Expand description

Creates a calibration fitted through two known reference points.

§Returns

A handle the caller must release with pamoja_calibration_free.

§Safety

The returned handle must be freed exactly once.