pub struct RelativePoseEstimate { /* private fields */ }Expand description
Essential-matrix pose disambiguation and per-correspondence triangulation.
Implementations§
Source§impl RelativePoseEstimate
impl RelativePoseEstimate
Sourcepub const fn pose(&self) -> RelativePose
pub const fn pose(&self) -> RelativePose
Returns the selected source-to-target pose.
Sourcepub fn points(&self) -> &[Option<TriangulatedPoint>]
pub fn points(&self) -> &[Option<TriangulatedPoint>]
Returns one optional triangulation per input correspondence.
Sourcepub const fn positive_depth_count(&self) -> usize
pub const fn positive_depth_count(&self) -> usize
Returns the number of points in front of both cameras.
Trait Implementations§
Source§impl Clone for RelativePoseEstimate
impl Clone for RelativePoseEstimate
Source§fn clone(&self) -> RelativePoseEstimate
fn clone(&self) -> RelativePoseEstimate
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 RelativePoseEstimate
impl Debug for RelativePoseEstimate
Source§impl PartialEq for RelativePoseEstimate
impl PartialEq for RelativePoseEstimate
Source§fn eq(&self, other: &RelativePoseEstimate) -> bool
fn eq(&self, other: &RelativePoseEstimate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RelativePoseEstimate
Auto Trait Implementations§
impl Freeze for RelativePoseEstimate
impl RefUnwindSafe for RelativePoseEstimate
impl Send for RelativePoseEstimate
impl Sync for RelativePoseEstimate
impl Unpin for RelativePoseEstimate
impl UnsafeUnpin for RelativePoseEstimate
impl UnwindSafe for RelativePoseEstimate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more