get_closest_point

Function get_closest_point 

Source
pub fn get_closest_point<P>(
    points: &[P],
    point: Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>,
) -> Option<usize>
Expand description

Tries to find a point closest to given point.

ยงNotes

O(n) complexity.