nalgebra/geometry/point_alias.rs
1use crate::geometry::OPoint;
2use crate::Const;
3
4/// A point with `D` elements.
5pub type Point<T, const D: usize> = OPoint<T, Const<D>>;
6
7/// A statically sized 1-dimensional column point.
8///
9/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
10pub type Point1<T> = Point<T, 1>;
11/// A statically sized 2-dimensional column point.
12///
13/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
14pub type Point2<T> = Point<T, 2>;
15/// A statically sized 3-dimensional column point.
16///
17/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
18pub type Point3<T> = Point<T, 3>;
19/// A statically sized 4-dimensional column point.
20///
21/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
22pub type Point4<T> = Point<T, 4>;
23/// A statically sized 5-dimensional column point.
24///
25/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
26pub type Point5<T> = Point<T, 5>;
27/// A statically sized 6-dimensional column point.
28///
29/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
30pub type Point6<T> = Point<T, 6>;