[][src]Type Definition building_blocks_core::point3::Point3

type Point3<T> = PointN<[T; 3]>;

A 3-dimensional point with scalar type T.

Implementations

impl<T> Point3<T>[src]

pub fn x_mut(&mut self) -> &mut T[src]

pub fn y_mut(&mut self) -> &mut T[src]

pub fn z_mut(&mut self) -> &mut T[src]

impl<T> Point3<T> where
    T: Copy
[src]

pub fn x(&self) -> T[src]

pub fn y(&self) -> T[src]

pub fn z(&self) -> T[src]

pub fn xy(&self) -> Point2<T>[src]

pub fn yx(&self) -> Point2<T>[src]

pub fn yz(&self) -> Point2<T>[src]

pub fn zy(&self) -> Point2<T>[src]

pub fn zx(&self) -> Point2<T>[src]

pub fn xz(&self) -> Point2<T>[src]

pub fn yzx(&self) -> Point3<T>[src]

pub fn zxy(&self) -> Point3<T>[src]

pub fn zyx(&self) -> Point3<T>[src]

impl<T> Point3<T> where
    T: Copy + Mul<Output = T> + Sub<Output = T>, 
[src]

pub fn cross(&self, other: &Self) -> Self[src]

impl<T> Point3<T> where
    T: Copy + Integer
[src]

pub fn vector_div_floor(&self, rhs: &Self) -> Self[src]

pub fn scalar_div_floor(&self, rhs: T) -> Self[src]

Trait Implementations

impl<T> Bounded for Point3<T> where
    T: Bounded
[src]

impl<T> Distance for Point3<T> where
    T: Copy + Signed + Add<Output = T> + Pow<u16, Output = T>,
    Point3<T>: Point<Scalar = T>, 
[src]

impl<T> DotProduct for Point3<T> where
    T: Copy + Add<Output = T> + Mul<Output = T>, 
[src]

type Scalar = T

impl<T> Mul<PointN<[T; 3]>> for Point3<T> where
    T: Copy + Mul<Output = T>, 
[src]

type Output = Self

The resulting type after applying the * operator.

impl<T> Mul<T> for Point3<T> where
    T: Copy + Mul<Output = T>, 
[src]

type Output = Self

The resulting type after applying the * operator.

impl<T> Ones for Point3<T> where
    T: SmallOne
[src]

impl<T> PartialOrd<PointN<[T; 3]>> for Point3<T> where
    T: Copy + PartialOrd
[src]

impl<T> SmallZero for Point3<T> where
    T: SmallZero
[src]