#[repr(C)]pub struct GpuPlaneScore {
pub inlier_count: u32,
pub normal: [f32; 3],
pub d: f32,
}Expand description
GPU score for one RANSAC plane hypothesis.
Fields§
§inlier_count: u32Number of inlier points for this hypothesis.
normal: [f32; 3]Unit plane normal (nx, ny, nz).
d: f32Plane offset term in Hessian form.
Trait Implementations§
Source§impl Clone for GpuPlaneScore
impl Clone for GpuPlaneScore
Source§fn clone(&self) -> GpuPlaneScore
fn clone(&self) -> GpuPlaneScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GpuPlaneScore
impl Debug for GpuPlaneScore
impl Copy for GpuPlaneScore
impl Pod for GpuPlaneScore
Auto Trait Implementations§
impl Freeze for GpuPlaneScore
impl RefUnwindSafe for GpuPlaneScore
impl Send for GpuPlaneScore
impl Sync for GpuPlaneScore
impl Unpin for GpuPlaneScore
impl UnsafeUnpin for GpuPlaneScore
impl UnwindSafe for GpuPlaneScore
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.