Struct rust_3d::filters::FilterOutlier3D
[−]
[src]
pub struct FilterOutlier3D<P> where
P: Is3D, { /* fields omitted */ }
FilterOutlier3D, a filter which removes outliers by counting their neighbours in a search radius This can be used to compare two sets of points by removing those in A which aren't close enough to B Or to remove outliers within a single set For this use the same input to build this filter as to filter against Points will find themselves, so increase the required count by 1
Methods
impl<P> FilterOutlier3D<P> where
P: Is3D + Clone + Default,
[src]
P: Is3D + Clone + Default,
fn new(
pc: PointCloud3D<P>,
search_distance: Positive,
min_neighbours: usize
) -> Result<Self>
pc: PointCloud3D<P>,
search_distance: Positive,
min_neighbours: usize
) -> Result<Self>
Creates a new FilterOutlier3D from a search distance and the min number of neighbours to be found in this distance
Trait Implementations
impl<P: Debug> Debug for FilterOutlier3D<P> where
P: Is3D,
[src]
P: Is3D,
impl<P: PartialEq> PartialEq for FilterOutlier3D<P> where
P: Is3D,
[src]
P: Is3D,
fn eq(&self, __arg_0: &FilterOutlier3D<P>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FilterOutlier3D<P>) -> bool
This method tests for !=
.
impl<P: PartialOrd> PartialOrd for FilterOutlier3D<P> where
P: Is3D,
[src]
P: Is3D,
fn partial_cmp(&self, __arg_0: &FilterOutlier3D<P>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &FilterOutlier3D<P>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &FilterOutlier3D<P>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &FilterOutlier3D<P>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &FilterOutlier3D<P>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<P: Default> Default for FilterOutlier3D<P> where
P: Is3D,
[src]
P: Is3D,
fn default() -> FilterOutlier3D<P>
Returns the "default value" for a type. Read more
impl<P: Clone> Clone for FilterOutlier3D<P> where
P: Is3D,
[src]
P: Is3D,
fn clone(&self) -> FilterOutlier3D<P>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<P> IsFilter<P> for FilterOutlier3D<P> where
P: Is3D + Clone,
[src]
P: Is3D + Clone,
fn is_allowed(&self, p: &P) -> bool
Should return true if a it passes the filter, otherwise false