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]

[src]

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]

[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]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<S: PartialOrd, P: PartialOrd> PartialOrd for FilterOutlier3D<S, P> where
    P: Is3D,
    S: IsSphereSearchable<P>, 
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[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]

[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]

[src]

Returns a copy of the value. Read more

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]

[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]

[src]

Should scale by the given factor. 0.5 -> half size, 2.0 double the size without moving the position/center

Auto Trait Implementations

impl<S, P> Send for FilterOutlier3D<S, P> where
    P: Send,
    S: Send

impl<S, P> Sync for FilterOutlier3D<S, P> where
    P: Sync,
    S: Sync