Struct rust_3d::filters::FilterOutlier3D
[−]
[src]
pub struct FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>, { /* 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<S, P> FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,
[src]
P: Is3D,
S: IsSphereSearchable<P>,
pub fn new(
searchable: S,
search_distance: Positive,
min_neighbours: usize
) -> Result<Self>
[src]
searchable: S,
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<S: Debug, P: Debug> Debug for FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,
[src]
P: Is3D,
S: IsSphereSearchable<P>,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<S: PartialEq, P: PartialEq> PartialEq for FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,
[src]
P: Is3D,
S: IsSphereSearchable<P>,
fn eq(&self, __arg_0: &FilterOutlier3D<S, P>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FilterOutlier3D<S, P>) -> bool
[src]
This method tests for !=
.
impl<S: PartialOrd, P: PartialOrd> PartialOrd for FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,
[src]
P: Is3D,
S: IsSphereSearchable<P>,
fn partial_cmp(&self, __arg_0: &FilterOutlier3D<S, P>) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &FilterOutlier3D<S, P>) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &FilterOutlier3D<S, P>) -> bool
[src]
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<S, P>) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &FilterOutlier3D<S, P>) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<S: Default, P: Default> Default for FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,
[src]
P: Is3D,
S: IsSphereSearchable<P>,
fn default() -> FilterOutlier3D<S, P>
[src]
Returns the "default value" for a type. Read more
impl<S: Clone, P: Clone> Clone for FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,
[src]
P: Is3D,
S: IsSphereSearchable<P>,
fn clone(&self) -> FilterOutlier3D<S, P>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S, P, PSearch> IsFilter<PSearch> for FilterOutlier3D<S, P> where
P: Is3D,
PSearch: Is3D,
S: IsSphereSearchable<P>,
[src]
P: Is3D,
PSearch: Is3D,
S: IsSphereSearchable<P>,
fn is_allowed(&self, p: &PSearch) -> bool
[src]
Should return true if a it passes the filter, otherwise false
impl<S, P> IsScalable for FilterOutlier3D<S, P> where
P: Is3D,
S: IsSphereSearchable<P>,
[src]
P: Is3D,
S: IsSphereSearchable<P>,
Auto Trait Implementations
impl<S, P> Send for FilterOutlier3D<S, P> where
P: Send,
S: Send,
P: Send,
S: Send,
impl<S, P> Sync for FilterOutlier3D<S, P> where
P: Sync,
S: Sync,
P: Sync,
S: Sync,