pub struct IcpOptions {
pub max_iterations: usize,
pub tolerance: f64,
pub overlap: f64,
pub max_distance: f32,
}Expand description
Options for icp().
Fields§
§max_iterations: usizeThe most steps to take. Zero evaluates the initial transform only. Default 50.
tolerance: f64Stops when one step moves every point by at most this fraction of the
points’ extent (their largest distance from their centroid). Zero or
greater. Default 1e-6.
overlap: f64The fraction of the points expected to lie over the fixed mesh, in
(0, 1]: each iteration uses that many of them, closest first. Set it
a little below the true overlap for partial scans. Default 1 (every
point counts, so nothing is rejected).
max_distance: f32Points farther than this from the fixed mesh are not used. Positive.
Default f32::INFINITY.
Trait Implementations§
Source§impl Clone for IcpOptions
impl Clone for IcpOptions
Source§fn clone(&self) -> IcpOptions
fn clone(&self) -> IcpOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IcpOptions
Source§impl Debug for IcpOptions
impl Debug for IcpOptions
Source§impl Default for IcpOptions
impl Default for IcpOptions
Source§impl PartialEq for IcpOptions
impl PartialEq for IcpOptions
impl StructuralPartialEq for IcpOptions
Auto Trait Implementations§
impl Freeze for IcpOptions
impl RefUnwindSafe for IcpOptions
impl Send for IcpOptions
impl Sync for IcpOptions
impl Unpin for IcpOptions
impl UnsafeUnpin for IcpOptions
impl UnwindSafe for IcpOptions
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