[][src]Struct opencv::core::Point3_

#[repr(C)]pub struct Point3_<T: ValidPoint3Type> {
    pub x: T,
    pub y: T,
    pub z: T,
}

Fields

x: Ty: Tz: 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]

pub fn from_point(pt: Point_<T>) -> Self where
    T: ValidPointType + Zero
[src]

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]

pub fn norm(self) -> f64 where
    f64: From<T>, 
[src]

pub fn to<D: ValidPoint3Type + NumCast>(self) -> Option<Point3_<D>> where
    T: ToPrimitive
[src]

pub fn to_vec3(&self) -> Vec3<T> where
    T: ValidVecType
[src]

Trait Implementations

impl<T> Add<Point3_<T>> for Point3_<T> where
    T: ValidPoint3Type + AddAssign
[src]

type Output = Point3_<T>

The resulting type after applying the + operator.

impl<T> AddAssign<Point3_<T>> for Point3_<T> where
    T: ValidPoint3Type + AddAssign
[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]

type Output = Point3_<T>

The resulting type after applying the / operator.

impl<T> DivAssign<T> for Point3_<T> where
    T: ValidPoint3Type + DivAssign
[src]

impl<T> Mul<T> for Point3_<T> where
    T: ValidPoint3Type + MulAssign
[src]

type Output = Point3_<T>

The resulting type after applying the * operator.

impl<T> MulAssign<T> for Point3_<T> where
    T: ValidPoint3Type + MulAssign
[src]

impl<T: PartialEq + ValidPoint3Type> PartialEq<Point3_<T>> for Point3_<T>[src]

impl<T: PartialOrd + ValidPoint3Type> PartialOrd<Point3_<T>> for Point3_<T>[src]

impl<T: ValidPoint3Type> StructuralPartialEq for Point3_<T>[src]

impl<T> Sub<Point3_<T>> for Point3_<T> where
    T: ValidPoint3Type + SubAssign
[src]

type Output = Point3_<T>

The resulting type after applying the - operator.

impl<T> SubAssign<Point3_<T>> for Point3_<T> where
    T: ValidPoint3Type + SubAssign
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Point3_<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Point3_<T> where
    T: Send
[src]

impl<T> Sync for Point3_<T> where
    T: Sync
[src]

impl<T> Unpin for Point3_<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Point3_<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.