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

type Point3<N> = Point<N, U3>;

A statically sized 3-dimensional column point.

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

Implementations

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

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

Initializes this point from its components.

Example

let p = Point3::new(1.0, 2.0, 3.0);
assert!(p.x == 1.0 && p.y == 2.0 && p.z == 3.0);

Trait Implementations

impl<N: Scalar> From<[N; 3]> for Point3<N>[src]