Type Definition na::Point1

source ·
pub type Point1<T> = OPoint<T, Const<1>>;
Expand description

A statically sized 1-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<1>, Const<1>, ArrayStorage<T, 1, 1>>> for Point1<T>

source§

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

source§

impl<N: BaseNum + RealField> FloatPnt for Point1<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 Point1<N>

§

type Field = N

§

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

source§

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

source§

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

source§

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

source§

fn to_vec(self) -> Vector1<T>