Skip to main content

contains

Function contains 

Source
pub fn contains(paths: &[ClosedPath], at: Point) -> bool
Available on crate feature geometry only.
Expand description

Whether at is inside the paths by the even-odd rule: a ray from at crosses an odd number of segments.