[−][src]Struct opencv::core::Point3_
Fields
x: T
y: T
z: T
Implementations
impl<T: ValidPoint3Type> Point3_<T>
[src]
pub fn new(x: T, y: T, z: T) -> Self
[src]
pub fn from_vec3(vec: Vec3<T>) -> Self where
T: ValidVecType,
[src]
T: ValidVecType,
pub fn from_point(pt: Point_<T>) -> Self where
T: ValidPointType + Zero,
[src]
T: ValidPointType + Zero,
pub fn cross(self, pt: Point3_<T>) -> Point3_<T>
[src]
pub fn dot(self, pt: Point3_<T>) -> T
[src]
pub fn ddot(self, pt: Point3_<T>) -> f64 where
f64: From<T>,
[src]
f64: From<T>,
pub fn norm(self) -> f64 where
f64: From<T>,
[src]
f64: From<T>,
pub fn to<D: ValidPoint3Type + NumCast>(self) -> Option<Point3_<D>> where
T: ToPrimitive,
[src]
T: ToPrimitive,
pub fn to_vec3(&self) -> Vec3<T> where
T: ValidVecType,
[src]
T: ValidVecType,
Trait Implementations
impl<T> Add<Point3_<T>> for Point3_<T> where
T: ValidPoint3Type + AddAssign,
[src]
T: ValidPoint3Type + AddAssign,
type Output = Point3_<T>
The resulting type after applying the +
operator.
fn add(self, rhs: Point3_<T>) -> Self::Output
[src]
impl<T> AddAssign<Point3_<T>> for Point3_<T> where
T: ValidPoint3Type + AddAssign,
[src]
T: ValidPoint3Type + AddAssign,
fn add_assign(&mut self, rhs: Point3_<T>)
[src]
impl<T: Clone + ValidPoint3Type> Clone for Point3_<T>
[src]
impl<T: Copy + ValidPoint3Type> Copy for Point3_<T>
[src]
impl<T: Debug + ValidPoint3Type> Debug for Point3_<T>
[src]
impl<T: Default + ValidPoint3Type> Default for Point3_<T>
[src]
impl<T> Div<T> for Point3_<T> where
T: ValidPoint3Type + DivAssign,
[src]
T: ValidPoint3Type + DivAssign,
type Output = Point3_<T>
The resulting type after applying the /
operator.
fn div(self, rhs: T) -> Self::Output
[src]
impl<T> DivAssign<T> for Point3_<T> where
T: ValidPoint3Type + DivAssign,
[src]
T: ValidPoint3Type + DivAssign,
fn div_assign(&mut self, rhs: T)
[src]
impl<T> Mul<T> for Point3_<T> where
T: ValidPoint3Type + MulAssign,
[src]
T: ValidPoint3Type + MulAssign,
type Output = Point3_<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: T) -> Self::Output
[src]
impl<T> MulAssign<T> for Point3_<T> where
T: ValidPoint3Type + MulAssign,
[src]
T: ValidPoint3Type + MulAssign,
fn mul_assign(&mut self, rhs: T)
[src]
impl<T: PartialEq + ValidPoint3Type> PartialEq<Point3_<T>> for Point3_<T>
[src]
impl<T: PartialOrd + ValidPoint3Type> PartialOrd<Point3_<T>> for Point3_<T>
[src]
fn partial_cmp(&self, other: &Point3_<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &Point3_<T>) -> bool
[src]
fn le(&self, other: &Point3_<T>) -> bool
[src]
fn gt(&self, other: &Point3_<T>) -> bool
[src]
fn ge(&self, other: &Point3_<T>) -> bool
[src]
impl<T: ValidPoint3Type> StructuralPartialEq for Point3_<T>
[src]
impl<T> Sub<Point3_<T>> for Point3_<T> where
T: ValidPoint3Type + SubAssign,
[src]
T: ValidPoint3Type + SubAssign,
type Output = Point3_<T>
The resulting type after applying the -
operator.
fn sub(self, rhs: Point3_<T>) -> Self::Output
[src]
impl<T> SubAssign<Point3_<T>> for Point3_<T> where
T: ValidPoint3Type + SubAssign,
[src]
T: ValidPoint3Type + SubAssign,
fn sub_assign(&mut self, rhs: Point3_<T>)
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Point3_<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Point3_<T> where
T: Send,
T: Send,
impl<T> Sync for Point3_<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Point3_<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Point3_<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,