pub struct BoundaryDetector { /* private fields */ }Expand description
Tangent-plane boundary point detector. The input cloud must carry normals.
Implementations§
Source§impl BoundaryDetector
impl BoundaryDetector
Sourcepub const fn new(config: BoundaryConfig) -> Self
pub const fn new(config: BoundaryConfig) -> Self
Creates a detector from config.
Sourcepub const fn config(&self) -> BoundaryConfig
pub const fn config(&self) -> BoundaryConfig
Returns the detector config.
Sourcepub fn boundary_mask(&self, input: &PointCloud) -> SpatialResult<Vec<bool>>
pub fn boundary_mask(&self, input: &PointCloud) -> SpatialResult<Vec<bool>>
Computes the per-point boundary mask (true = boundary).
Sourcepub fn detect(&self, input: &PointCloud) -> SpatialResult<BoundaryResult>
pub fn detect(&self, input: &PointCloud) -> SpatialResult<BoundaryResult>
Detects boundary points, returning their indices and a sub-cloud.
Trait Implementations§
Source§impl Clone for BoundaryDetector
impl Clone for BoundaryDetector
Source§fn clone(&self) -> BoundaryDetector
fn clone(&self) -> BoundaryDetector
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 BoundaryDetector
impl Debug for BoundaryDetector
Source§impl PartialEq for BoundaryDetector
impl PartialEq for BoundaryDetector
impl Copy for BoundaryDetector
impl StructuralPartialEq for BoundaryDetector
Auto Trait Implementations§
impl Freeze for BoundaryDetector
impl RefUnwindSafe for BoundaryDetector
impl Send for BoundaryDetector
impl Sync for BoundaryDetector
impl Unpin for BoundaryDetector
impl UnsafeUnpin for BoundaryDetector
impl UnwindSafe for BoundaryDetector
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