pub fn within_dyn<S, Cs>(
a: &DynGeometry<S, Cs>,
b: &DynGeometry<S, Cs>,
) -> Result<bool, DynKindMismatch>where
S: CoordinateScalar,
Cs: CoordinateSystem,
Cs::Family: SameAs<CartesianFamily>,
<PolygonTag as WithinStrategyForKind>::S: WithinStrategy<Point<S, 2, Cs>, Polygon<Point<S, 2, Cs>>>,Expand description
Runtime-dispatched point-in-polygon.
Returns Ok(true/false) for (Point, Polygon).
§Errors
Returns Err(DynKindMismatch) for every other kind combination.