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

type Point1<N> = Point<N, U1>;

A statically sized 1-dimensional column point.

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

Implementations

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

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

Initializes this point from its components.

Example

let p = Point1::new(1.0);
assert_eq!(p.x, 1.0);

Trait Implementations

impl<N: Scalar> From<[N; 1]> for Point1<N>[src]