Skip to main content

PointCloudRegistration

Trait PointCloudRegistration 

pub trait PointCloudRegistration {
    // Required methods
    fn name(&self) -> &'static str;
    fn align(
        &self,
        source: &PointCloud,
        target: &PointCloud,
    ) -> Result<RegistrationResult, SpatialError>;
}
Expand description

Common trait for point cloud registration algorithms.

Required Methods§

fn name(&self) -> &'static str

Human-readable registration algorithm name.

fn align( &self, source: &PointCloud, target: &PointCloud, ) -> Result<RegistrationResult, SpatialError>

Aligns source to target and returns the estimated transform.

Implementors§