Skip to main content

locate

Function locate 

Source
pub fn locate<G: Geometry + ?Sized>(g: &G, p: Point) -> Location
Expand description

Location of p relative to g.

Exact for coordinates within ±MAX_COORD; for out-of-range input the result is Location::Outside (see in_range).