Type Definition na::Point6

source ·
pub type Point6<T> = OPoint<T, Const<6>>;
Expand description

A statically sized 6-dimensional column point.

Because this is an alias, not all its methods are listed here. See the Point type too.

Trait Implementations§

source§

impl<T: Scalar> AsVec<Matrix<T, Const<6>, Const<1>, ArrayStorage<T, 6, 1>>> for Point6<T>

source§

fn as_vec(&self) -> &Vector6<T>

source§

impl<N: BaseNum + RealField> FloatPnt for Point6<N>

source§

fn origin() -> Self

source§

fn distance(&self, b: &Self) -> <Self as NumPnt>::Field

source§

fn distance_squared(&self, b: &Self) -> <Self as NumPnt>::Field

source§

impl<N: BaseNum> NumPnt for Point6<N>

§

type Field = N

§

type Coordinates = Matrix<N, Const<6>, Const<1>, ArrayStorage<N, 6, 1>>

source§

fn coordinates(&self) -> Self::Coordinates

source§

fn from_coordiantes(coords: Self::Coordinates) -> Self

source§

impl<T: Scalar> Swizzles2<T> for Point6<T>

§

type Swizzle2 = OPoint<T, Const<2>>

source§

fn xy(&self) -> Point2<T>

source§

fn yx(&self) -> Point2<T>

source§

impl<T: Scalar> Swizzles2Mut<T> for Point6<T>

source§

fn set_xy(&mut self, right: &Point2<T>)

source§

fn set_yx(&mut self, right: &Point2<T>)

source§

impl<T: Scalar> Swizzles3<T> for Point6<T>

§

type Swizzle3 = OPoint<T, Const<3>>

source§

fn xyz(&self) -> Point3<T>

source§

fn xzy(&self) -> Point3<T>

source§

fn yxz(&self) -> Point3<T>

source§

fn yzx(&self) -> Point3<T>

source§

fn zxy(&self) -> Point3<T>

source§

fn zyx(&self) -> Point3<T>

source§

fn yz(&self) -> Self::Swizzle2

source§

fn xz(&self) -> Self::Swizzle2

source§

fn zy(&self) -> Self::Swizzle2

source§

fn zx(&self) -> Self::Swizzle2

source§

impl<T: Scalar> Swizzles3Mut<T> for Point6<T>

source§

fn set_xyz(&mut self, right: &Point3<T>)

source§

fn set_xzy(&mut self, right: &Point3<T>)

source§

fn set_yxz(&mut self, right: &Point3<T>)

source§

fn set_yzx(&mut self, right: &Point3<T>)

source§

fn set_zxy(&mut self, right: &Point3<T>)

source§

fn set_zyx(&mut self, right: &Point3<T>)

source§

fn set_yz(&mut self, right: &Self::Swizzle2)

source§

fn set_xz(&mut self, right: &Self::Swizzle2)

source§

fn set_zy(&mut self, right: &Self::Swizzle2)

source§

fn set_zx(&mut self, right: &Self::Swizzle2)

source§

impl<T: Scalar> Swizzles4<T> for Point6<T>

§

type Swizzle4 = OPoint<T, Const<4>>

source§

fn xyzw(&self) -> Self::Swizzle4

source§

fn xyw(&self) -> Self::Swizzle3

source§

fn yxw(&self) -> Self::Swizzle3

source§

fn wxy(&self) -> Self::Swizzle3

source§

fn wyx(&self) -> Self::Swizzle3

source§

fn yzw(&self) -> Self::Swizzle3

source§

fn zyw(&self) -> Self::Swizzle3

source§

fn wyz(&self) -> Self::Swizzle3

source§

fn wzy(&self) -> Self::Swizzle3

source§

fn xzw(&self) -> Self::Swizzle3

source§

fn zxw(&self) -> Self::Swizzle3

source§

fn wxz(&self) -> Self::Swizzle3

source§

fn wzx(&self) -> Self::Swizzle3

source§

fn xw(&self) -> Self::Swizzle2

source§

fn yw(&self) -> Self::Swizzle2

source§

fn zw(&self) -> Self::Swizzle2

source§

fn wx(&self) -> Self::Swizzle2

source§

fn wy(&self) -> Self::Swizzle2

source§

fn wz(&self) -> Self::Swizzle2

source§

impl<T: Scalar> Swizzles4Mut<T> for Point6<T>

source§

fn set_xyzw(&mut self, right: &Self::Swizzle4)

source§

fn set_xyw(&mut self, right: &Self::Swizzle3)

source§

fn set_yxw(&mut self, right: &Self::Swizzle3)

source§

fn set_wxy(&mut self, right: &Self::Swizzle3)

source§

fn set_wyx(&mut self, right: &Self::Swizzle3)

source§

fn set_yzw(&mut self, right: &Self::Swizzle3)

source§

fn set_zyw(&mut self, right: &Self::Swizzle3)

source§

fn set_wyz(&mut self, right: &Self::Swizzle3)

source§

fn set_wzy(&mut self, right: &Self::Swizzle3)

source§

fn set_xzw(&mut self, right: &Self::Swizzle3)

source§

fn set_zxw(&mut self, right: &Self::Swizzle3)

source§

fn set_wxz(&mut self, right: &Self::Swizzle3)

source§

fn set_wzx(&mut self, right: &Self::Swizzle3)

source§

fn set_xw(&mut self, right: &Self::Swizzle2)

source§

fn set_yw(&mut self, right: &Self::Swizzle2)

source§

fn set_zw(&mut self, right: &Self::Swizzle2)

source§

fn set_wx(&mut self, right: &Self::Swizzle2)

source§

fn set_wy(&mut self, right: &Self::Swizzle2)

source§

fn set_wz(&mut self, right: &Self::Swizzle2)

source§

impl<T: Scalar> ToVec<Matrix<T, Const<6>, Const<1>, ArrayStorage<T, 6, 1>>> for Point6<T>

source§

fn to_vec(self) -> Vector6<T>