Function nannou::prelude::geom::tri::iter_contains

source ·
pub fn iter_contains<I, V>(tris: I, v: &V) -> Option<<I as IntoIterator>::Item>
where I: IntoIterator, <I as IntoIterator>::Item: AsRef<Tri<V>>, V: Vertex2d,
Expand description

Returns the first Tri that contains the given vertex.

Returns None if no Tri’s contain the given vertex.