[][src]Trait rust_3d::IsTree3D

pub trait IsTree3D<P> where
    P: Is3D
{ fn size(&self) -> usize;
fn to_pointcloud(&self) -> PointCloud3D<P>;
fn build(&mut self, pc: PointCloud3D<P>) -> Result<()>; }

IsTree3D is a trait used for types which are any type of tree within 3D space

Required methods

fn size(&self) -> usize

Should return the number of elements within the tree

fn to_pointcloud(&self) -> PointCloud3D<P>

Should return all positions within the tree as point cloud

fn build(&mut self, pc: PointCloud3D<P>) -> Result<()>

Should create a new tree from a given point cloud

Loading content...

Implementors

impl<P> IsTree3D<P> for KdTree<P> where
    P: Is3D + Clone
[src]

impl<P> IsTree3D<P> for OcTree<P> where
    P: IsBuildable3D + Clone + Default
[src]

Loading content...