pub struct RansacPlaneSegmenter { /* private fields */ }Expand description
RANSAC-based dominant plane segmenter.
Implementations§
Source§impl RansacPlaneSegmenter
impl RansacPlaneSegmenter
Sourcepub const fn new(config: RansacPlaneConfig) -> RansacPlaneSegmenter
pub const fn new(config: RansacPlaneConfig) -> RansacPlaneSegmenter
Creates a segmenter from config.
Sourcepub const fn config(&self) -> RansacPlaneConfig
pub const fn config(&self) -> RansacPlaneConfig
Returns the segmenter config.
Sourcepub fn segment(
&self,
input: &PointCloud,
) -> Result<RansacPlaneSegmentation, SpatialError>
pub fn segment( &self, input: &PointCloud, ) -> Result<RansacPlaneSegmentation, SpatialError>
Segments the dominant plane and returns inlier/outlier clouds.
Sourcepub fn extract_outliers(
&self,
input: &PointCloud,
) -> Result<PointCloud, SpatialError>
pub fn extract_outliers( &self, input: &PointCloud, ) -> Result<PointCloud, SpatialError>
Returns only the outlier cloud after removing the dominant plane.
Trait Implementations§
Source§impl Clone for RansacPlaneSegmenter
impl Clone for RansacPlaneSegmenter
Source§fn clone(&self) -> RansacPlaneSegmenter
fn clone(&self) -> RansacPlaneSegmenter
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 RansacPlaneSegmenter
impl Debug for RansacPlaneSegmenter
Source§impl PartialEq for RansacPlaneSegmenter
impl PartialEq for RansacPlaneSegmenter
impl Copy for RansacPlaneSegmenter
impl StructuralPartialEq for RansacPlaneSegmenter
Auto Trait Implementations§
impl Freeze for RansacPlaneSegmenter
impl RefUnwindSafe for RansacPlaneSegmenter
impl Send for RansacPlaneSegmenter
impl Sync for RansacPlaneSegmenter
impl Unpin for RansacPlaneSegmenter
impl UnsafeUnpin for RansacPlaneSegmenter
impl UnwindSafe for RansacPlaneSegmenter
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