pub struct MlsSmoothing { /* private fields */ }Expand description
Moving Least Squares smoothing filter.
Implementations§
Source§impl MlsSmoothing
impl MlsSmoothing
Sourcepub const fn new(config: MlsConfig) -> MlsSmoothing
pub const fn new(config: MlsConfig) -> MlsSmoothing
Creates a smoother from config.
Sourcepub fn smoothed_positions(
&self,
input: &PointCloud,
) -> Result<Vec<Vec3<f32>>, SpatialError>
pub fn smoothed_positions( &self, input: &PointCloud, ) -> Result<Vec<Vec3<f32>>, SpatialError>
Returns the smoothed XYZ positions, one per input point.
Trait Implementations§
Source§impl Clone for MlsSmoothing
impl Clone for MlsSmoothing
Source§fn clone(&self) -> MlsSmoothing
fn clone(&self) -> MlsSmoothing
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MlsSmoothing
impl Debug for MlsSmoothing
Source§impl PartialEq for MlsSmoothing
impl PartialEq for MlsSmoothing
Source§impl PointCloudFilter for MlsSmoothing
impl PointCloudFilter for MlsSmoothing
Source§fn filter(&self, input: &PointCloud) -> Result<PointCloud, SpatialError>
fn filter(&self, input: &PointCloud) -> Result<PointCloud, SpatialError>
Applies the filter and returns a new point cloud.
impl Copy for MlsSmoothing
impl StructuralPartialEq for MlsSmoothing
Auto Trait Implementations§
impl Freeze for MlsSmoothing
impl RefUnwindSafe for MlsSmoothing
impl Send for MlsSmoothing
impl Sync for MlsSmoothing
impl Unpin for MlsSmoothing
impl UnsafeUnpin for MlsSmoothing
impl UnwindSafe for MlsSmoothing
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more