pub fn covered_by<P, G>(p: &P, g: &G) -> boolwhere
P: Point,
G: Geometry,
G::Kind: WithinStrategyForKind,
<G::Kind as WithinStrategyForKind>::S: WithinStrategy<P, G>,Expand description
true iff p lies in the strict interior or on the boundary
of g.
Mirrors boost::geometry::covered_by(p, g) from
boost/geometry/algorithms/covered_by.hpp. Same dispatch story as
within; the per-geometry impls differ only in how they treat
“result code 0” (boundary) — see the result-code table in
geometry_strategy::within.