pub struct GroundSegmenter { /* private fields */ }Expand description
Grid-based ground segmenter.
Implementations§
Source§impl GroundSegmenter
impl GroundSegmenter
Sourcepub const fn new(config: GroundConfig) -> Self
pub const fn new(config: GroundConfig) -> Self
Creates a segmenter from config.
Sourcepub const fn config(&self) -> GroundConfig
pub const fn config(&self) -> GroundConfig
Returns the segmenter config.
Sourcepub fn ground_mask(&self, input: &PointCloud) -> SpatialResult<Vec<bool>>
pub fn ground_mask(&self, input: &PointCloud) -> SpatialResult<Vec<bool>>
Computes the per-point ground mask (true = ground).
Sourcepub fn segment(&self, input: &PointCloud) -> SpatialResult<GroundSegmentation>
pub fn segment(&self, input: &PointCloud) -> SpatialResult<GroundSegmentation>
Segments the cloud into ground and non-ground partitions.
Trait Implementations§
Source§impl Clone for GroundSegmenter
impl Clone for GroundSegmenter
Source§fn clone(&self) -> GroundSegmenter
fn clone(&self) -> GroundSegmenter
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 GroundSegmenter
impl Debug for GroundSegmenter
Source§impl PartialEq for GroundSegmenter
impl PartialEq for GroundSegmenter
impl Copy for GroundSegmenter
impl StructuralPartialEq for GroundSegmenter
Auto Trait Implementations§
impl Freeze for GroundSegmenter
impl RefUnwindSafe for GroundSegmenter
impl Send for GroundSegmenter
impl Sync for GroundSegmenter
impl Unpin for GroundSegmenter
impl UnsafeUnpin for GroundSegmenter
impl UnwindSafe for GroundSegmenter
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