pub trait VecFloatAs3D { fn as_3d(&self) -> &[[f64; 3]]; fn as_mut_3d(&mut self) -> &mut [[f64; 3]]; }
View a flat slice as nested 3D array
if the slice size is incorrect.
View &[f64] as &[[f64; 3]] without copying.
&[f64]
&[[f64; 3]]
View &mut [f64] as &mut [[f64; 3]] without copying.
&mut [f64]
&mut [[f64; 3]]