Type Definition nalgebra::geometry::Point5[][src]

type Point5<N> = Point<N, U5>;

A statically sized 5-dimensional column point.

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

Implementations

impl<N: Scalar> Point5<N>[src]

pub fn new(x: N, y: N, z: N, w: N, a: N) -> Self[src]

Initializes this point from its components.

Example

let p = Point5::new(1.0, 2.0, 3.0, 4.0, 5.0);
assert!(p.x == 1.0 && p.y == 2.0 && p.z == 3.0 && p.w == 4.0 && p.a == 5.0);

Trait Implementations

impl<N: Scalar> From<[N; 5]> for Point5<N>[src]