pub struct RansacSphereSegmenter { /* private fields */ }Expand description
RANSAC sphere segmenter.
Implementations§
Source§impl RansacSphereSegmenter
impl RansacSphereSegmenter
Sourcepub const fn new(config: RansacPrimitiveConfig) -> RansacSphereSegmenter
pub const fn new(config: RansacPrimitiveConfig) -> RansacSphereSegmenter
Creates a segmenter from config.
Sourcepub const fn config(&self) -> RansacPrimitiveConfig
pub const fn config(&self) -> RansacPrimitiveConfig
Returns the segmenter config.
Sourcepub fn segment(
&self,
input: &PointCloud,
) -> Result<PrimitiveSegmentation<SphereModel>, SpatialError>
pub fn segment( &self, input: &PointCloud, ) -> Result<PrimitiveSegmentation<SphereModel>, SpatialError>
Fits the dominant sphere and partitions the cloud.
Trait Implementations§
Source§impl Clone for RansacSphereSegmenter
impl Clone for RansacSphereSegmenter
Source§fn clone(&self) -> RansacSphereSegmenter
fn clone(&self) -> RansacSphereSegmenter
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 RansacSphereSegmenter
impl Debug for RansacSphereSegmenter
Source§impl PartialEq for RansacSphereSegmenter
impl PartialEq for RansacSphereSegmenter
impl Copy for RansacSphereSegmenter
impl StructuralPartialEq for RansacSphereSegmenter
Auto Trait Implementations§
impl Freeze for RansacSphereSegmenter
impl RefUnwindSafe for RansacSphereSegmenter
impl Send for RansacSphereSegmenter
impl Sync for RansacSphereSegmenter
impl Unpin for RansacSphereSegmenter
impl UnsafeUnpin for RansacSphereSegmenter
impl UnwindSafe for RansacSphereSegmenter
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