[−][src]Trait rust_3d::IsSortableND
IsSortableND trait used for collections which can be sorted by certain dimensions. E.g. x,y,z
Required methods
fn n_dimensions() -> usize where
Self: Sized,
Self: Sized,
Should return the number of dimensions. E.g. 2 for 2D space, 3 for 3D space etc.
fn sort_dim(&mut self, dimension: usize) -> Result<()>
Should sort all elements by the given dimension
Implementors
impl<P> IsSortableND for PointCloud2D<P> where
P: Is2D,
[src]
P: Is2D,
impl<P> IsSortableND for PointCloud3D<P> where
P: Is3D,
[src]
P: Is3D,