pub struct RansacCylinderSegmenter { /* private fields */ }Expand description
RANSAC cylinder segmenter. The input cloud must carry normals.
Implementations§
Source§impl RansacCylinderSegmenter
impl RansacCylinderSegmenter
Sourcepub const fn new(config: RansacPrimitiveConfig) -> Self
pub const fn new(config: RansacPrimitiveConfig) -> Self
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,
) -> SpatialResult<PrimitiveSegmentation<CylinderModel>>
pub fn segment( &self, input: &PointCloud, ) -> SpatialResult<PrimitiveSegmentation<CylinderModel>>
Fits the dominant cylinder and partitions the cloud.
Trait Implementations§
Source§impl Clone for RansacCylinderSegmenter
impl Clone for RansacCylinderSegmenter
Source§fn clone(&self) -> RansacCylinderSegmenter
fn clone(&self) -> RansacCylinderSegmenter
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 RansacCylinderSegmenter
impl Debug for RansacCylinderSegmenter
Source§impl PartialEq for RansacCylinderSegmenter
impl PartialEq for RansacCylinderSegmenter
impl Copy for RansacCylinderSegmenter
impl StructuralPartialEq for RansacCylinderSegmenter
Auto Trait Implementations§
impl Freeze for RansacCylinderSegmenter
impl RefUnwindSafe for RansacCylinderSegmenter
impl Send for RansacCylinderSegmenter
impl Sync for RansacCylinderSegmenter
impl Unpin for RansacCylinderSegmenter
impl UnsafeUnpin for RansacCylinderSegmenter
impl UnwindSafe for RansacCylinderSegmenter
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