pub fn get_closest_point_triangles<P>(
points: &[P],
triangles: &[TriangleDefinition],
triangle_indices: impl Iterator<Item = usize>,
point: Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>,
) -> Option<(usize, usize)>where
P: PositionProvider,Expand description
Returns a tuple of (point index; triangle index) closest to the given point.