Struct dlt::CorrespondingPoint
source · pub struct CorrespondingPoint<R: RealField> {
pub object_point: [R; 3],
pub image_point: [R; 2],
}
Expand description
A point with a view in image (2D) and world (3D) coordinates.
Used by the dlt_corresponding
function as a
convenience compared to calling the dlt
function directly.
Fields§
§object_point: [R; 3]
the location of the point in 3D world coordinates
image_point: [R; 2]
the location of the point in 2D pixel coordinates
Trait Implementations§
source§impl<'de, R> Deserialize<'de> for CorrespondingPoint<R>where
R: Deserialize<'de> + RealField,
impl<'de, R> Deserialize<'de> for CorrespondingPoint<R>where
R: Deserialize<'de> + RealField,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<R> Freeze for CorrespondingPoint<R>where
R: Freeze,
impl<R> RefUnwindSafe for CorrespondingPoint<R>where
R: RefUnwindSafe,
impl<R> Send for CorrespondingPoint<R>
impl<R> Sync for CorrespondingPoint<R>
impl<R> Unpin for CorrespondingPoint<R>where
R: Unpin,
impl<R> UnwindSafe for CorrespondingPoint<R>where
R: UnwindSafe,
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.