Trait rust_3d::traits::IsTree3D [] [src]

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

Should return the number of elements within the tree

Should return all positions within the tree as point cloud

Should create a new tree from a given point cloud

Implementors