[−][src]Trait pointcloud::PointRef
A trait to ensure that we can create matrices and statiscial vectors from your point reference.
See crate::points for some pre-baked implementations.
Associated Types
Loading content...Required methods
pub fn dense_iter(&self) -> Self::DenseIter[src]
The actual call to the dense iterator that PointCloud uses.
Provided methods
pub fn dense(&self) -> Vec<f32>[src]
provided because this could be faster than iteration (for example a memcpy).
Implementations on Foreign Types
impl<'a> PointRef for &'a [f32][src]
type DenseIter = Copied<Iter<'a, f32>>
pub fn dense(&self) -> Vec<f32>[src]
pub fn dense_iter(&self) -> Self::DenseIter[src]
Implementors
impl<'a, S> PointRef for SparseRef<'a, f32, S> where
S: TryInto<usize> + Ord + TryFrom<usize> + Debug + Copy + Send + Sync + 'static, [src]
S: TryInto<usize> + Ord + TryFrom<usize> + Debug + Copy + Send + Sync + 'static,