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

type Point1<T> = Point<T, 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.

Implementations

impl<T> Point1<T>[src]

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

Initializes this point from its components.

Example

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