Trait rin_graphics::InsidePolygon [−][src]
pub trait InsidePolygon<T: RealField> { fn inside_polygon(&self, polygon: &Polyline<T>, bound: bool) -> bool; }
Trait to check if a point is inside a polygon
Required methods
fn inside_polygon(&self, polygon: &Polyline<T>, bound: bool) -> bool
[src]
Implementations on Foreign Types
impl<T: RealField + NumCast> InsidePolygon<T> for Pnt2<T>
[src]
impl<T: RealField + NumCast> InsidePolygon<T> for Pnt2<T>
[src]