[][src]Function flann_sys::flann_add_points

pub unsafe extern "C" fn flann_add_points(
    index_ptr: flann_index_t,
    points: *mut f32,
    rows: c_int,
    columns: c_int,
    rebuild_threshold: f32
) -> c_int

Adds points to pre-built index.

Params: index_ptr = pointer to index, must already be built points = pointer to array of points rows = number of points to add columns = feature dimensionality rebuild_threshold = reallocs index when it grows by factor of rebuild_threshold. A smaller value results is more space efficient but less computationally efficient. Must be greater than 1.

Returns: 0 if success otherwise -1