Struct IcpConfig
pub struct IcpConfig {
pub max_iterations: usize,
pub max_correspondence_distance: f32,
pub transformation_epsilon: f64,
pub fitness_epsilon: f64,
pub min_correspondences: usize,
pub initial_guess: Isometry3<f32>,
}Expand description
Configuration for point-to-point ICP.
Fields§
§max_iterations: usizeMaximum number of ICP iterations.
max_correspondence_distance: f32Maximum correspondence distance.
transformation_epsilon: f64Stop when the transform update is smaller than this threshold.
fitness_epsilon: f64Stop when fitness improvement is smaller than this threshold.
min_correspondences: usizeMinimum number of correspondences required per iteration.
initial_guess: Isometry3<f32>Initial transform guess mapping source into target frame.
Implementations§
§impl IcpConfig
impl IcpConfig
pub fn with_correspondence_distance(
max_correspondence_distance: f32,
) -> IcpConfig
pub fn with_correspondence_distance( max_correspondence_distance: f32, ) -> IcpConfig
Creates a config with the given correspondence distance.
Trait Implementations§
impl Copy for IcpConfig
impl StructuralPartialEq for IcpConfig
Auto Trait Implementations§
impl Freeze for IcpConfig
impl RefUnwindSafe for IcpConfig
impl Send for IcpConfig
impl Sync for IcpConfig
impl Unpin for IcpConfig
impl UnsafeUnpin for IcpConfig
impl UnwindSafe for IcpConfig
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