/// Returns `Some` with the touched triangle if the given `Point` is over the polygon described by
/// the given series of points.
///
/// This uses the `triangles` function internally.
Returns `Some` with the touched triangle if the given `Point` is over the polygon described by
the given series of points.

This uses the `triangles` function internally.
Returns ` Some ` with the touched triangle if the given ` Point ` is over the polygon described by the given series of points . This uses the ` triangles ` function internally .
pub fn contains<I>(points: I, point: &I::Item) -> Option<Tri<I::Item>>
where
    I: IntoIterator,
    I::Item: Vertex2d,
{
    triangles(points).and_then(|ts| tri::iter_contains(ts, &point))
}
pub fn contains < I > ( points : I , point : & I :: Item ) -> Option < Tri < I :: Item > > where I : IntoIterator , I :: Item : Vertex2d , { triangles ( points ) . and_then ( | ts | tri :: iter_contains ( ts , & point ) ) }
Returns `Some` with the touched triangle if the given `Point` is over the polygon described by
the given series of points.
Returns ` Some ` with the touched triangle if the given ` Point ` is over the polygon described by the given series of points .
points
I
point
&I::Item