pub struct MultiPlaneConfig {
pub max_planes: usize,
pub distance_threshold: f32,
pub min_inliers: usize,
pub max_iterations: usize,
pub seed: u64,
}Expand description
Configuration for MultiPlaneSegmenter.
Fields§
§max_planes: usizeMaximum number of planes to extract.
distance_threshold: f32Maximum distance from a plane for inlier classification.
min_inliers: usizeMinimum inliers to accept a plane; extraction stops below this.
max_iterations: usizeRANSAC iterations per plane.
seed: u64Seed for deterministic sampling.
Implementations§
Source§impl MultiPlaneConfig
impl MultiPlaneConfig
Sourcepub const fn new(max_planes: usize, distance_threshold: f32) -> MultiPlaneConfig
pub const fn new(max_planes: usize, distance_threshold: f32) -> MultiPlaneConfig
Creates a config from the plane count and distance threshold.
Trait Implementations§
Source§impl Clone for MultiPlaneConfig
impl Clone for MultiPlaneConfig
Source§fn clone(&self) -> MultiPlaneConfig
fn clone(&self) -> MultiPlaneConfig
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 MultiPlaneConfig
impl Debug for MultiPlaneConfig
Source§impl Default for MultiPlaneConfig
impl Default for MultiPlaneConfig
Source§fn default() -> MultiPlaneConfig
fn default() -> MultiPlaneConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for MultiPlaneConfig
impl PartialEq for MultiPlaneConfig
impl Copy for MultiPlaneConfig
impl StructuralPartialEq for MultiPlaneConfig
Auto Trait Implementations§
impl Freeze for MultiPlaneConfig
impl RefUnwindSafe for MultiPlaneConfig
impl Send for MultiPlaneConfig
impl Sync for MultiPlaneConfig
impl Unpin for MultiPlaneConfig
impl UnsafeUnpin for MultiPlaneConfig
impl UnwindSafe for MultiPlaneConfig
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