Point1 in nalgebra::geometry - Rust
Description: A statically sized 1-dimensional column point.
Keywords: rust, rustlang, rust-lang, Point1

# Type Definition nalgebra::geometry::Point1

source ·

    pub 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§

source§

### impl<T: Scalar> Point1<T>

#### Construction from individual components

source

#### pub const fn new(x: T) -> Self

Initializes this point from its components.

##### Example

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