Function ncollide2d::utils::point_in_poly2d[][src]

pub fn point_in_poly2d<N: Real>(pt: &Point2<N>, poly: &[Point2<N>]) -> bool

Tests if the given point is inside of a polygon with arbitrary orientation.