pub fn assign_values<P: PointMut>(p: &mut P, values: &[P::Scalar])Expand description
Write values[D] to p.set::<D>(values[D]) for every dimension
D in 0..P::DIM.
Mirrors boost::geometry::assign_values(p, v...) from
boost/geometry/algorithms/assign.hpp.
§Panics
Panics if values.len() < P::DIM. The bound is checked at
runtime — Boost relies on the variadic arity matching DIM at
compile time via SFINAE, a guarantee the slice signature trades
away for arity-agnostic ergonomics.