pub trait IsTree3D<P>where
P: Is3D,{
// Required methods
fn size(&self) -> usize;
fn to_pointcloud(&self) -> PointCloud3D<P>;
fn build(&mut self, pc: PointCloud3D<P>) -> Result<()>;
}
Expand description
IsTree3D is a trait used for types which are any type of tree within 3D space
Required Methods§
Sourcefn to_pointcloud(&self) -> PointCloud3D<P>
fn to_pointcloud(&self) -> PointCloud3D<P>
Should return all positions within the tree as point cloud
Sourcefn build(&mut self, pc: PointCloud3D<P>) -> Result<()>
fn build(&mut self, pc: PointCloud3D<P>) -> Result<()>
Should create a new tree from a given point cloud