pub fn locate<G: Geometry + ?Sized>(g: &G, p: Point) -> Location
Location of p relative to g.
p
g
Exact for coordinates within ±MAX_COORD; for out-of-range input the result is Location::Outside (see in_range).
±
MAX_COORD
Location::Outside
in_range